Naar de inhoud
GET /v1/category

Species in a Red List category

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/redlist-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "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",
    
…