Motorcycles API
The Motorcycles API provides highly-detailed technical data on tens of thousands of different motorcycle models from hundreds of manufacturers.
Available endpoints:
- /v1/motorcycles - Search motorcycles by make, model, and year
- /v1/motorcyclemakes - Get list of all motorcycle manufacturers
- /v1/motorcyclemodels - Get list of all models for a specific manufacturer
From 6,281 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 181ms | 208ms | 235ms | 449ms | 841ms |
Similar APIs
Didn't find what you were looking for? Suggest an improvement
/v1/motorcycles GET
https://api.api-ninjas.com/v1/motorcycles
Returns up to 30 motorcycle results matching the input name parameters. For searches that yield more than 30 results, please use the offset parameter.
Parameters
makeoptionalName of manufacturer/brand. Supports partial matching (e.g.
Harleywill matchHarley-Davidson).modeloptionalName of motorcycle model. Supports partial matching (e.g.
Ninjawill matchNinja 650).yearoptionalRelease year of motorcycle model. Must be in the form of
YYYY(e.g.2022).offsetoptional premium onlyNumber of results to offset for pagination. Default is
0.
Either make or model must be set.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of motorcycle objects. Each object contains a large number of technical specifications (see sample response). Returns an error if the request is unsuccessful.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/motorcycles?make=Kawasaki&model=NinjaHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/motorcycles?make=kawasaki&model=ninja" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/motorcyclemakes GET
Business, Professional, or annual subscriptions only
https://api.api-ninjas.com/v1/motorcyclemakes
Returns a list of all motorcycle makes (manufacturers).
Parameters
None
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of strings, or an error if the request is unsuccessful.
Sample Request
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/motorcyclemakesHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
/v1/motorcyclemodels GET
Business, Professional, or annual subscriptions only
https://api.api-ninjas.com/v1/motorcyclemodels
Returns a list of all motorcycle models for a given make (manufacturer).
Parameters
makerequiredVehicle manufacturer (e.g.
kawasaki).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of strings, or an error if the request is unsuccessful.
Sample Request
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/motorcyclemodels?make=kawasakiHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Frequently Asked Questions
Can I use the Motorcycles API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the Motorcycles API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the Motorcycles API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the Motorcycles API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.How do I look up a specific motorcycle's specifications?
Send a GET request to the/v1/motorcyclesendpoint with either amakeormodelparameter (both support partial matching, soHarleymatchesHarley-Davidson), and optionally ayearinYYYYform. For four-wheeled vehicle specs, see the Cars API.What technical fields does the Motorcycles API return?
Each motorcycle object includes dozens of specifications such astype,displacement,engine,power,torque,gearbox,front_suspension,front_brakes,total_weight,seat_height, andfuel_capacity. Browse other vehicle data endpoints in the full API catalog.How do I get the list of available makes and models?
Use the/v1/motorcyclemakesendpoint to retrieve all manufacturers, and/v1/motorcyclemodelswith a requiredmakeparameter to list that brand's models; both require a Business, Professional, or annual subscription as noted on our pricing page.How many results does a motorcycles search return, and how do I page through more?