Data source: Curated dataset (IUCN, Wikipedia)
https://context.gnist.ai/rest/animals/
AuthenticationAll requests require a Gnist-API-Key header (or api_key query parameter).
Free tier: 100 calls/day. Get your API key.
Tools (8)
get_animalsearch_animalslist_animals_by_classlist_animals_by_habitatlist_endangered_speciesget_animal_classesget_animal_habitatsreport_feedback
get_animalGet detailed information about an animal species.
Returns taxonomy, habitat, diet, lifespan, physical characteristics, conservation status, and description.
| Parameter | Type | Required | Description |
|---|---|---|---|
animal_id | string | required | Animal ID slug (e.g. african-elephant, blue-whale, axolotl). |
{
"animal_id": "example"
}search_animalsSearch the animal species database.
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search by common name, scientific name, or family. |
limit | integer | optional | (default: 20) |
{
"query": "example"
}list_animals_by_classList animals by taxonomic class.
| Parameter | Type | Required | Description |
|---|---|---|---|
animal_class | string | required | Taxonomic class (e.g. Mammalia, Aves, Reptilia, Amphibia). |
limit | integer | optional | (default: 50) |
{
"animal_class": "example"
}list_animals_by_habitatList animals by habitat type.
| Parameter | Type | Required | Description |
|---|---|---|---|
habitat | string | required | Habitat type (e.g. Forest, Ocean, Savanna, Arctic). |
limit | integer | optional | (default: 50) |
{
"habitat": "example"
}list_endangered_speciesList endangered and critically endangered animal species.
| Parameter | Type | Required | Description |
|---|---|---|---|
limit | integer | optional | (default: 20) |
{
"query": "example"
}get_animal_classesList all taxonomic classes in the database.
{
"query": "example"
}get_animal_habitatsList all habitat types in the database.
{
"query": "example"
}report_feedbackReport a bug, feature request, or general feedback for this data source.
Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.
Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.
| Parameter | Type | Required | Description |
|---|---|---|---|
feedback | string | required | |
feedback_type | string | optional | (default: "general") |
{
"feedback": "example"
}Quick Start
curl -X POST "https://context.gnist.ai/rest/animals/get_animal" \
-H "Content-Type: application/json" \
-H "Gnist-API-Key: YOUR_API_KEY" \
-d '{"animal_id": "example"}'
import httpx
resp = httpx.post(
"https://context.gnist.ai/rest/animals/get_animal",
headers={"Gnist-API-Key": "YOUR_API_KEY"},
json={
"animal_id": "example"
},
)
print(resp.json())