GET /data/literature

pharmgkb.org:pharmgkb-api

Summary: Query Literature objects
Operation ID:
Auth: none

Parameters (4)

id (string, query, optional)

the ClinPGx identifier of the Literature

resourceId (string, query, optional)

the ID for this Literature in the original resource.

type (string, query, optional)

the type of Literature to find

view (string, query, optional)

How much data to retrieve on the object

Constraints: {'enum': ['min', 'base', 'max']}

Examples (3)

TitleTypeURLAction
Query literature by ClinPGx ID curl https://api.pharmgkb.org/data/literature?id=PA166165006
Query literature by PubMed resource ID curl https://api.pharmgkb.org/data/literature?resourceId=20350135
Query guidelines literature with full view curl https://api.pharmgkb.org/data/literature?type=guideline&view=full

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:46:39.631455 404 813ms
2026-03-23 10:12:51.943293 400 823ms
2026-03-23 09:12:15.780996 404 819ms

Response Changes

WhenOldNew
2026-03-23 10:12:51.943293 878e24d7dd84 d08286beafc1
2026-03-23 10:46:39.631455 d08286beafc1 878e24d7dd84