← Back to API Ninjas

Get a list of dog breeds matching specified parameters.

Returns dog breeds matching filters such as name, height, weight, life expectancy, shedding, barking, energy, or trainability. For breed names only use /alldogs.

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/dogs" }); console.log(output);

Query parameters

name
string

The name of breed.

min_height
number

Minimum height in inches.

max_height
number

Maximum height in inches.

min_weight
number

Minimum weight in pounds.

max_weight
number

Maximum weight in pounds.

min_life_expectancy
number

Minimum life expectancy in years.

max_life_expectancy
number

Maximum life expectancy in years.

shedding
number

How much hair the breed sheds.

barking
number

How vocal the breed is.

energy
number

How much energy the breed has.

protectiveness
number

How likely the breed is to alert strangers.

trainability
number

How easy it is to train the breed.

offset
number

Number of results to offset for pagination.

    Orthogonal - Giving AI agents the tools they need.