GET /data/guidelineAnnotation
Summary: Query GuidelineAnnotations
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (4)
relatedChemicals.accessionId
(string, query, optional)
the accession ID of a chemical associated with the Guideline Annotation
relatedGenes.accessionId
(string, query, optional)
the accession ID of a gene associated with the Guideline Annotation
source
(string, query, optional)
the source of the Guideline Annotation
Constraints: {'enum': ['cpic', 'dpwg', 'pro']}
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query guidelines by chemical (warfarin) | curl |
https://api.pharmgkb.org/data/guidelineAnnotation?relatedChemicals.accessionId=PA451906 |
|
| Query guidelines by gene (CYP2C9) | curl |
https://api.pharmgkb.org/data/guidelineAnnotation?relatedGenes.accessionId=PA126 |
|
| Query CPIC guidelines with full view | curl |
https://api.pharmgkb.org/data/guidelineAnnotation?source=CPIC&view=full |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:28:04.192684 | 200 | 1219ms | 1.1MB |
| 2026-03-23 09:18:36.720567 | 200 | 877ms | |
| 2026-03-23 09:02:24.436883 | 200 | 973ms |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:18:36.720567 | c7910c7ea6a4 |
892049a7b55c |
| 2026-03-23 10:28:04.192684 | 892049a7b55c |
e18de953286f |