Zum Inhalt springen
GET /v1/match

Resolve a name to a taxon (OTT id)

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/opentol-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}