/v1/category
Species in a Red List category
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/redlist-api/v1/category" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/redlist-api/v1/category", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/redlist-api/v1/category");
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/redlist-api/v1/category",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 50,
"total": 9553,
"species": [
{
"class": "MAGNOLIOPSIDA",
"family": "MYRTACEAE",
"kingdom": "PLANTAE",
"taxonid": "31666",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
"scientific_name": "Psidium claraense"
},
{
"class": "MAGNOLIOPSIDA",
"family": "MELASTOMATACEAE",
"kingdom": "PLANTAE",
"taxonid": "31669",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
"scientific_name": "Henriettea punctata"
},
{
"class": "MAGNOLIOPSIDA",
"family": "ARALIACEAE",
"kingdom": "PLANTAE",
"taxonid": "31682",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
"scientific_name": "Aralia rex"
},
{
"class": "MAGNOLIOPSIDA",
"family": "XIMENIACEAE",
"kingdom": "PLANTAE",
"taxonid": "31684",
"category": "CR",
"common_name": "Almendro de costa",
"category_label": "Critically Endangered",
"scientific_name": "Ximenia roigii"
},
{
"class": "MAGNOLIOPSIDA",
"family": "SCHLEGELIACEAE",
"kingdom": "PLANTAE",
"taxonid": "31690",
"category": "CR",
"common_name": "Chicharrón",
"category_label": "Critically Endangered",
"scientific_name": "Synapsis ilicifolia"
},
{
"class": "MAGNOLIOPSIDA",
"family": "ANNONACEAE",
"kingdom": "PLANTAE",
"taxonid": "31712",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
"scientific_name": "Mezzettia herveyana"
},
{
"class": "MAGNOLIOPSIDA",
"family": "ANNONACEAE",
"kingdom": "PLANTAE",
"taxonid": "31715",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
"scientific_name": "Monoon glabrum"
},
{
"class": "MAGNOLIOPSIDA",
"family": "ANNONACEAE",
"kingdom": "PLANTAE",
"taxonid": "31716",
"category": "CR",
"common_name": null,
"category_label": "Critically Endangered",
…