Animals API logo
DataMAINTAINED1 token / call

Animals API

2,800 animal species with taxonomy, diet, lifespan, speed, habitat, prey, predators and IUCN status

Detailed reference data for 2,800+ animal species — full taxonomy (kingdom, phylum, class, order, family, genus, scientific name), diet, activity pattern, lifespan, weight, top speed, IUCN conservation status and population trend, alternative names, imperial and metric measurements, skin/coat type, colors, distinctive features, countries, biomes, main prey, predators, reproduction (mating system, gestation, litter size), fun facts and a summary — each with an image and source link. Filter by name, taxonomic class, order, family, diet, conservation status, country and color. Self-hosted dataset scraped from a-z-animals.com — no third-party calls.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "total": 2802,
  "count": 1,
  "results": [
    {
      "slug": "cheetah",
      "name": "Cheetah",
      "scientificName": "Acinonyx jubatus",
      "taxonomy": {
        "class": "Mammalia",
        "order": "Carnivora"
      },
      "diet": "Carnivore",
      "topSpeedMph": 58,
      "conservationStatus": "Vulnerable"
    }
  ]
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Animals API

  • Build an encyclopedia or quiz app with structured species profiles.

  • Filter species by class, conservation status, biome or country for education products.

  • Show a random animal with its facts in a daily-feature widget.

  • Enrich wildlife, zoo or travel content with reliable species data.

Animals API endpoints

Every endpoint with its parameters and a real example response.

GETAnimal Classes

https://api-animals.dataandapis.com/v1/animals/classes

This endpoint takes no parameters.

Example request

curl "https://api-animals.dataandapis.com/v1/animals/classes" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "count": 6,
  "classes": [
    {
      "class": "Mammalia",
      "count": 1082
    },
    {
      "class": "Reptilia",
      "count": 458
    },
    {
      "class": "Aves",
      "count": 405
    },
    {
      "class": "Actinopterygii",
      "count": 276
    },
    {
      "class": "Insecta",
      "count": 240
    },
    {
      "class": "Arachnida",
      "count": 71
    }
  ]
…
Show full response
{
  "count": 6,
  "classes": [
    {
      "class": "Mammalia",
      "count": 1082
    },
    {
      "class": "Reptilia",
      "count": 458
    },
    {
      "class": "Aves",
      "count": 405
    },
    {
      "class": "Actinopterygii",
      "count": 276
    },
    {
      "class": "Insecta",
      "count": 240
    },
    {
      "class": "Arachnida",
      "count": 71
    }
  ]
}

GETConservation Statuses

https://api-animals.dataandapis.com/v1/animals/statuses

This endpoint takes no parameters.

Example request

curl "https://api-animals.dataandapis.com/v1/animals/statuses" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "count": 8,
  "statuses": [
    {
      "status": "Least Concern",
      "count": 1800
    },
    {
      "status": "Endangered",
      "count": 200
    },
    {
      "status": "Vulnerable",
      "count": 180
    },
    {
      "status": "Critically Endangered",
      "count": 62
    }
  ]
}

GETGet Animal

https://api-animals.dataandapis.com/v1/animals/{slug}

Path parameters

ParameterExample
slugamur-leopardRequired

Example request

