Animals API
The Animals API provides interesting scientific facts on thousands of different animal species.
From 7,149 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 381ms | 416ms | 466ms | 634ms | 1247ms |
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
namerequiredCommon name of animal to search. This parameter supports partial matches (e.g.
foxwill matchgray foxandred fox).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
Returns an array of animal objects, each containing:
nameCommon name of the animal.
taxonomyObject containing taxonomic classification:
kingdom,phylum,class,order,family,genus, andscientific_name.locationsArray of geographic locations where the animal is found.
characteristicsObject 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, andage_of_weaning.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/animals?name=cheetahHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
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.