GET /ontologies/{ontologyId}/terms/{iri}/parents

ac.uk:embl-ebi-ontology-lookup-service-ols-api

Summary: Get parent terms
Operation ID: getTermParents
Auth: unknown
Description

Returns the direct parent terms of the specified term

Parameters (3)

iri (string, path, required)

URL-encoded IRI of the term

lang (string, query, optional, default: en)
ontologyId (string, path, required)

Examples (3)

TitleTypeURLAction
Get parents of GO cellular component term curl https://www.ebi.ac.uk/ols4/api/ontologies/go/terms/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FGO_0005575/parents
Get parents with pagination curl https://www.ebi.ac.uk/ols4/api/ontologies/go/terms/http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FGO_0008150/parents?page=0&size=10
Get parents of an EFO term curl https://www.ebi.ac.uk/ols4/api/ontologies/efo/terms/http%3A%2F%2Fwww.ebi.ac.uk%2Fefo%2FEFO_0000001/parents

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 10:34:53.328671 400 136ms
2026-03-23 10:28:09.002199 400 138ms
2026-03-23 09:19:16.650568 400 148ms