GET /data/gene

pharmgkb.org:pharmgkb-api

Summary: Query Gene objects
Operation ID:
Auth: none

Parameters (3)

accessionId (string, query, optional)

the ClinPGx identifier of the Gene

symbol (string, query, optional)

the HGNC symbol for the gene

view (string, query, optional)

How much data to retrieve on the object

Constraints: {'enum': ['min', 'base', 'max']}

Examples (3)

TitleTypeURLAction
Query gene by HGNC symbol curl https://api.pharmgkb.org/data/gene?symbol=CYP2D6
Query gene by ClinPGx accession ID curl https://api.pharmgkb.org/data/gene?accessionId=PA356
Query gene with minimal view curl https://api.pharmgkb.org/data/gene?symbol=TPMT&view=minimal

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:36:34.313721 200 830ms
2026-03-23 09:29:20.140016 200 829ms
2026-03-23 09:17:34.482254 200 858ms

Response Changes

WhenOldNew
2026-03-23 09:29:20.140016 7df1f54e7ef8 72e5042a15af