/v1/taxon
A taxon: classification & lineage
Live testen
10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.
Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.
API-Key holenCode-Snippets
curl "https://api.oanor.com/opentol-api/v1/taxon" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opentol-api/v1/taxon", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opentol-api/v1/taxon");
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/taxon",
headers={"x-oanor-key": "oanor_test_..."}
)
Beispiel-Response
Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.
{
"data": {
"taxon": {
"url": "https://tree.opentreeoflife.org/taxonomy/browse?id=770315",
"name": "Homo sapiens",
"rank": "species",
"flags": [
"extinct",
"sibling_higher"
],
"ott_id": 770315,
"lineage": [
{
"name": "Homo",
"rank": "genus",
"ott_id": 770309
},
{
"name": "Homininae",
"rank": "subfamily",
"ott_id": 312031
},
{
"name": "Hominidae",
"rank": "family",
"ott_id": 770311
},
{
"name": "Hominoidea",
"rank": "superfamily",
"ott_id": 386191
},
{
"name": "Catarrhini",
"rank": "parvorder",
"ott_id": 842867
},
{
"name": "Simiiformes",
"rank": "infraorder",
"ott_id": 386195
},
{
"name": "Haplorrhini",
"rank": "suborder",
"ott_id": 702152
},
{
"name": "Primates",
"rank": "no rank",
"ott_id": 913935
},
{
"name": "Primatomorpha",
"rank": "no rank",
"ott_id": 6520519
},
{
"name": "Euarchontoglires",
"rank": "superorder",
"ott_id": 392222
},
{
"name": "Boreoeutheria",
"rank": "no rank",
"ott_id": 5334778
},
{
"name": "Eutheria",
"rank": "no rank",
"ott_id": 683263
},
{
"name": "Theria",
"rank": "subclass",
"ott_id": 229558
},
{
"name": "Mammalia",
"rank": "class",
"ott_id": 244265
},
{
"name": "Amniota",
"rank": "no rank",
"ott_id": 229560
},
{
"name": "Tetrapoda",
"rank": "superclass",
"ott_id": 229562
},
{
"name": "Dipnotetrapodomorpha",
"rank": "no rank",
"ott_id": 4940726
},
…