Authentication
Send your API key
- Create an API key in the subscriber portal.
- Send it with each subscriber request.
- Keep the full key private; Vehicode only shows it once.
x-api-key: vdx_your_api_keyAuthorization: Bearer vdx_your_api_keyAPI docs
Use the Vehicode API to decode VINs, track usage, and report corrections from your own product or backend service.
Authentication
x-api-key: vdx_your_api_keyAuthorization: Bearer vdx_your_api_keyPlans
Errors
400Invalid request payload401Invalid or inactive API key429Monthly or public usage limit reachedRate-limit details are returned in response headers and body usage metadata.
Decode endpoint
The main endpoint returns a compact public vehicle report and current usage metadata. Empty fields, internal notes, source details, confidence labels, and AI diagnostics are not included in client responses.
Request
curl -X POST https://vehicode.eu/api/decode \
-H "Content-Type: application/json" \
-H "x-api-key: vdx_your_api_key" \
-d '{"vin":"WVWZZZAUZHP507470"}'Response
Vehicle reportVIN segments, manufacturer, model, body style, year, optional specs
Usage metadatalimit, remaining, resetAt
{
"report": {
"vin": "WVWZZZAUZHP507470",
"wmi": "WVW",
"vds": "ZZZAUZ",
"vis": "HP507470",
"validFormat": true,
"manufacturer": "Volkswagen",
"model": "Golf",
"bodyStyle": "Combi",
"modelYear": "2017",
"vehicleType": "Passenger car",
"region": "Europe"
},
"usage": {
"limit": 5000,
"remaining": 4999,
"resetAt": "2026-08-01T00:00:00.000Z"
}
}Usage limits
When the monthly subscriber limit is reached, decode requests pause until the next reset or until the plan is upgraded.
{
"error": "Monthly subscriber decode limit reached.",
"limit": 100,
"remaining": 0,
"resetAt": "2026-08-01T00:00:00.000Z"
}Response headers
Successful and limited responses include rate-limit headers. Subscriber requests also include the authenticated workspace slug.
X-Vehicode-AuthShows whether the request used an API key or public access.
X-Vehicode-ClientSubscriber workspace slug when an API key is used.
X-RateLimit-LimitPlan limit for authenticated usage.
X-RateLimit-RemainingRequests left in the current usage window.
X-RateLimit-ResetUnix timestamp for the next usage reset.
Corrections
Use POST /api/report-decode-issue when your system knows the expected manufacturer, model, body style, model year, and a short note. Reports are queued for admin review.
curl -X POST https://vehicode.eu/api/report-decode-issue \
-H "Content-Type: application/json" \
-H "x-api-key: vdx_your_api_key" \
-d '{
"vin": "WVWZZZAUZHP507470",
"expectedManufacturer": "Volkswagen",
"expectedModel": "Golf",
"expectedBodyStyle": "Combi",
"expectedModelYear": "2017",
"note": "Customer record confirms this is a Golf Variant."
}'