RDW Open Recall API for Developers

By Vehicle API
RDW Open Recall API for Developers

A Dutch plate lookup can tell your application whether RDW data reports an open recall, but it cannot supply a VIN or a vehicle history. By the end of this guide, you can call the Dutch plate endpoint from a server, read open_recall, and handle missing data and lookup errors without confusing the result with US recall coverage.

Look up a Dutch plate

Send a JSON POST request to https://vehicles-api.com/api/v1/plate/nl with the kenteken in the plate field. Authenticate with the X-API-Key header; an Authorization Bearer header also works, but the examples below use X-API-Key.

Illustration: RDW Open Recall API for Developers

The plate in this request is the documentation example. Dashes are optional, so K-875-HJ also works. An unknown plate returns HTTP 404 with the error code not_found.

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"}'

Run the request from a trusted environment after replacing YOUR_API_KEY with your key. In a deployed application, keep the key on the server rather than embedding it in browser code.

Read the response

A successful response has a status, a source, and a data object. This is the official example for the plate above; live RDW data can change.

{
    "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
    }
}

For a recall check, read data.open_recall as a boolean. The example value false is the reported value for this documentation response; it is not a permanent statement about a vehicle, and it does not provide campaign details or a repair history.

Use data.plate to identify the returned record and year, make, and model to display its vehicle description. source identifies the response as plate_nl, which is useful when your application also consumes other vehicle data.

vin is always null for Dutch plate results because RDW does not publish it. Do not treat that value as an empty VIN to decode, and do not infer a VIN from the plate or the vehicle description.

The remaining fields give context for the record. engine.displacement_cc is in cubic centimetres, and mass_kg is in kilograms. apk_expires and first_registration are date values in the example, not timestamps with a time or timezone. Keep the distinction between a registration date and the returned year when displaying or storing them.

Other descriptive values may be in Dutch, as with color, vehicle_type, and engine.fuel in the example. Preserve the source values if you add translations for a user interface. Handle any nullable or absent field as unavailable rather than substituting a value; in particular, an unavailable recall value must not be displayed as false.

Call the endpoint from your server

Both examples use the same POST endpoint and plate as the official request. Set VEHICLE_API_KEY in the server environment before running them. The key stays on the server, and the timeout prevents the request from waiting indefinitely.

Python with requests

The request uses json= for the POST body. It checks the API envelope before reading the vehicle data and surfaces error.code when the API returns an error.

import os
import requests

url = "https://vehicles-api.com/api/v1/plate/nl"
api_key = os.environ["VEHICLE_API_KEY"]

try:
response = requests.post(
url,
headers={"X-API-Key": api_key},
json={"plate": "K875HJ"},
timeout=10,
)
payload = response.json()
except requests.RequestException as exc:
raise RuntimeError("Plate lookup request failed") from exc
except ValueError as exc:
raise RuntimeError("Plate lookup returned invalid JSON") from exc

if not isinstance(payload, dict):
raise RuntimeError("Plate lookup returned an unexpected response")

if payload.get("status") == "error":
error = payload.get("error") or {}
raise RuntimeError(
"API error: code=%s, message=%s"
% (error.get("code"), error.get("message"))
)

response.raise_for_status()

if payload.get("status") != "success":
raise RuntimeError("Plate lookup did not return a success envelope")

data = payload.get("data")
if not isinstance(data, dict):
raise RuntimeError("Plate lookup returned no vehicle data")

recall = data.get("open_recall")
if recall is True:
recall_text = "Open recall reported"
elif recall is False:
recall_text = "No open recall reported"
else:
recall_text = "Recall status unavailable"

print("Source:", payload.get("source"))
print("Plate:", data.get("plate"))
print("Vehicle:", data.get("year"), data.get("make"), data.get("model"))
print("Recall:", recall_text)
print("VIN:", data.get("vin"))

The explicit boolean checks matter: Python treats None as false in a conditional, but an unavailable value is not the same result as an explicit false. The example also checks for an API error before raising for the HTTP status, so an error envelope can be inspected for its code.

PHP with cURL

This version sends the JSON body with PHP’s cURL extension. It checks the HTTP result and the response envelope separately, and it reads the same recall field as the Python example.

<?php
$url = 'https://vehicles-api.com/api/v1/plate/nl';
$apiKey = getenv('VEHICLE_API_KEY');

if ($apiKey === false || $apiKey === '') {
throw new RuntimeException('VEHICLE_API_KEY is required');
}

$handle = curl_init($url);
if ($handle === false) {
throw new RuntimeException('Could not initialize cURL');
}

