GET /data/chemical
Summary: Query Chemical objects
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (3)
accessionId
(string, query, optional)
the ClinPGx identifier of the Chemical
name
(string, query, optional)
the name of the Chemical
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query chemical by name (warfarin) | curl |
https://api.pharmgkb.org/data/chemical?name=warfarin |
|
| Query chemical by accession ID | curl |
https://api.pharmgkb.org/data/chemical?accessionId=PA451906 |
|
| Query chemical with full view | curl |
https://api.pharmgkb.org/data/chemical?name=aspirin&view=full |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:53:05.773699 | 200 | 831ms | |
| 2026-03-23 09:26:09.493301 | 200 | 862ms | |
| 2026-03-23 09:25:08.011214 | 200 | 824ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 10:53:05.773699 | 8da1d65a8b47 |
c510034cefc5 |