GET data/dataAnnotation
Summary: Query Data Annotations
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (3)
targets.accessionId
(string, query, optional)
the Accession ID for the object to find annotations for
type
(string, query, optional)
the type of annotation to return
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query Clinical Annotations by Gene Accession | curl |
https://api.pharmgkb.org/data/dataAnnotation?targets.accessionId=PA166121539&type=Clinical%20Annotation |
|
| Query Variant Annotations with Full View | curl |
https://api.pharmgkb.org/data/dataAnnotation?targets.accessionId=PA134981596&type=Variant%20Annotation&view=full |
|
| Query Drug Label Annotations for Chemical | curl |
https://api.pharmgkb.org/data/dataAnnotation?targets.accessionId=PA448710&type=Drug%20Label |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:56:16.229956 | 404 | 990ms | |
| 2026-03-23 10:55:14.752122 | 404 | 826ms | |
| 2026-03-23 10:34:26.780318 | 404 | 835ms |