curl_setopt_array($handle, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 10,
CURLOPT_HTTPHEADER => [
'X-API-Key: ' . $apiKey,
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode(
['plate' => 'K875HJ'],
JSON_THROW_ON_ERROR
),
]);

$body = curl_exec($handle);
if ($body === false) {
$message = curl_error($handle);
curl_close($handle);
throw new RuntimeException('Plate lookup request failed: ' . $message);
}

$httpStatus = curl_getinfo($handle, CURLINFO_HTTP_CODE);
curl_close($handle);

$payload = json_decode($body, true, 512, JSON_THROW_ON_ERROR);
if (!is_array($payload)) {
throw new RuntimeException('Unexpected response');
}

if (($payload['status'] ?? null) === 'error') {
$error = $payload['error'] ?? [];
throw new RuntimeException(
'API error: code=' . ($error['code'] ?? 'unavailable')
. ', message=' . ($error['message'] ?? 'unavailable')
);
}

if ($httpStatus < 200 || $httpStatus >= 300
|| ($payload['status'] ?? null) !== 'success'
|| !isset($payload['data']) || !is_array($payload['data'])) {
throw new RuntimeException('Plate lookup did not return vehicle data');
}

$data = $payload['data'];
$recall = $data['open_recall'] ?? null;

if ($recall === true) {
$recallText = 'Open recall reported';
} elseif ($recall === false) {
$recallText = 'No open recall reported';
} else {
$recallText = 'Recall status unavailable';
}

echo 'Source: ' . ($payload['source'] ?? 'unavailable') . PHP_EOL;
echo 'Plate: ' . ($data['plate'] ?? 'unavailable') . PHP_EOL;
echo 'Recall: ' . $recallText . PHP_EOL;

In production, catch exceptions at your application boundary and return an appropriate response to your own client. Log enough information to diagnose the failure without logging the API key. If your application also makes GET requests elsewhere, use params= for query parameters in Python rather than placing them in a POST JSON body; this plate lookup itself is a POST.

Handle errors, limits, and changing data

An API error uses status set to error, with error.code and error.message describing the failure. For this endpoint, distinguish the documented HTTP 404 not_found result from a transport failure or an invalid response. An unknown plate should not be rendered as a vehicle with no open recall.

Keep the machine-readable code for application decisions and use the message for diagnostics. Other error codes and their handling should follow the current Documentation, rather than assumptions based on a different service.

Requests are subject to rate limits and a monthly quota. Check the current limits for your plan and monitor usage; exact allowances are not specified here. Avoid retrying an unknown plate in a tight loop, and use bounded retries for failures your application determines are temporary.

Cache a plate result only for as long as your application can tolerate stale recall information. Store when you retrieved it alongside the result, and refresh it before a workflow that needs a current check: RDW can publish changes after your previous lookup. A cached false is the result observed at lookup time, not a guarantee about today.

If your application also decodes VINs obtained independently, caching decoded VIN data can reduce repeated requests. Keep that cache separate from the more changeable recall result. The Dutch plate response cannot populate a VIN cache because its vin is always null.

Keep RDW results separate from US safety data

open_recall in this response is part of the Dutch RDW plate data. Vehicle API also provides US official recall campaigns, owner complaints, and NCAP crash ratings, but those datasets cover US-market vehicles and are matched by make, model, and year. They are not a substitute for the RDW plate result or proof that an individual vehicle received a repair.

VIN decoding works worldwide and is fullest for US-market vehicles. If you use a separately supplied VIN, keep its decoded data distinct from the plate lookup: a make, model, and year match does not turn a Dutch plate response into a VIN-specific US safety result.

Neither lookup is a vehicle history report. Title, accident, and ownership history are not included. For agent integrations, Vehicle API also offers an MCP server; apply the same source and coverage distinctions when presenting its vehicle data.

FAQ

Does open_recall: false mean the vehicle has never had a recall?

No. It is the open-recall value returned for the lookup, not a complete recall or repair history. Refresh the lookup when the workflow requires current information.

Can I get the VIN from a Dutch plate?

No. RDW does not publish the VIN through this data, so vin is always null in a Dutch plate response.

What should I do with not_found?

Treat HTTP 404 with not_found as an unknown plate, not as a negative recall result. Let the user check the entered kenteken; dashes are optional.

Should I cache the recall result?

Short-term caching can reduce repeated lookups, but choose a freshness policy for your use case and record the retrieval time. Refresh the result when stale data would be inappropriate.

Register to start the 7-day free trial and test the Dutch plate endpoint from your server. Every plan includes the trial; Starter is $19 per month.