Docs/APIs/Animal Lookup

Animal Lookup

Taxonomy, Traits and Lifespan for 8,600 Species

OperationalCredits 2 per callp50 145msScienceStar

Overview

Pass `name`, a common or scientific name. The search ignores case, accents and punctuation and tries the singular when a plural matches nothing. Exact common or scientific names rank first, then other English names, then names containing the searched word, then partial matches; within each, better-known species come first. Free plans get up to 3 matches, paid plans up to 25 with `limit`. No match returns 404.

Names, Wikidata ids and IUCN status come from Wikidata (CC0). Mammal traits come from PanTHERIA 1.0 (Jones et al. 2009, Ecology 90:2648, CC0), species-level averages compiled from the literature. Lifespan, maturity, gestation or incubation, litter or clutch size, birth weight and weaning come from AnAge (Tacutu et al., Human Ageing Genomic Resources, CC BY 3.0) where it has the species, with PanTHERIA filling gaps.

Mammals report `gestationDays`, `litterSize` and `littersPerYear`; egg layers report `incubationDays`, `clutchSize` and `clutchesPerYear`, and the other pair is null. `lifespan.maxYears` is the longest reliably recorded life, often in captivity (`recordedIn`), not an average. Any trait not recorded for a species is null.

Live Test Animal Lookup API →

Endpoint

One host, one path per API. The block below shows this call in four languages; every one of them is the same HTTP request. Making requests covers the timeouts, retries and parameter rules that apply to all of them. The SDKs wrap the same call in a typed client.

GEThttps://api.apiverve.com/v1/animallookup
curl "https://api.apiverve.com/v1/animallookup?name=lion&limit=10" \
  -H "x-api-key: your_api_key_here"

Replace your_api_key_here with the key from your dashboard. When the inputs arrive as a list rather than one at a time, batch requests run up to 200 of them through this same API in a single call.

Authentication

Send your key in the x-api-key header. That is the only auth step — there is no token exchange and no per-endpoint scope to configure. Authentication covers creating, rotating and revoking keys.

401 is the only auth verdict

A 401 means the key is missing, invalid or expired. A 403 means the key is valid but not permitted here — blocked by a key restriction or an IP allow-list. Running out of credits is a 429.

Parameters

Sent in the query string. Premium parameters are accepted on every plan but only take effect on plans that include them.

ParameterTypeDescription
nameRequiredstringCommon or scientific name, e.g. lion, grey wolf or Panthera leo
length 0–100
limitOptionalPremiumintegerMaximum animals to return (1-25). Free plans get up to 3
range 1–25

Response

Every API returns the same three top-level keys, so one response handler covers your whole integration: status, error and data. Only data changes shape. Response format covers the envelope, the other output formats and how premium fields are withheld.

Sample response
{
  "status": "ok",
  "error": null,
  "data": {
    "query": "lion",
    "totalMatches": 28,
    "count": 3,
    "animals": [
      {
        "commonName": "Lion",
        "scientificName": "Panthera leo",
        "otherNames": [
          "African Lion",
          "Asiatic lion"
        ],
        "taxonomy": {
          "kingdom": "Animalia",
          "phylum": "Chordata",
          "class": "Mammalia",
          "order": "Carnivora",
          "family": "Felidae",
          "genus": "Panthera"
        },
        "conservationStatus": "Vulnerable",
        "conservationCode": "VU",
        "traits": {
          "adultBodyMassKg": 159,
          "adultBodyMassG": 158624,
          "headBodyLengthCm": 184,
          "birthWeightG": 1300,
          "gestationDays": 109,
          "incubationDays": null,
          "litterSize": 3,
          "littersPerYear": 1,
          "clutchSize": null,
          "clutchesPerYear": null,
          "weaningAgeDays": 198,
          "sexualMaturityDays": 1095,
          "diet": "carnivore",
          "activityCycle": "nocturnal",
          "habitatLayer": "ground",
          "homeRangeKm2": 55.2,
          "populationDensityPerKm2": 0.11,
          "socialGroupSize": null,
          "geographicRangeKm2": 11237685
        },
        "lifespan": {
          "maxYears": 28,
          "recordedIn": "captivity",
          "dataQuality": "acceptable"
        },
        "wikidataId": "Q140"
      },
      {
        "commonName": "California sea lion",
        "scientificName": "Zalophus californianus",
        "otherNames": [],
        "taxonomy": {
          "kingdom": "Animalia",
          "phylum": "Chordata",
          "class": "Mammalia",
          "order": "Carnivora",
          "family": "Otariidae",
          "genus": "Zalophus"
        },
        "conservationStatus": "Least Concern",
        "conservationCode": "LC",
        "traits": {
          "adultBodyMassKg": 137,
          "adultBodyMassG": 137195,
          "headBodyLengthCm": 202,
          "birthWeightG": 7000,
          "gestationDays": 259,
          "incubationDays": null,
          "litterSize": 1.2,
          "littersPerYear": 0.5,
          "clutchSize": null,
          "clutchesPerYear": null,
          "weaningAgeDays": 315,
          "sexualMaturityDays": 1095,
          "diet": "omnivore",
          "activityCycle": "mixed",
          "habitatLayer": "ground",
          "homeRangeKm2": null,
          "populationDensityPerKm2": 0.5,
          "socialGroupSize": null,
          "geographicRangeKm2": null
        },
        "lifespan": {
          "maxYears": 35.7,
          "recordedIn": "captivity",
          "dataQuality": "high"
        },
        "wikidataId": "Q379732"
      },
      {
        "commonName": "Southern sea lion",
        "scientificName": "Otaria flavescens",
        "otherNames": [
          "South American sea lion"
        ],
        "taxonomy": {
          "kingdom": "Animalia",
          "phylum": "Chordata",
          "class": "Mammalia",
          "order": "Carnivora",
          "family": "Otariidae",
          "genus": "Otaria"
        },
        "conservationStatus": null,
        "conservationCode": null,
        "traits": {
          "adultBodyMassKg": 194,
          "adultBodyMassG": 193671,
          "headBodyLengthCm": 211,
          "birthWeightG": 12500,
          "gestationDays": 357,
          "incubationDays": null,
          "litterSize": 1,
          "littersPerYear": 1,
          "clutchSize": null,
          "clutchesPerYear": null,
          "weaningAgeDays": 365,
          "sexualMaturityDays": 1461,
          "diet": "omnivore",
          "activityCycle": null,
          "habitatLayer": "ground",
          "homeRangeKm2": null,
          "populationDensityPerKm2": null,
          "socialGroupSize": null,
          "geographicRangeKm2": null
        },
        "lifespan": {
          "maxYears": 29,
          "recordedIn": "captivity",
          "dataQuality": "acceptable"
        },
        "wikidataId": "Q333649"
      }
    ]
  }
}

