GET report/connectedObjects/{id}/{type}

pharmgkb.org:pharmgkb-api

Summary: Query all objects connected to {id} of <code>{type}</code> and list all types of connections between them
Operation ID:
Auth: none

Parameters (2)

id (string, path, required)

an object's unique identifier, either their PA# or numeric ID

type (string, path, required)

the type of connected object to search for

Examples (3)

TitleTypeURLAction
Get drugs connected to CYP2D6 gene curl https://api.pharmgkb.org/report/connectedObjects/PA166157814/drug
Get genes connected to Warfarin drug curl https://api.pharmgkb.org/report/connectedObjects/PA451906/gene
Get phenotypes connected to a variant curl https://api.pharmgkb.org/report/connectedObjects/PA166128338/phenotype

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:41:18.657677 404 669ms
2026-03-23 10:35:32.318492 404 669ms
2026-03-23 10:17:21.553355 404 659ms