Hi,

I wanted to query the gnomAD database without having to download and configure the entire data. Is there a way gnomAD provides an API for programmatic access? For example, for a given variant id, I want to retrieve the Total 'Allele Count':

    INPUT: '1-978628-C-T' (or 'rs116586548')
    OUTPUT: 180

i.e. if we query the website ([gnomAD][1]


  [1]: https://gnomad.broadinstitute.org/variant/1-978628-C-T

I have thousands of variants that I want to get the Total Allele Count for, but would prefer not to download the entire dataset.

thanks!
use an API like https://myvariant.info/

    wget -q -O - "http://myvariant.info/v1/variant/rs116586548" H  "accept: application/json"  
    (..)
        "an": {
          "an": 30864,
          "an_afr": 8690,
          "an_amr": 838,
          "an_asj": 302,
          "an_eas": 1622,
          "an_female": 13804,
          "an_fin": 3490,
          "an_male": 17060,
          "an_nfe": 14940,
          "an_oth": 982,
          "an_popmax": 8690,
          "an_raw": 30990
        },
    
    (...)

