GET /data/disease
Summary: Query Disease objects
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (3)
accessionId
(string, query, optional)
the ClinPGx identifier of the Disease
name
(string, query, optional)
the name of the Disease
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query disease by ClinPGx accession ID | curl |
https://api.pharmgkb.org/data/disease?accessionId=PA443635 |
|
| Query disease by name | curl |
https://api.pharmgkb.org/data/disease?name=diabetes |
|
| Query disease with view parameter for full data | curl |
https://api.pharmgkb.org/data/disease?name=hypertension&view=base |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:24:38.359038 | 404 | 829ms | |
| 2026-03-23 09:36:38.724824 | 200 | 831ms | |
| 2026-03-23 09:21:46.474079 | 404 | 836ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:36:38.724824 | 878e24d7dd84 |
59d8b6da44d8 |
| 2026-03-23 10:24:38.359038 | 59d8b6da44d8 |
878e24d7dd84 |