← Back to API Ninjas
GET/v1/motorcycles

Search motorcycles by make, model, and year

Returns technical specifications for motorcycle models matching a make, model and/or year, with partial matching on make and model and `offset` paging.

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

Query parameters

make
string

Name of manufacturer/brand. Supports partial matching.

model
string

Name of motorcycle model. Supports partial matching.

year
string

Release year of motorcycle model. Must be in the form of YYYY.

offset
number

Number of results to offset for pagination. Default is 0. (Default: 0)

    Orthogonal - Giving AI agents the tools they need.