gnomAD Variant Frequencies API

Population allele frequencies from gnomAD v4 as flat variant rows: variant id, rsIDs, consequence, HGVS names, allele counts and frequency, homozygotes and frequency per ancestry group.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from gnomad.broadinstitute.org/api

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Geneoptional
Official gene symbol, for example PCSK9 or BRCA1. Optional when variant_id is given.
Example: PCSK9
Variant IDoptional
One variant as chromosome-position-ref-alt (GRCh38), for example 1-55051215-G-GA. When given, only that variant is returned.
Example: 1-55051215-G-GA

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/gnomad-variant-frequencies/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/gnomad-variant-frequencies/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"gene":"PCSK9"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

genetext
Official gene symbol, for example PCSK9 or BRCA1. Optional when variant_id is given.
example: PCSK9
variant_idtext
One variant as chromosome-position-ref-alt (GRCh38), for example 1-55051215-G-GA. When given, only that variant is returned.
example: 1-55051215-G-GA

What's in each record

12 fields: 10 here, 2 technical ones under Technical details.

Basics

  • Gene symbol

    Example PCSK9

  • Rsids

    dbSNP rs identifiers.

    Example rs1209186979

  • Consequence

    Most severe predicted consequence, for example missense_variant.

    Example start_lost

  • Hgvsc

    HGVS coding-DNA name.

    Example c.1A>G

  • Hgvsp

    HGVS protein name.

    Example p.Met1?

  • Allele count

    Number of alleles carrying the variant (exomes and genomes).

    Example 6

  • Allele number

    Number of alleles examined.

    Example 1414526

  • Allele frequency

    allele_count divided by allele_number.

    Example 0.000004

  • Homozygote count

    Number of individuals homozygous for the variant.

    Example 0

  • Population frequencies

    Allele frequency per ancestry group, keyed by group code.

    Example Afr: 0 · Amr: 0 · Asj: 0

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Variant ID id
  • Variant ID variant_idVariant as chromosome-position-ref-alt on GRCh38.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextVariant ID (hidden)3 of 3
variant_idtextVariant ID (hidden)3 of 3
genetextGene symbol3 of 3
rsidslistRsids1 of 3
consequencetextConsequence3 of 3
hgvsctextHgvsc3 of 3
hgvsptextHgvsp3 of 3
allele_countnumberAllele count3 of 3
allele_numbernumberAllele number3 of 3
allele_frequencynumberAllele frequency3 of 3
homozygote_countnumberHomozygote count3 of 3
population_frequenciesgroup of valuesPopulation frequencies3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordGene symbolRsidsConsequenceHgvscHgvspAllele countAllele numberAllele frequencyHomozygote countPopulation frequencies
1PCSK9—start_lostc.1A>Gp.Met1?614145260.0000040Afr: 0 · Amr: 0 · Asj: 0
2PCSK9—start_lostc.1A>Tp.Met1?114145260.0000010Afr: 0 · Amr: 0 · Asj: 0
3PCSK9rs1209186979start_lostc.2T>Cp.Met1?114144660.0000010Afr: 0 · Amr: 0 · Asj: 0

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Give a gene symbol (all its variants, GRCh38, gnomAD v4) or one variant id such as 1-55051215-G-GA. A large gene can have thousands of variants; the most rows per run is 5,000. Variants that change the protein come first, then the rest by position.
  • Exome and genome counts are added together. Population frequencies cover the main ancestry groups (afr, amr, asj, eas, fin, mid, nfe, sas, remaining); sex-specific rows are left out.
  • A gene is read in one large request, so a run on a big gene takes several seconds. The source is rate-limited: runs wait 2 seconds between requests, one at a time across all runs, so keep calls few and cache results.
  • Consequence and HGVS names are those of gnomAD's chosen transcript and can be empty for intergenic or non-coding variants; hgvsp is empty unless the variant changes a protein. Single-variant lookups show the canonical transcript of the gene.
  • gnomAD is open data; cite the gnomAD consortium (Karczewski et al.) when you publish results.

Version history

A run uses the live version unless the request names another one with version.