Skip to content

Core Endpoints ​

Query individual variants by canonical allele ID, HGVS expression, or external record ID. GET requests are read-only and do not require a payload.

MethodEndpointDescription
GET/allele/{CAid}Get a nucleotide variant by CA ID.
GET/allele/{PAid}Get a protein variant by PA ID.
GET/allele?hgvs={hgvs}Get a variant by HGVS expression.
GET/alleles?{source}={id}Find variants by an external record ID.

For gene and region queries, see Additional Endpoints. For file uploads and registration, see Batch Requests.

Query by CA or PA ID ​

Returns a single variant with the specified ID, if it exists.

bash
curl -X GET "https://reg.genome.network/allele/CA321211"
bash
curl -X GET "https://reg.genome.network/allele/PA321212"

Query by HGVS ​

Returns a single variant matching the HGVS expression, if it exists.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T"
bash
curl -X GET "https://reg.genome.network/allele?hgvs=NP_002487.1:p.Pro22Ser"
bash
curl -X GET "https://reg.genome.network/allele?hgvs=NC_000011.10:g.68032291C>T"

Response fields ​

Use the fields query parameter to select fields in the JSON response. Start with none or all, then add fields with + or remove them with -.

Returns an empty JSON object.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=none"

Returns only the CA or PA ID.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=none+@id"

Returns only the CA or PA ID.

bash
curl -X GET "https://reg.genome.network/allele/CA321211?fields=none+@id"

Returns only the CA or PA ID and community standard title.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=none+@id+communityStandardTitle"

Returns all standard fields.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=all"

Returns all standard fields except CA or PA ID and community standard title.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=all-@id-communityStandardTitle"

Nested fields can be selected using dot notation:

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=none+transcriptAlleles.MANE.protein.RefSeq.hgvs"
bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_002496.4:c.64C>T&fields=none+transcriptAlleles.@id"

externalSources is omitted by default for performance reasons. Request it explicitly when needed.

Returns all standard fields and externalSources.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_174878.3:c.528T>G&fields=all"

Returns only externalSources.

bash
curl -X GET "https://reg.genome.network/allele?hgvs=NM_174878.3:c.528T>G&fields=none+externalSources"

Query by external record ID ​

Find variants associated with an external record ID.

Query parameterIdentifier
ClinVar.variationIdClinVar variation ID
ClinVar.alleleIdClinVar allele ID
ClinVar.RCVClinVar RCV accession
ExAC.idExAC variant ID
MyVariantInfo_hg19.idMyVariantInfo hg19 ID
MyVariantInfo_hg38.idMyVariantInfo hg38 ID
dbSNP.rsdbSNP rs ID
gnomAD_2.idgnomAD v2 ID
gnomAD_3.idgnomAD v3 ID
gnomAD_4.idgnomAD v4 ID

An external ID can match multiple variants. For example, a dbSNP ID can identify several alternate alleles at the same genomic coordinate. Some sources use strings rather than numeric IDs, such as 3-150928107-A-C or chr3:g.150928107A>C.

Examples:

bash
curl -X GET "https://reg.genome.network/alleles?ClinVar.alleleId=19431"
bash
curl -X GET "https://reg.genome.network/alleles?ClinVar.RCV=RCV000004642"
bash
curl -X GET "https://reg.genome.network/alleles?MyVariantInfo_hg38.id=chr3:g.150928107A>C"
bash
curl -X GET "https://reg.genome.network/alleles?ExAC.id=3-150645894-A-C"

The dbSNP example includes three alternate alleles: A>C, A>G, and A>T.

bash
curl -X GET "https://reg.genome.network/alleles?dbSNP.rs=rs121908140"
bash
curl -X GET "https://reg.genome.network/alleles?gnomAD_3.id=3-150928107-A-C"

These examples include the variant CA000001.

BIOINFORMATICS RESEARCH LABORATORY