api-ninjas-com Animals API

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

Operations 1

GET /v1/animals Retrieve information about animals #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/api-ninjas-com:api-ninjas-com-animals-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

api-ninjas-com-animals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ninjas Animals API
  description: 'Combined OpenAPI specification for every API Ninjas endpoint. Requests go to https://api.api-ninjas.com with an `X-Api-Key` header; get a free key at https://api-ninjas.com/register. Human-readable docs: https://api-ninjas.com/api. Index for LLMs: https://api-ninjas.com/llms.txt.'
  version: 1.0.0
  contact:
    name: API Ninjas
    url: https://api-ninjas.com
  license:
    name: Proprietary
servers:
- url: https://api.api-ninjas.com
  description: API Ninjas Production
security:
- ApiKeyAuth: []
tags:
- name: Animals
  description: The Animals API provides interesting scientific facts on thousands of different animal species.
paths:
  /v1/animals:
    get:
      summary: Retrieve information about animals
      description: Returns scientific facts about animal species whose common name matches the search term, including partial matches. Requires `name`.
      operationId: getAnimals
      security:
      - ApiKeyAuth: []
      parameters:
      - name: name
        in: query
        required: true
        description: Common name of animal to search. This parameter supports partial matches.
        schema:
          type: string
      responses:
        '200':
          $ref: '#/components/responses/200'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '500':
          $ref: '#/components/responses/500'
      tags:
      - Animals
components:
  responses:
    '500':
      description: Internal Server Error. Something went wrong on the API's end.
    '400':
      description: Bad Request. The request was unacceptable, often due to missing a required parameter.
    '401':
      description: Unauthorized. No valid API key provided.
    '200':
      description: A list of animals matching the query.
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/Animal'
  schemas:
    Animal:
      type: object
      properties:
        name:
          type: string
          description: Common name of the animal.
        taxonomy:
          type: object
          properties:
            kingdom:
              type: string
            phylum:
              type: string
            class:
              type: string
            order:
              type: string
            family:
              type: string
            genus:
              type: string
            scientific_name:
              type: string
        locations:
          type: array
          items:
            type: string
        characteristics:
          type: object
          properties:
            prey:
              type: string
            name_of_young:
              type: string
            group_behavior:
              type: string
            estimated_population_size:
              type: string
            biggest_threat:
              type: string
            most_distinctive_feature:
              type: string
            gestation_period:
              type: string
            habitat:
              type: string
            diet:
              type: string
            average_litter_size:
              type: string
            lifestyle:
              type: string
            common_name:
              type: string
            number_of_species:
              type: string
            location:
              type: string
            slogan:
              type: string
            group:
              type: string
            color:
              type: string
            skin_type:
              type: string
            top_speed:
              type: string
            lifespan:
              type: string
            weight:
              type: string
            height:
              type: string
            age_of_sexual_maturity:
              type: string
            age_of_weaning:
              type: string
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-Api-Key
externalDocs:
  description: API Ninjas documentation
  url: https://api-ninjas.com/api