GET /data/gene/{id}
Summary: Retrieve a Gene using the ClinPGx ID
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (2)
id
(string, path, required)
the Gene's ClinPGx accession identifier
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Retrieve CYP2D6 gene (key pharmacogene) | curl |
https://api.pharmgkb.org/data/gene/PA128 |
|
| Retrieve ABCB1 (MDR1) transporter gene | curl |
https://api.pharmgkb.org/data/gene/PA267 |
|
| Retrieve CYP3A5 with full view parameter | curl |
https://api.pharmgkb.org/data/gene/PA131?view=full |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:54:13.142680 | 200 | 832ms | |
| 2026-03-23 10:39:05.560757 | 200 | 842ms | |
| 2026-03-23 10:25:41.491357 | 200 | 830ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 10:39:05.560757 | 6cc3592141b3 |
b4ac627c4836 |
| 2026-03-23 10:54:13.142680 | b4ac627c4836 |
aca082824085 |