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.

BASE URLhttps://vehicles-api.com/api/v1

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:

Success
{
  "status": "success",
  "source": "us_official",
  "data": { … }
}
Error
{
  "status": "error",
  "error": {
    "code": "invalid_vin",
    "message": "VIN must be 17 characters…"
  }
}
Coverage: VIN decode covers manufacturers registered for the US market, wherever the vehicle was built (fullest for US-market models). A VIN the US data can't decode (a European brand such as Renault or Citroën, or a European-market VW "ZZZ" VIN) is decoded from European data instead: same fields, null where unknown, and 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.

Header
X-API-Key: YOUR_API_KEY

Create, 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.

HTTPerror.codeMeaningCounts toward quota
400invalid_jsonThe request body was sent as JSON but doesn't parse.No
401invalid_api_keyMissing, invalid, revoked or expired API key.No
403no_active_planThe account has no active trial or subscription.No
403plate_us_not_in_planUS plate lookups aren't in your plan (Starter, free trial, sandbox keys). They start at Professional.No
404not_foundNo 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
405method_not_allowedWrong HTTP method for the endpoint (e.g. GET on a POST endpoint).No
422invalid_vin · invalid_plate · invalid_vehicleMalformed 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
422invalid_vinCharacters 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
429rate_limit_exceededPer-minute rate limit reached. Retry after the Retry-After seconds.No
429quota_exceededMonthly 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
429plate_us_quota_exceededThis month's US plate lookups are used up. Every other endpoint keeps working.No
503upstream_unavailableThe 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.

PlanRequests / monthRequests / minutePrice
Starter1,00060$19/mo
Professional4,000120$49/mo
Business10,000240$199/mo
POST /v1/vin/decode

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

NameTypeDescription
vin
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/vin/decode", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"vin":"1HGCM82633A004352"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/vin/decode",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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."
    }
}
POST /v1/vin/decode/europe Europe

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

NameTypeDescription
vin
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/vin/decode/europe", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"vin":"1HGCM82633A004352"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/vin/decode/europe",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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."
    }
}
POST /v1/vin/report Best value

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

NameTypeDescription
vin
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/vin/report", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"vin":"1HGCM82633A004352"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/vin/report",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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
        }
    }
}
POST /v1/vin/validate Instant

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

NameTypeDescription
vin
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/vin/validate", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"vin":"1HGCM82633A004352"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/vin/validate",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "status": "success",
    "source": "local",
    "data": {
        "vin": "1HGCM82633A004352",
        "valid": true,
        "check_digit": "3"
    }
}
GET /v1/vin/recalls US market

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

NameTypeDescription
vin
required
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"
const res = await fetch("https://vehicles-api.com/api/v1/vin/recalls?vin=1HGCM82633A004352", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const json = await res.json();
import requests

res = requests.get(
    "https://vehicles-api.com/api/v1/vin/recalls",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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."
            }
        ]
    }
}
GET /v1/recalls No VIN

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

NameTypeDescription
make
required
string Brand as sold in the US, case-insensitive
Example: BMW
model
required
string US-market model name, as sold in the US
Example: 320i
year
required
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"
const res = await fetch("https://vehicles-api.com/api/v1/recalls?make=BMW&model=320i&year=2002", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const json = await res.json();
import requests

res = requests.get(
    "https://vehicles-api.com/api/v1/recalls",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"make":"BMW","model":"320i","year":"2002"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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."
            }
        ]
    }
}
GET /v1/vin/complaints US market

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

NameTypeDescription
vin
required
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"
const res = await fetch("https://vehicles-api.com/api/v1/vin/complaints?vin=1HGCM82633A004352", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const json = await res.json();
import requests

res = requests.get(
    "https://vehicles-api.com/api/v1/vin/complaints",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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."
            }
        ]
    }
}
GET /v1/vin/safety-ratings US market

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

NameTypeDescription
vin
required
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"
const res = await fetch("https://vehicles-api.com/api/v1/vin/safety-ratings?vin=1HGCM82633A004352", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const json = await res.json();
import requests

res = requests.get(
    "https://vehicles-api.com/api/v1/vin/safety-ratings",
    headers={"X-API-Key": "YOUR_API_KEY"},
    params={"vin":"1HGCM82633A004352"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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
    }
}
POST /v1/plate/nl NL

Netherlands

Dutch RDW registration record for a kenteken (plate). RDW data never includes the VIN.

Parameters — JSON body

NameTypeDescription
plate
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/plate/nl", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"plate":"K875HJ"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/plate/nl",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"plate":"K875HJ"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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
    }
}
POST /v1/plate/us Professional+

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

NameTypeDescription
plate
required
string No spaces
Example: 7ABC123
state
required
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"}'
const res = await fetch("https://vehicles-api.com/api/v1/plate/us", {
  method: "POST",
  headers: {
    "X-API-Key": "YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({"plate":"7ABC123","state":"CA"}),
});
const json = await res.json();
import requests

res = requests.post(
    "https://vehicles-api.com/api/v1/plate/us",
    headers={"X-API-Key": "YOUR_API_KEY"},
    json={"plate":"7ABC123","state":"CA"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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"
    }
}
GET /v1/plate/us/states Reference

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"
const res = await fetch("https://vehicles-api.com/api/v1/plate/us/states", {
  headers: { "X-API-Key": "YOUR_API_KEY" },
});
const json = await res.json();
import requests

res = requests.get(
    "https://vehicles-api.com/api/v1/plate/us/states",
    headers={"X-API-Key": "YOUR_API_KEY"},
    timeout=15,
)
print(res.json())
Example response · 200
{
    "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.

Open the MCP setup guide

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:

  1. POST https://vehicles-api.com/oauth/register with client_name and contact_email → client_id + client_secret
  2. POST https://vehicles-api.com/oauth/token with grant_type=client_credentials → access_token
  3. Use the token as Authorization: Bearer … on the REST API or the MCP server
Sandbox credentials have a fixed quota of 100 requests, 5 requests/minute, and expire after 7 days. For production traffic, sign up and use a plan key.

Machine-readable discovery: auth.md · oauth-protected-resource · api-catalog · MCP server card · agent skills · llms.txt