GET /data/guidelineAnnotation

pharmgkb.org:pharmgkb-api

Summary: Query GuidelineAnnotations
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)

TitleTypeURLAction
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

Latency

Status Codes

TimeStatusLatencySize
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

WhenOldNew
2026-03-23 09:18:36.720567 c7910c7ea6a4 892049a7b55c
2026-03-23 10:28:04.192684 892049a7b55c e18de953286f