curl "https://api-animals.dataandapis.com/v1/animals/amur-leopard" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "slug": "cheetah",
  "name": "Cheetah",
  "scientificName": "Acinonyx jubatus",
  "taxonomy": {
    "kingdom": "Animalia",
    "phylum": "Chordata",
    "class": "Mammalia",
    "order": "Carnivora",
    "family": "Felidae",
    "genus": "Acinonyx"
  },
  "diet": "Carnivore",
  "activity": "Diurnal",
  "lifespan": "10 years",
  "lifespanYears": 10,
  "weightLbs": 72,
  "topSpeedMph": 58,
  "conservationStatus": "Vulnerable",
  "populationTrend": "Population Decreasing",
  "altNames": [
    "Hunting leopard",
    "Guépard"
  ],
  "measures": {
    "Height": {
      "imperial": "2 ft 7 in",
      "metric": "80 cm"
…
Show full response
{
  "slug": "cheetah",
  "name": "Cheetah",
  "scientificName": "Acinonyx jubatus",
  "taxonomy": {
    "kingdom": "Animalia",
    "phylum": "Chordata",
    "class": "Mammalia",
    "order": "Carnivora",
    "family": "Felidae",
    "genus": "Acinonyx"
  },
  "diet": "Carnivore",
  "activity": "Diurnal",
  "lifespan": "10 years",
  "lifespanYears": 10,
  "weightLbs": 72,
  "topSpeedMph": 58,
  "conservationStatus": "Vulnerable",
  "populationTrend": "Population Decreasing",
  "altNames": [
    "Hunting leopard",
    "Guépard"
  ],
  "measures": {
    "Height": {
      "imperial": "2 ft 7 in",
      "metric": "80 cm"
    },
    "Length": {
      "imperial": "6 ft 9 in",
      "metric": "2.0 m"
    },
    "Weight": {
      "imperial": "110 lbs",
      "metric": "50 kg"
    },
    "Top Speed": {
      "imperial": "58 mph",
      "metric": "93 km/h"
    }
  },
  "skinType": "Furred mammal skin with short, thick fur...",
  "colors": [
    "Black",
    "Cream",
    "Gold",
    "Tan",
    "White"
  ],
  "features": [
    "Taxon identity: the sole extant species of genus Acinonyx..."
  ],
  "countries": [
    "Algeria",
    "Angola",
    "Benin",
    "Botswana",
    "Iran",
    "Kenya"
  ],
  "biomes": [
    "Desert Cold",
    "Desert Hot",
    "Savanna",
    "Temperate Grassland"
  ],
  "prey": [
    "Thomson's gazelle",
    "Grant's gazelle",
    "Springbok"
  ],
  "predators": [
    "Black-backed jackal",
    "Leopard",
    "Lion",
    "Nile crocodile"
  ],
  "reproduction": {
    "Mating System": "Polygynandry",
    "Social Structure": "Solitary",
    "Breeding Pattern": "Transient"
  },
  "funFact": "Fastest land mammal: peak recorded sprint speeds up to about 104 km/h in wild hunting cheetahs.",
  "facts": [
    "Fastest land mammal: peak recorded sprint speeds up to about 104 km/h..."
  ],
  "summary": "Classification and evolution of the Cheetah...",
  "image": "https://a-z-animals.com/media/graphicstock-cheetah-sits-under-tree.jpg",
  "sourceUrl": "https://a-z-animals.com/animals/cheetah/"
}

GETList Animals

https://api-animals.dataandapis.com/v1/animals

Query parameters

ParameterExample
classMammaliaOptional
colorGoldOptional
countryColombiaOptional
dietCarnivoreOptional
familyFelidaeOptional
limit20Optional
orderCarnivoraOptional
page1Optional
qpantheraOptional
statusEndangeredOptional

Example request

curl "https://api-animals.dataandapis.com/v1/animals?class=Mammalia&color=Gold&country=Colombia&diet=Carnivore&family=Felidae&limit=20&order=Carnivora&page=1&q=panthera&status=Endangered" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "total": 2802,
  "page": 1,
  "limit": 20,
  "count": 1,
  "results": [
    {
      "id": 1,
      "slug": "aardvark",
      "name": "Aardvark",
      "scientificName": "Orycteropus afer",
      "taxonomy": {
        "kingdom": "Animalia",
        "phylum": "Chordata",
        "class": "Mammalia",
        "order": "Tubulidentata",
        "family": "Orycteropodidae",
        "genus": "Orycteropus"
      },
      "diet": "Myrmecophage",
      "activity": "Nocturnal",
      "lifespanYears": 15,
      "weightLbs": 82,
      "topSpeedMph": 25,
      "conservationStatus": "Least Concern",
      "altNames": [],
      "colors": [
        "Black",
…
Show full response
{
  "total": 2802,
  "page": 1,
  "limit": 20,
  "count": 1,
  "results": [
    {
      "id": 1,
      "slug": "aardvark",
      "name": "Aardvark",
      "scientificName": "Orycteropus afer",
      "taxonomy": {
        "kingdom": "Animalia",
        "phylum": "Chordata",
        "class": "Mammalia",
        "order": "Tubulidentata",
        "family": "Orycteropodidae",
        "genus": "Orycteropus"
      },
      "diet": "Myrmecophage",
      "activity": "Nocturnal",
      "lifespanYears": 15,
      "weightLbs": 82,
      "topSpeedMph": 25,
      "conservationStatus": "Least Concern",
      "altNames": [],
      "colors": [
        "Black",
        "Brown",
        "Cream",
        "Gray",
        "Tan"
      ],
      "image": "https://a-z-animals.com/media/animals/images/original/aardvark.jpg"
    }
  ]
}

GETRandom Animals

https://api-animals.dataandapis.com/v1/animals/random

Query parameters

ParameterExample
amount3Optional

Example request

curl "https://api-animals.dataandapis.com/v1/animals/random?amount=3" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "count": 2,
  "results": [
    {
      "slug": "tufted-titmouse",
      "name": "Tufted Titmouse",
      "scientificName": "Baeolophus bicolor",
      "taxonomy": {
        "class": "Aves",
        "order": "Passeriformes"
      },
      "diet": "Omnivore",
      "conservationStatus": "Least Concern"
    },
    {
      "slug": "jaguar",
      "name": "Jaguar",
      "scientificName": "Panthera onca",
      "taxonomy": {
        "class": "Mammalia",
        "order": "Carnivora"
      },
      "diet": "Carnivore",
      "conservationStatus": "Near Threatened"
    }
  ]
}

Where the data comes from

Source
Compiled species reference catalogue loaded into the API's own database.
Freshness
Reloaded on re-scrape; species facts change slowly.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
5endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-animals.dataandapis.com/v1/animals/classes',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Animals API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key
import axios from 'axios';

const url = 'https://api-animals.dataandapis.com/v1/animals/classes';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Animals API

Ship Animals API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.