Response fields

Paths are relative to data. Premium fields are absent rather than zeroed on plans that do not include them, so check for presence instead of comparing to 0.

FieldTypeExampleDescription
querystring"lion"The name searched for
totalMatchesnumber28Number of species that matched the name
countnumber3Number of animals returned
animalsarray[3]Matching species, exact names first, best-known first
commonNamestring"Lion"English common name
scientificNamestring"Panthera leo"Scientific (binomial) name
otherNamesarray[African Lion, ...]Other English names
taxonomyobject{...}Taxonomic classification
kingdomstring"Animalia"Kingdom
phylumstring"Chordata"Phylum
classstring"Mammalia"Class, e.g. Mammalia, Aves, Reptilia
orderstring"Carnivora"Order
familystring"Felidae"Family
genusstring"Panthera"Genus
conservationStatusstring"Vulnerable"IUCN Red List category, e.g. Vulnerable. Null when not on record
conservationCodestring"VU"IUCN category code: LC, NT, VU, EN, CR, EW, EX or DD
traitsobject{...}Life-history and ecology traits; each is null where not recorded
adultBodyMassKgnumber159Average adult body mass in kilograms
adultBodyMassGPremiumnumber158624Average adult body mass in grams
headBodyLengthCmPremiumnumber184Adult head-body length in centimetres (mammals)
birthWeightGPremiumnumber1300Weight at birth or hatching in grams
gestationDaysPremiumnumber109Gestation length in days (mammals)
incubationDaysPremiumobjectnullIncubation length in days (egg layers)
litterSizePremiumnumber3Average young per litter (mammals)
littersPerYearPremiumnumber1Average litters per year (mammals)
clutchSizePremiumobjectnullAverage eggs or young per clutch (non-mammals)
clutchesPerYearPremiumobjectnullAverage clutches per year (non-mammals)
weaningAgeDaysPremiumnumber198Age at weaning in days
sexualMaturityDaysPremiumnumber1095Age at sexual maturity in days
dietstring"carnivore"herbivore, omnivore or carnivore (mammals)
activityCyclePremiumstring"nocturnal"nocturnal, diurnal or mixed (mammals)
habitatLayerPremiumstring"ground"ground (ground-dwelling or burrowing) or above ground (tree-dwelling or flying)
homeRangeKm2Premiumnumber55.2Home range in square kilometres
populationDensityPerKm2Premiumnumber0.11Individuals per square kilometre
socialGroupSizePremiumobjectnullAverage social group size
geographicRangeKm2Premiumnumber11237685Area of the geographic range in square kilometres
lifespanobject{...}Maximum recorded lifespan
maxYearsPremiumnumber28Maximum recorded lifespan in years
recordedInPremiumstring"captivity"wild or captivity: where the record was set. Null when unknown
dataQualityPremiumstring"acceptable"Reliability of the lifespan record: low, questionable, acceptable or high
wikidataIdstring"Q140"Wikidata id of the species, e.g. Q140

Errors

Read the HTTP status first, then error for the specific reason. The body names the parameter that has to change. Error handling covers the full status list and which of them are worth retrying.

StatusMeaningWhat to do
400Input was rejectedRead error; it names the parameter.
401Key missing or invalidCheck the header name and the key value.
403Key valid, but not permittedA key restriction or IP allow-list; see key scoping.
429Rate limited, or out of creditsRead error to tell them apart; see rate limits.

Use cases

Education and Kids Apps
Turn a typed animal name into a fact card with its scientific name, class, family, diet, weight and how long it lives.
Zoo and Wildlife Guides
Show conservation status, size, breeding facts and lifespan beside each exhibit or field-guide entry.
Quiz and Trivia Games
Generate questions such as which lives longer or which weighs more from lifespan and body mass across thousands of species.
Research and Data Dashboards
Join species lists to life-history traits such as gestation, litter size, home range and population density for comparative analysis.

Other ways to use Animal Lookup

Set up Animal Lookup on APIVerve, or reach the same source a different way. Your APIVerve account and credits work on all of them — one key, one balance.

Give it to an AI agentConnect over MCP and your agent calls it as a native tool — Claude, Cursor, ChatGPT.VerveKit →Reference →
Google Sheets or ExcelA =VERVE() formula fills a column — no script, no export, recalculates in place.VerveSheets →Reference →
Ground an agent on itA cited, machine-checkable fact your model can't produce on its own.VerveContext →Reference →

More in Science:

Was this page helpful?