Animals API

The Animals API provides interesting scientific facts on thousands of different animal species.

(4.4)

From 7,149 users

1,800+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
381ms416ms466ms634ms1247ms

Similar APIs

Didn't find what you were looking for? Suggest an improvement


/v1/animals GET

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

Returns up to 10 results matching the input name parameter.

Parameters

  • name  required

    Common name of animal to search. This parameter supports partial matches (e.g. fox will match gray fox and red fox).

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

Returns an array of animal objects, each containing:

  • name

    Common name of the animal.

  • taxonomy

    Object containing taxonomic classification: kingdom, phylum, class, order, family, genus, and scientific_name.

  • locations

    Array of geographic locations where the animal is found.

  • characteristics

    Object containing detailed characteristics including prey, name_of_young, group_behavior, estimated_population_size, biggest_threat, most_distinctive_feature, gestation_period, habitat, diet, average_litter_size, lifestyle, common_name, number_of_species, location, slogan, group, color, skin_type, top_speed, lifespan, weight, height, age_of_sexual_maturity, and age_of_weaning.

Sample Request Live Demo!

name

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/animals?name=cheetah

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/animals?name=cheetah" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.