Ir al contenido
GET /v1/category

Species in a Red List category

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/redlist-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

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