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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | Variant ID (hidden) | 3 of 3 |
variant_id | text | Variant ID (hidden) | 3 of 3 |
gene | text | Gene symbol | 3 of 3 |
rsids | list | Rsids | 1 of 3 |
consequence | text | Consequence | 3 of 3 |
hgvsc | text | Hgvsc | 3 of 3 |
hgvsp | text | Hgvsp | 3 of 3 |
allele_count | number | Allele count | 3 of 3 |
allele_number | number | Allele number | 3 of 3 |
allele_frequency | number | Allele frequency | 3 of 3 |
homozygote_count | number | Homozygote count | 3 of 3 |
population_frequencies | group of values | Population frequencies | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Gene symbol | Rsids | Consequence | Hgvsc | Hgvsp | Allele count | Allele number | Allele frequency | Homozygote count | Population frequencies |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | PCSK9 | — | start_lost | c.1A>G | p.Met1? | 6 | 1414526 | 0.000004 | 0 | Afr: 0 · Amr: 0 · Asj: 0 |
| 2 | PCSK9 | — | start_lost | c.1A>T | p.Met1? | 1 | 1414526 | 0.000001 | 0 | Afr: 0 · Amr: 0 · Asj: 0 |
| 3 | PCSK9 | rs1209186979 | start_lost | c.2T>C | p.Met1? | 1 | 1414466 | 0.000001 | 0 | Afr: 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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.