GET data/label
Summary: Query DrugLabels
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (6)
relatedChemicals.accessionId
(string, query, optional)
the accession ID of a chemical associated with the Drug Label
relatedChemicals.name
(string, query, optional)
the name of a chemical associated with the Drug Label
relatedGenes.accessionId
(string, query, optional)
the accession ID of a gene associated with the Drug Label
relatedGenes.symbol
(string, query, optional)
the symbol of a gene associated with the Drug Label
source
(string, query, optional)
the source of the Drug Label
Constraints: {'enum': ['fda', 'ema', 'pmda', 'hcsc']}
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query FDA drug labels for warfarin | curl |
https://api.pharmgkb.org/data/label?source=FDA&relatedChemicals.name=warfarin |
|
| Query labels by gene symbol CYP2C9 | curl |
https://api.pharmgkb.org/data/label?relatedGenes.symbol=CYP2C9 |
|
| Query HCSC labels with full data view | curl |
https://api.pharmgkb.org/data/label?source=HCSC&view=full |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:22:31.920155 | 200 | 866ms | |
| 2026-03-23 10:15:16.200485 | 200 | 1794ms | 1.2MB |
| 2026-03-23 09:30:22.480084 | 200 | 1064ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 10:15:16.200485 | 339853fd1d3c |
c48632870158 |
| 2026-03-23 10:22:31.920155 | c48632870158 |
cfa5cc8424d3 |