GET data/gene/{id}

pharmgkb.org:pharmgkb-api

Summary: Retrieve a Gene using the ClinPGx ID
Operation ID:
Auth: none

Parameters (2)

id (string, path, required)

the Gene's ClinPGx accession identifier

view (string, query, optional)

How much data to retrieve on the object

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

Examples (3)

TitleTypeURLAction
Retrieve CYP2D6 gene (key pharmacogene) curl https://api.pharmgkb.org/data/gene/PA128
Retrieve ABCB1 (MDR1) transporter gene curl https://api.pharmgkb.org/data/gene/PA267
Retrieve CYP3A5 with full view parameter curl https://api.pharmgkb.org/data/gene/PA131?view=full

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:54:13.142680 200 832ms
2026-03-23 10:39:05.560757 200 842ms
2026-03-23 10:25:41.491357 200 830ms

Response Changes

WhenOldNew
2026-03-23 10:39:05.560757 6cc3592141b3 b4ac627c4836
2026-03-23 10:54:13.142680 b4ac627c4836 aca082824085