CarSpecsAPI
REST API for car specifications: 70,000+ trims from 1945 to present, organised by make, model, generation and trim, with up to 76 fields per trim, plus a VIN…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
REST API for car specifications: 70,000+ trims from 1945 to present, organised by make, model, generation and trim, with up to 76 fields per trim, plus a VIN decoder and a full database download.
Authenticate with your API key in the X-API-Key header. Get a free key at https://carspecsapi.com/auth/signup (100 requests per day). Keep the key on your server; the API does not support calls from browsers (no CORS).
Successful JSON responses are wrapped in { success, data, meta }. Errors return { success: false, error: { code, message } }. Daily limits reset at midnight UTC; counted requests carry X-RateLimit-* headers. Each plan also has a per-second limit (Free 3, Starter 10, Pro 25, Database 50 requests per second); faster requests get 429 BURST_LIMIT_EXCEEDED with a Retry-After header.
Endpoints 7
Car data
- GETList all makes
/v2/cars/makesReturns every car manufacturer. Use a make's id to list its models. Available on: Free plan and above. - GETList models of a make
/v2/cars/makes/:makeId/modelsReturns the models of a make. An unknown make ID returns an empty list. Available on: Free plan and above. - GETList generations of a model
/v2/cars/models/:modelId/generationsReturns the generations of a model with their production years. yearTo is omitted for generations still in production. Available on: Free plan and above. - GETList trims of a generation
/v2/cars/generations/:generationId/trimsReturns the trims (engine and body variants) of a generation. Use a trim's id to get its full specifications. Available on: Starter plan and above. - GETGet a trim's full specifications
/v2/cars/trims/:trimIdReturns up to 76 specification fields for one trim: dimensions, weights, engine, performance, fuel consumption, transmission, chassis and EV data. Values are…
VIN decoder
- POSTDecode a VIN
/v2/vin-decoder/decodeDecodes a 17-character VIN into up to 143 attributes, such as make, model, model year, engine, safety equipment and manufacturing plant. Works best for…
Database download
- GETDownload the full database
/v2/cars/download-databaseDownloads the complete database as a ZIP archive containing a CSV file. Each successful download counts toward the Database plan's 100 downloads per calendar…
API details
- Base URL
https://carspecsapi.com/api- Authentication
- An API key in the X-API-Key header
- Operations
- 7 operations on 7 pathsGET 6POST 1
- Main resources
- Car data 5Database download 1VIN decoder 1
- Response formats
application/jsonapplication/zip- Description format
- OpenAPI 3.0.3, API version
2.0.0 - Links
- Documentation · OpenAPI document · Terms of service · Support
- Listed from
- Carspecsapi's published OpenAPI description
How to test the CarSpecsAPI in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the CarSpecsAPI collection, without the publisher's secrets.
- Add your credentialsThis API uses an API key in the X-API-Key header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “List all makes” (GET /v2/cars/makes), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the CarSpecsAPI?
REST API for car specifications: 70,000+ trims from 1945 to present, organised by make, model, generation and trim, with up to 76 fields per trim, plus a VIN… It is listed under Logistics & shipping and has 7 endpoints.
Who publishes the CarSpecsAPI?
It is listed from CarSpecsAPI's public API description (an OpenAPI document), not published by CarSpecsAPI on Swastik Codes. Anyone who controls carspecsapi.com can claim the profile by adding a DNS TXT record.
What is the base URL of the CarSpecsAPI?
Requests go to https://carspecsapi.com/api. Endpoint paths are added to this base URL.
How do I authenticate with the CarSpecsAPI?
With an API key in the X-API-Key header.
How many endpoints does the CarSpecsAPI have?
7 operations on 7 paths (6 GET, 1 POST). The largest groups are Car data, Database download, VIN decoder.
Is forking the CarSpecsAPI free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.