search: Search for disease terms

API: disease-ontology.org:disease-ontology-do-kb-api
Endpoint: /terms/search
Response format: application/json
Auth: unknown
Method: POST
Last Status: 400
Latency: 578ms

Description

Performs a comprehensive search across disease terms with support for filtering by names, definitions, synonyms, external cross-references (xrefs), ontology subsets, and imported ontology IDs. Returns paginated results with rich term details including parent/child relationships, definitions, and associated ontology imports. Use this for disease term lookup, browsing disease hierarchies, and finding terms by synonyms or external database IDs.

From spec: Search for disease terms using disease properties (ids, names, xrefs, etc), imports that are related to diseases (eg. symptoms, anatomy, etc), or a combination of the two.

Usage Tips

- Search by names array for disease name matching - Use synonyms array to search alternative term names - Filter by subsets to find terms in specific categories (DO_slim, DO_AGR_slim, etc.) - Search by xrefs to find terms by external IDs (e.g., MESH, OMIM, ICD10) - Results are paginated (default 20 per page); check page_count for total pages

Parameters (4)

lang (string, query, optional)

We support English and Spanish as 'en' and 'es', respectively.

page (integer, query, optional)

page number to request (min:1, optional)

Constraints: {'minimum': 1}

page_size (integer, query, optional)

number of results returned per page

Constraints: {'minimum': 1}

sort (string, query, optional)

sort field (default id)

Constraints: {'enum': ['id', 'name']}

Examples (1)

Search for cancer-related disease terms probe-gate

Demonstrates searching for disease terms by name with 'cancer' as the query, returning paginated results with detailed term information.

curl 'https://api.disease-ontology.org/v1/terms/search' \
  -X POST
import requests

resp = requests.post("https://api.disease-ontology.org/v1/terms/search")
data = resp.json()
import zingu_apis

api = zingu_apis.api("disease-ontology-do-kb")
result = api.get("terms/search")

for item in result:
    print(item)
const resp = await fetch("https://api.disease-ontology.org/v1/terms/search", {
  method: "POST",
});
const data = await resp.json();

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-04-16 02:30:23.706298 400 578ms
2026-04-15 04:09:59.880233 400 576ms
2026-04-14 03:27:47.223126 400 503ms
2026-04-12 13:06:15.315897 400 486ms
2026-04-10 04:14:33.368897 400 468ms
2026-04-09 02:13:52.881629 400 574ms