Skip to content
GET /v1/class

Species in a taxonomic class

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/redlist-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/redlist-api/v1/class" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/redlist-api/v1/class", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/redlist-api/v1/class");
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/class",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "class": "MAMMALIA",
        "count": 50,
        "total": 2709,
        "species": [
            {
                "class": "MAMMALIA",
                "family": "BOVIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39250",
                "category": "LC",
                "common_name": "Thinhorn Sheep",
                "category_label": "Least Concern",
                "scientific_name": "Ovis dalli"
            },
            {
                "class": "MAMMALIA",
                "family": "BOVIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39255",
                "category": "LC",
                "common_name": "Northern Chamois",
                "category_label": "Least Concern",
                "scientific_name": "Rupicapra rupicapra"
            },
            {
                "class": "MAMMALIA",
                "family": "ECHIMYIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39314",
                "category": "DD",
                "common_name": "Bare-tailed Armored Tree-rat",
                "category_label": "Data Deficient",
                "scientific_name": "Pattonomys occasius"
            },
            {
                "class": "MAMMALIA",
                "family": "CRICETIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39315",
                "category": "LC",
                "common_name": "Pyrenean Pine Vole",
                "category_label": "Least Concern",
                "scientific_name": "Microtus gerbii"
            },
            {
                "class": "MAMMALIA",
                "family": "GLIRIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39316",
                "category": "LC",
                "common_name": "Edible Dormouse",
                "category_label": "Least Concern",
                "scientific_name": "Glis glis"
            },
            {
                "class": "MAMMALIA",
                "family": "RHINOCEROTIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39317",
                "category": "NT",
                "common_name": "Southern White Rhino",
                "category_label": "Near Threatened",
                "scientific_name": "Ceratotherium simum ssp. simum"
            },
            {
                "class": "MAMMALIA",
                "family": "RHINOCEROTIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39318",
                "category": "NT",
                "common_name": "South-western Black Rhino",
                "category_label": "Near Threatened",
                "scientific_name": "Diceros bicornis ssp. bicornis"
            },
            {
                "class": "MAMMALIA",
                "family": "RHINOCEROTIDAE",
                "kingdom": "ANIMALIA",
                "taxonid": "39319",
                "category": "EX",
                "common_name": "Western 
…