← Back to API Ninjas
Retrieve information about animals
Returns scientific facts about animal species whose common name matches the search term, including partial matches. Requires `name`.
API Ninjas·$0.001 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "api-ninjas",
path: "/v1/animals",
query: {
"name": "example"
}
});
console.log(output);Query parameters
namerequired
string
Common name of animal to search. This parameter supports partial matches.