Μετάβαση στο περιεχόμενο
GET /v1/category

Species in a Red List category

Δοκιμάστε το ζωντανά

10 δωρεάν κλήσεις την ημέρα — χωρίς εγγραφή, χωρίς κλειδί API. Μέσω του gateway του oanor.

Προσαρμοσμένες κεφαλίδες (προαιρετικά)
api.oanor.com/redlist-api

Δουλεύει. Πάρε ένα κλειδί API και χρησιμοποίησέ το στο έργο σου.

Λάβετε ένα κλειδί API

Αποσπάσματα κώδικα

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

Παράδειγμα απόκρισης

Πραγματική απόκριση αυτού του endpoint, από τον τελευταίο έλεγχο υγείας.

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