/v1/match
Resolve a name to a taxon (OTT id)
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/opentol-api/v1/match" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opentol-api/v1/match", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opentol-api/v1/match");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/opentol-api/v1/match",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"match": {
"url": "https://tree.opentreeoflife.org/taxonomy/browse?id=770315",
"name": "Homo sapiens",
"rank": "species",
"flags": [
"extinct",
"sibling_higher"
],
"score": 1,
"ott_id": 770315,
"is_synonym": false,
"tax_sources": [
"ncbi:9606",
"gbif:2436436",
"irmng:11388931",
"irmng:10857762"
],
"unique_name": "Homo sapiens",
"matched_name": "Homo sapiens",
"is_approximate": false,
"nomenclature_code": "ICZN"
},
"query": "Homo sapiens",
"match_count": 1
},
"meta": {
"timestamp": "2026-06-01T16:23:12.131Z",
"request_id": "322682d4-72fc-411f-b73b-7b7a173826d2"
},
"status": "ok",
"message": "Name matched",
"success": true
}