GET /data/ontologyTerm
Summary: Query Ontology Terms
Operation ID: —
Auth: none
Operation ID: —
Auth: none
Parameters (2)
resource
(string, query, optional)
the ontology resource to get terms for
Constraints: {'enum': ['biomarkerStatus', 'alleleFunction', 'cpicLevelOfEvidence', 'cpicStatus', 'geneTestLevel', 'guidelineStrength', 'levelsOfEvidence']}
view
(string, query, optional)
How much data to retrieve on the object
Constraints: {'enum': ['min', 'base', 'max']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Query Gene Ontology terms | curl |
https://api.pharmgkb.org/data/ontologyTerm?resource=GO |
|
| Query ATC classification with base view | curl |
https://api.pharmgkb.org/data/ontologyTerm?resource=ATC&view=base |
|
| Query MeSH terms with full view | curl |
https://api.pharmgkb.org/data/ontologyTerm?resource=MeSH&view=full |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 09:32:39.424660 | 200 | 1596ms | 1.5MB |
| 2026-03-23 09:15:25.602991 | 200 | 3885ms | 2.0MB |
| 2026-03-23 09:14:20.253946 | 200 | 3790ms | 2.0MB |
Response Changes
| When | Old | New |
|---|---|---|
| 2026-03-23 09:15:25.602991 | a9ed9079daa8 |
4da9e8a4fce4 |
| 2026-03-23 09:32:39.424660 | 4da9e8a4fce4 |
10e805bdb51c |