GET data/gene
Summary: Query Gene objects
Operation ID: —
Auth: none
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)
| Title | Type | URL | Action |
|---|---|---|---|
| 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
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 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
| When | Old | New |
|---|---|---|
| 2026-03-23 09:29:20.140016 | 7df1f54e7ef8 |
72e5042a15af |