GET data/variant/{id}
Summary: Retrieve a Variant using the ClinPGx ID
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (2)
id
(string, path, required)
the Variant'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 |
|---|---|---|---|
| Basic variant lookup by PA accession ID | curl |
https://api.pharmgkb.org/data/variant/PA166402121 |
|
| Variant lookup with minimal data view | curl |
https://api.pharmgkb.org/data/variant/PA166402121?view=min |
|
| Variant lookup with maximal data view | curl |
https://api.pharmgkb.org/data/variant/PA166402121?view=max |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:38:01.625823 | 200 | 836ms | |
| 2026-03-23 09:50:32.795576 | 200 | 834ms | |
| 2026-03-23 09:09:01.340281 | 200 | 824ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:50:32.795576 | b9c102cd885e |
c08ed0c0dc98 |
| 2026-03-23 10:38:01.625823 | c08ed0c0dc98 |
ed769e43a48a |