Documentation
API reference.
Decode VINs, pull official US safety data and look up plates. JSON over HTTPS, one API key, and an MCP server for AI agents.
Overview
Every endpoint lives under https://vehicles-api.com/api/v1, accepts JSON (POST) or a query string (GET) and answers with the same envelope:
{
"status": "success",
"source": "us_official",
"data": { … }
}{
"status": "error",
"error": {
"code": "invalid_vin",
"message": "VIN must be 17 characters…"
}
}source: "europe" (POST /vin/decode/europe asks that decoder directly). Only when neither can decode it is it a 404 not_found, or a 422 invalid_vin with error.positions when its characters match nothing on file. Fields that don't apply to the vehicle (fuel on a trailer) are null. Recalls, complaints and NCAP ratings are official US data and cover vehicles sold in the US, matched by make + model + year — wherever the vehicle was built. A US-market vehicle with no recalls returns HTTP 200, an empty list and coverage: "us". A VIN with no US-market make/model/year match returns HTTP 200 with an empty list (null stars on /vin/safety-ratings) and coverage: "us_only" on /vin/recalls, /vin/complaints and /vin/safety-ratings, and is not billed; /vin/report returns 200 with the decoded specs and an empty safety block marked coverage: "us_only", billed for the specs. No VIN? GET /recalls?make=&model=&year= lists the US-market campaigns for that model; if that model isn't on file for the make and year, it returns 422 invalid_vehicle with the closest names in error.suggestions.Authentication
Send your API key in the X-API-Key header on every request. Authorization: Bearer <key> works too, and the legacy ?api_key= query parameter is still accepted for backwards compatibility.
X-API-Key: YOUR_API_KEYCreate, rename and revoke keys from the dashboard. Keep keys server-side — never ship them in browser or mobile code.
Errors
Errors use standard HTTP status codes plus a stable machine-readable error.code. Only 2xx responses count toward your quota — an error is never billed.
| HTTP | error.code | Meaning | Counts toward quota |
|---|---|---|---|
| 400 | invalid_json | The request body was sent as JSON but doesn't parse. | No |
| 401 | invalid_api_key | Missing, invalid, revoked or expired API key. | No |
| 403 | no_active_plan | The account has no active trial or subscription. | No |
| 403 | plate_us_not_in_plan | US plate lookups aren't in your plan (Starter, free trial, sandbox keys). They start at Professional. | No |
| 404 | not_found | No record for that input — an unknown Dutch plate, or a VIN neither the US nor the European data can decode — or no such endpoint. | No |
| 405 | method_not_allowed | Wrong HTTP method for the endpoint (e.g. GET on a POST endpoint). | No |
| 422 | invalid_vin · invalid_plate · invalid_vehicle | Malformed or missing input — VINs are 17 characters without I, O or Q, Dutch plates 6 letters and digits; /v1/recalls needs make, model and year, and a model not on file comes back with error.suggestions. | No |
| 422 | invalid_vin | Characters of the VIN (listed in error.positions) match nothing the manufacturer filed for the US market: a typo, or a model built only for markets outside the US. | No |
| 429 | rate_limit_exceeded | Per-minute rate limit reached. Retry after the Retry-After seconds. | No |
| 429 | quota_exceeded | Monthly quota (or the 50 trial calls) used up. Only on calls that would be billed: invalid input or a plan error still gets its own code. Retry-After counts down to the end of the trial or the monthly reset. | No |
| 429 | plate_us_quota_exceeded | This month's US plate lookups are used up. Every other endpoint keeps working. | No |
| 503 | upstream_unavailable | The vehicle data provider is temporarily unavailable. Retry after the Retry-After seconds, with backoff. | No |
Rate limits & quotas
Each plan has a monthly request quota and a per-minute rate limit. Responses include X-RateLimit-Limit and X-RateLimit-Remaining for the per-minute window, and X-Quota-Limit and X-Quota-Remaining for the monthly quota after that call. A 429 carries Retry-After. During the 7-day free trial the quota is 50 requests, and they don't refill: the paid plan's quota starts when the trial ends.
| Plan | Requests / month | Requests / minute | Price |
|---|---|---|---|
| Starter | 1,000 | 60 | $19/mo |
| Professional | 4,000 | 120 | $49/mo |
| Business | 10,000 | 240 | $199/mo |
Decode
Year, make, model, trim, engine, transmission and assembly plant for a 17-character VIN from any manufacturer registered for the US market, wherever the vehicle was built. When the manufacturer reported them: fuel type (and the second fuel of a plug-in hybrid), electrification level, EV drive unit, battery kWh and onboard charger. A VIN the US data can't decode (a European brand or European-market model) is decoded from European data instead, with source "europe".
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
vinrequired |
string | 17 characters · letters I, O and Q are never used Example: 1HGCM82633A004352 |
curl -X POST https://vehicles-api.com/api/v1/vin/decode \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"1HGCM82633A004352"}'
{
"status": "success",
"source": "us_official",
"data": {
"vin": "1HGCM82633A004352",
"valid": true,
"year": 2003,
"make": "HONDA",
"model": "Accord",
"trim": "EX-V6",
"body": "Coupe",
"doors": 2,
"vehicle_type": "PASSENGER CAR",
"engine": {
"cylinders": 6,
"displacement_l": 3,
"configuration": "V-Shaped",
"model": "J30A4",
"hp": 240,
"fuel": "Gasoline"
},
"fuel_type": "Gasoline",
"fuel_type_secondary": null,
"electrification_level": null,
"ev_drive_unit": null,
"battery_kwh": null,
"charger_level": null,
"charger_power_kw": null,
"drive": null,
"transmission": {
"style": "Automatic",
"speeds": 5
},
"plant": {
"country": "UNITED STATES (USA)",
"city": "MARYSVILLE",
"state": "OHIO"
},
"manufacturer": "AMERICAN HONDA MOTOR CO., INC."
}
}
Decode · Europe
Year, make, model, trim, body, engine and transmission for European brands and European-market models the US data doesn't cover (Renault, Citroën, Peugeot, VW "ZZZ" VINs), and other non-US VINs. Same response shape as Decode; fields the source doesn't have are null. /vin/decode and /vin/report already fall back to it when the US data can't decode a VIN.
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
vinrequired |
string | 17 characters · a European VIN, e.g. VF1, VF3, VF7, WVW…ZZZ Example: 1HGCM82633A004352 |
curl -X POST https://vehicles-api.com/api/v1/vin/decode/europe \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"1HGCM82633A004352"}'
{
"status": "success",
"source": "europe",
"data": {
"vin": "VF1RJA00X68123456",
"valid": false,
"year": 2021,
"make": "RENAULT",
"model": "Clio",
"trim": null,
"body": "Hatchback",
"doors": 5,
"vehicle_type": null,
"engine": {
"cylinders": 3,
"displacement_l": null,
"configuration": null,
"model": null,
"hp": null,
"fuel": "Gasoline"
},
"fuel_type": "Gasoline",
"fuel_type_secondary": null,
"electrification_level": null,
"ev_drive_unit": null,
"battery_kwh": null,
"charger_level": null,
"charger_power_kw": null,
"drive": null,
"transmission": {
"style": "Manual",
"speeds": null
},
"plant": {
"country": "France",
"city": null,
"state": null
},
"manufacturer": "Renault S.A."
}
}
Full report
Specs, the official US recall campaigns for its year / make / model, complaint count and crash ratings in a single call. If one of those sources is temporarily down, the rest still comes back: that block is empty, its count is null and its name is listed in unavailable.
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
vinrequired |
string | 17 characters · letters I, O and Q are never used Example: 1HGCM82633A004352 |
curl -X POST https://vehicles-api.com/api/v1/vin/report \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"1HGCM82633A004352"}'
{
"status": "success",
"source": "us_official",
"data": {
"vin": "1HGCM82633A004352",
"valid": true,
"year": 2003,
"make": "HONDA",
"model": "Accord",
"trim": "EX-V6",
"body": "Coupe",
"doors": 2,
"vehicle_type": "PASSENGER CAR",
"engine": {
"cylinders": 6,
"displacement_l": 3,
"fuel": "Gasoline"
},
"fuel_type": "Gasoline",
"fuel_type_secondary": null,
"electrification_level": null,
"ev_drive_unit": null,
"battery_kwh": null,
"charger_level": null,
"charger_power_kw": null,
"plant": {
"country": "UNITED STATES (USA)",
"city": "MARYSVILLE",
"state": "OHIO"
},
"manufacturer": "AMERICAN HONDA MOTOR CO., INC.",
"coverage": "us",
"unavailable": [],
"recalls_count": 24,
"recalls": [
{
"campaign": "19V182000",
"component": "AIR BAGS:FRONTAL:DRIVER SIDE:INFLATOR MODULE",
"received": "2019-03-06",
"summary": "Replacement driver air bag inflator may explode.",
"consequence": "Sharp metal fragments may strike occupants.",
"remedy": "Dealers will replace the inflator, free of charge."
}
],
"complaints_count": 2013,
"safety_ratings": {
"match": "partial",
"vehicle_description": "2003 Honda Accord 2-DR.",
"overall": null,
"front": {
"overall": null,
"driver": 5,
"passenger": 5
},
"side": {
"overall": null,
"driver": 5,
"passenger": 5
},
"rollover": 4,
"vehicle_id": 4736
}
}
}
Validate
Format and ISO 3779 check-digit validation, computed locally (no upstream call). The check digit is mandatory for North American VINs; many European makers put Z or another filler in position 9, so valid: false there doesn't mean the VIN is fake.
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
vinrequired |
string | 17 characters · the 9th character is the check digit Example: 1HGCM82633A004352 |
curl -X POST https://vehicles-api.com/api/v1/vin/validate \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"vin":"1HGCM82633A004352"}'
{
"status": "success",
"source": "local",
"data": {
"vin": "1HGCM82633A004352",
"valid": true,
"check_digit": "3"
}
}
Recalls
Official US recall campaigns for the decoded year / make / model. A VIN with no US-market match is a 200 with an empty list and coverage "us_only", not billed.
Parameters — query string
| Name | Type | Description |
|---|---|---|
vinrequired |
string | Matched by make + model + year: any vehicle sold in the US, wherever it was built Example: 1HGCM82633A004352 |
curl "https://vehicles-api.com/api/v1/vin/recalls?vin=1HGCM82633A004352" \
-H "X-API-Key: YOUR_API_KEY"
{
"status": "success",
"source": "us_official",
"data": {
"vin": "1HGCM82633A004352",
"year": 2003,
"make": "HONDA",
"model": "Accord",
"coverage": "us",
"count": 24,
"recalls": [
{
"campaign": "19V182000",
"component": "AIR BAGS:FRONTAL:DRIVER SIDE:INFLATOR MODULE",
"received": "2019-03-06",
"summary": "Replacement driver air bag inflator may explode.",
"consequence": "Sharp metal fragments may strike occupants.",
"remedy": "Dealers will replace the inflator, free of charge."
}
]
}
}
Recalls by model
Official US-market recall campaigns for a make, model and year — no VIN needed. Make and model come back spelled as the VIN endpoints spell them. Zero campaigns is a 200 with an empty list; a model not on file for that make and year is a 422 with the closest names on file.
Parameters — query string
| Name | Type | Description |
|---|---|---|
makerequired |
string | Brand as sold in the US, case-insensitive Example: BMW |
modelrequired |
string | US-market model name, as sold in the US Example: 320i |
yearrequired |
string | 4-digit model year Example: 2002 |
curl "https://vehicles-api.com/api/v1/recalls?make=BMW&model=320i&year=2002" \
-H "X-API-Key: YOUR_API_KEY"
{
"status": "success",
"source": "us_official",
"data": {
"year": 2002,
"make": "BMW",
"model": "320i",
"coverage": "us",
"count": 1,
"recalls": [
{
"campaign": "20V018000",
"component": "AIR BAGS:FRONTAL:PASSENGER SIDE:INFLATOR MODULE",
"received": "2020-01-15",
"summary": "BMW is recalling certain 2000-2006 3 Series vehicles equipped with Takata PSAN passenger frontal air bag inflators.",
"consequence": "An inflator explosion may result in sharp metal fragments striking the driver or other occupants.",
"remedy": "Dealers will replace the passenger front air bag, free of charge."
}
]
}
}
Complaints
Official US owner complaints — the 50 most recent, plus the true total. A VIN with no US-market match is a 200 with an empty list and coverage "us_only", not billed.
Parameters — query string
| Name | Type | Description |
|---|---|---|
vinrequired |
string | Matched by make + model + year: any vehicle sold in the US, wherever it was built Example: 1HGCM82633A004352 |
curl "https://vehicles-api.com/api/v1/vin/complaints?vin=1HGCM82633A004352" \
-H "X-API-Key: YOUR_API_KEY"
{
"status": "success",
"source": "us_official",
"data": {
"vin": "1HGCM82633A004352",
"year": 2003,
"make": "HONDA",
"model": "Accord",
"coverage": "us",
"count": 2013,
"complaints": [
{
"odi_number": "11459899",
"date": "2022-03-15",
"filed": "2022-03-18",
"crash": false,
"fire": false,
"injured": 0,
"deaths": 0,
"components": [
"AIR BAGS"
],
"summary": "Driver airbag warning light illuminated."
}
]
}
}
Safety ratings
US NCAP crash-test stars: frontal, side and rollover. A VIN with no US-market match is a 200 with null stars and coverage "us_only", not billed.
Parameters — query string
| Name | Type | Description |
|---|---|---|
vinrequired |
string | Matched by make + model + year: any vehicle sold in the US, wherever it was built Example: 1HGCM82633A004352 |
curl "https://vehicles-api.com/api/v1/vin/safety-ratings?vin=1HGCM82633A004352" \
-H "X-API-Key: YOUR_API_KEY"
{
"status": "success",
"source": "us_official",
"data": {
"vin": "1HGCM82633A004352",
"coverage": "us",
"match": "partial",
"vehicle_description": "2003 Honda Accord 2-DR.",
"overall": null,
"front": {
"overall": null,
"driver": 5,
"passenger": 5
},
"side": {
"overall": null,
"driver": 5,
"passenger": 5
},
"rollover": 4,
"vehicle_id": 4736
}
}
Netherlands
Dutch RDW registration record for a kenteken (plate). RDW data never includes the VIN.
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
platerequired |
string | With or without dashes — K-875-HJ works too Example: K875HJ |
curl -X POST https://vehicles-api.com/api/v1/plate/nl \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plate":"K875HJ"}'
{
"status": "success",
"source": "plate_nl",
"data": {
"plate": "K875HJ",
"vin": null,
"year": 2021,
"make": "TOYOTA",
"model": "AYGO",
"body": "hatchback",
"color": "GRIJS",
"doors": 4,
"seats": 4,
"vehicle_type": "Personenauto",
"engine": {
"cylinders": 3,
"displacement_cc": 998,
"fuel": "Benzine"
},
"mass_kg": 815,
"apk_expires": "2027-01-04",
"first_registration": "2021-01-04",
"open_recall": false
}
}
United States
Plate + state → VIN → specs, via a plate-to-VIN vendor. Has its own monthly allowance on top of the request quota: 100 lookups on Professional, 500 on Business, none on Starter or the free trial. Every lookup counts against it, found or not.
Parameters — JSON body
| Name | Type | Description |
|---|---|---|
platerequired |
string | No spaces Example: 7ABC123 |
staterequired |
string | USPS 2-letter code Example: CA |
curl -X POST https://vehicles-api.com/api/v1/plate/us \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"plate":"7ABC123","state":"CA"}'
{
"status": "success",
"source": "plate_us",
"data": {
"plate": "7ABC123",
"state": "CA",
"vin": "1HGCM82633A004352",
"year": 2003,
"make": "HONDA",
"model": "Accord",
"trim": "EX-V6",
"body": "Coupe",
"vehicle_type": "PASSENGER CAR"
}
}
US states
The US states (USPS codes) covered by plate lookups. Static reference data.
curl "https://vehicles-api.com/api/v1/plate/us/states" \
-H "X-API-Key: YOUR_API_KEY"
{
"status": "success",
"source": "plate_us",
"data": {
"states": [
{
"code": "AL",
"name": "Alabama"
},
{
"code": "AK",
"name": "Alaska"
},
{
"code": "…",
"name": "51 entries in total"
}
]
}
}
MCP server
Connect Claude, Cursor, ChatGPT or any Model Context Protocol client to https://vehicles-api.com/mcp (Streamable HTTP). Authenticate with your API key as a Bearer token. initialize and tools/list are free; each tools/call counts as one API request.
Tools: decode_vin, decode_vin_europe, vehicle_report, validate_vin, vin_recalls, vehicle_recalls, vin_complaints, vin_safety_ratings, lookup_dutch_plate, plate_us, list_us_plate_states .
Agent credentials
Autonomous agents can obtain a sandbox key without a signup form, using OAuth 2.0 client credentials:
POST https://vehicles-api.com/oauth/registerwithclient_nameandcontact_email→client_id+client_secretPOST https://vehicles-api.com/oauth/tokenwithgrant_type=client_credentials→access_token- Use the token as
Authorization: Bearer …on the REST API or the MCP server
Machine-readable discovery: auth.md · oauth-protected-resource · api-catalog · MCP server card · agent skills · llms.txt