
Developers building Netherlands-facing dealer tools, marketplaces, fleet dashboards or insurance workflows often need a fast way to check if a Dutch-registered vehicle currently has an open recall. By the end of this guide, you will query the RDW open data through Vehicle API’s Dutch plate endpoint, read the open_recall flag, and integrate it robustly with proper handling of response envelopes, errors, rate limits, and caching.
What you will build with the RDW open recall flag
This guide focuses on a single field in the Dutch plate lookup response: open_recall. You will:
- Start a 7-day trial and obtain an API key
- Send a real, copy-pasteable curl request to the Dutch plate endpoint
- Parse the official JSON envelope and read open_recall and related fields
- Handle nulls (vin is always null for Dutch plates), 404 not_found, and rate limits
- Plan caching and update strategies for production
Vehicle API provides VIN decoding worldwide (fullest coverage for US-market vehicles) and US-market safety data such as recalls, owner complaints, and NCAP crash ratings matched by make, model, and year. Dutch plate lookups use RDW open data and never include a VIN.
Prerequisites: account, key, and base URL
Vehicle API is available as a JSON REST API at https://vehicles-api.com/api/v1 and as an MCP server at MCP for agents and tools that speak the Model Context Protocol. To follow along via REST:
- Sign up for the Starter plan ($19/mo) or any plan with a 7-day free trial at Register.
- Copy your API key from the dashboard.
- Base URL: https://vehicles-api.com/api/v1
- Authentication: send X-API-Key: YOUR_API_KEY (Authorization: Bearer YOUR_API_KEY also works).
We will work entirely with the Dutch plate endpoint: POST /plate/nl. Dashes in plates are optional (for example, K875HJ and K-875-HJ both work). RDW does not publish VINs; vin will always be null on this endpoint.
Send the Dutch plate request
Official curl (copy-paste)
Use the exact endpoint, headers, and JSON body below. Replace YOUR_API_KEY with your real key from the dashboard.
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"}'
JavaScript example (Node.js fetch)
This example calls the same endpoint, parses the envelope, and reads open_recall with basic error handling. It uses the X-API-Key header, but Authorization: Bearer also works if you prefer.
import fetch from "node-fetch";
async function lookupDutchPlate() {
const url = "https://vehicles-api.com/api/v1/plate/nl";
const res = await fetch(url, {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "application/json"
},
body: JSON.stringify({ plate: "K875HJ" })
});
// Parse envelope
const payload = await res.json();
// Handle success envelope
if (payload.status === "success" && payload.data) {
const {
plate,
vin, // always null for Dutch RDW
year,
make,
model,
open_recall, // key focus of this guide
apk_expires,
first_registration
} = payload.data;
console.log("Plate:", plate);
console.log("VIN:", vin);
console.log("Year/Make/Model:", year, make, model);
console.log("Open recall:", open_recall);
console.log("APK expires:", apk_expires);
console.log("First registration:", first_registration);
return payload.data;
}
// Handle error envelope (not_found, etc.)
if (payload.status === "error" && payload.error) {
const { code, message } = payload.error;
throw new Error(`Vehicle API error [${code}]: ${message}`);
}
// Fallback for unexpected formats
throw new Error(`Unexpected response: ${JSON.stringify(payload)}`);
}
lookupDutchPlate()
.then(() => console.log("Done"))
.catch(err => {
console.error(err.message);
});
Read the official JSON envelope
Vehicle API responses are always wrapped in an envelope:
- status: "success" or "error"
- source: identifies the dataset or resolver (here: "plate_nl")
- data: the result object when status is "success"
- error: present only when status is "error", with error.code and error.message
Below is the official example for RDW data on a Dutch plate. Use it to build your deserializer and tests.
{
"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
}
}
Fields you will actually use
- data.plate: Normalized dutch kenteken without dashes. Input is flexible; dashes are optional.
- data.vin: Always null for Dutch plates. RDW does not publish VINs.
- data.year / data.make / data.model: Basic identification to display or correlate with other datasets.
- data.open_recall: Boolean indicating whether RDW shows an open recall for this plate at query time.
- data.apk_expires: APK expiry in YYYY-MM-DD (no time). Useful for maintenance/UI prompts.
- data.first_registration: YYYY-MM-DD of first registration.
- data.engine: cylinders, displacement_cc (in cubic centimeters), and fuel (e.g., Benzine) from RDW open data.
- data.vehicle_type, body, color, doors, seats, mass_kg: Additional attributes for UI and business logic.
- source: "plate_nl" confirms the resolver/data source used.
Note on safety coverage: US-market recall campaigns, owner complaints, and NCAP crash ratings in Vehicle API are matched by make + model + year and apply only to US-market vehicles. The open_recall flag shown here comes from Dutch RDW open data for Netherlands-registered vehicles and is separate from US-market safety datasets.
Error handling and edge cases
Plan for the following behaviors so your integration is resilient:
- 404 not_found: Returned when the plate is unknown. The envelope will have status: "error" with error.code: "not_found" and an error.message you can display or log.
- Authentication: If the X-API-Key is missing or invalid, expect an error envelope with status: "error" and an appropriate error.code and error.message. Include either X-API-Key or Authorization: Bearer, not both.
- Rate limits / monthly quota: The API enforces per-plan limits. If you exceed them, you may receive an error response indicating you should slow down. Avoid retries that hammer the endpoint; implement backoff and inspect response headers and the error envelope.
- Nulls: For this endpoint, vin is always null by design. In general, do not assume optional attributes are populated; check for presence before use.
- Input normalization: Dashes are optional (K875HJ and K-875-HJ are both accepted). The output plate field is normalized without dashes.
Caching and freshness strategy
Because the RDW dataset can update as new information is published, including recalls, you should cache responses but also define a refresh policy appropriate for your use case:
- Cache key: The simplest strategy is to cache by normalized plate (uppercase, no dashes) and endpoint version.
- Staleness: For operational UIs, a daily or weekly refresh is typical. For pre-transaction checks (e.g., underwriting, listing approvals), fetch fresh data on each critical workflow step.
- APK and recall rechecks: Consider proactive refresh near apk_expires or prior to confirming a vehicle listing or sale. If open_recall is true, recheck more frequently (for example, at next user session) to catch closures.
- Error caching: Do not cache 404 not_found long term if your input source could be incomplete or delayed; retry later according to your data quality needs.
Integration patterns by product type
- Marketplaces and classifieds: Show year/make/model plus open_recall in the listing admin UI, with a prompt if true. Since Dutch plates don’t expose VIN, avoid conflating with VIN-based features.
- Dealer tools: Surface open_recall next to APK expiry when booking intake or pre-sale checks. Re-verify right before publishing a vehicle for sale.
- Fleet and insurance: Store normalized plate, open_recall, apk_expires, and first_registration. Schedule background refresh jobs keyed by plate.
- AI agents and copilots: Use the MCP server to expose a tool that takes a Dutch plate and returns the open_recall flag with a minimal prompt.
How this endpoint relates to other Vehicle API features
Vehicle API covers several vehicle data tasks through a single surface at https://vehicles-api.com:
- VIN decoding (via NHTSA vPIC): Worldwide VIN decoding, most complete for US-market vehicles.
- US safety datasets: Recall campaigns, owner complaints, and NCAP crash ratings, matched by make + model + year for US-market vehicles.
- Dutch plates (RDW): The endpoint in this guide; never includes a VIN and exposes the open_recall boolean specific to the Netherlands.
This is not a vehicle history report. The API does not include title, accident, or ownership history.
Testing tips and validation
- Use the official example payload above to validate your deserialization logic: check envelope handling, null vin, and boolean parsing for open_recall.
- Simulate plate formatting differences in tests: "K875HJ" vs "K-875-HJ". Your inputs should both succeed, and your output plate should be normalized.
- Implement strict field access: check that status === "success" before reading data.*, and on error, consume error.code and error.message for logs and user feedback.
- Guard for future schema additions: Ignore unknown fields to avoid breaking changes. Only rely on documented keys you actively use.
Operational considerations: quotas, retries, and monitoring
Plans include a monthly quota and rate limits appropriate to each tier. Do not hardcode assumptions about request ceilings. Instead:
- Track usage in your dashboard and alert when your application approaches its monthly quota.
- On transient network failures or 5xx responses, retry with exponential backoff and jitter. On rate limiting, respect the error response and apply backoff.
- Log error.code and error.message from the envelope to quickly diagnose issues such as not_found, authentication errors, or invalid payloads.
- For bulk operations, pace requests and schedule them during off-peak windows to minimize throttling risk.
Field reference for the RDW plate response
- plate (string): Normalized Dutch registration (no dashes).
- vin (null): Always null for this endpoint; RDW never publishes VINs for plates.
- year (number): Model year.
- make (string): Vehicle make, uppercase as provided by RDW.
- model (string): Model name, uppercase as provided by RDW.
- body (string): Body style text (e.g., hatchback).
- color (string): RDW color name (e.g., GRIJS).
- doors (number): Door count.
- seats (number): Seat count.
- vehicle_type (string): RDW vehicle type category (e.g., Personenauto).
- engine (object): cylinders (number), displacement_cc (number), fuel (string).
- mass_kg (number): Mass in kilograms.
- apk_expires (string): Date-only ISO 8601 (YYYY-MM-DD).
- first_registration (string): Date-only ISO 8601 (YYYY-MM-DD).
- open_recall (boolean): Whether RDW indicates an open recall for this plate.
- source (string): "plate_nl" identifies the resolver used.
- status (string): "success" on success; otherwise "error" with an error envelope.
- error (object): Present only when status is "error", with error.code and error.message.
End-to-end checklist
- Create an account and get your API key: Register.
- Call POST /plate/nl with X-API-Key and a JSON body containing "plate".
- On success, read data.open_recall and other needed fields from data.*.
- On error, inspect error.code and error.message from the envelope.
- Normalize plate input and plan for dashes being optional.
- Implement caching with a sensible refresh policy; never assume vin will be provided for Dutch plates.
- Monitor usage to avoid rate limits and monthly quota overages.
FAQ
Does the Dutch plate endpoint return a VIN?
No. RDW never publishes a VIN for Dutch plates, so vin is always null on this endpoint.
What exactly does open_recall represent?
It is a boolean indicating whether RDW open data shows an open recall for the specified Dutch plate at the time of query.
How is US recall or safety data different?
US-market recalls, owner complaints, and NCAP crash ratings are matched by make + model + year and apply only to US-market vehicles. They are separate from the RDW open_recall flag.
How should I format the plate?
Dashes are optional. You can send K875HJ or K-875-HJ; the response normalizes plate without dashes.
What errors should I handle?
At minimum: 404 not_found for unknown plates and authentication errors if the API key is incorrect or missing. Also plan for rate limits and transient network failures with backoff and retries.
Start your integration now and get 7 days to test the Dutch plate RDW open_recall endpoint, VIN decoding, and US-market safety datasets. Create your account at Register, then explore more details in the Documentation.