Dutch License Plate Data API

By Vehicle API
Dutch License Plate Data API

You have Dutch license plates flowing in from your marketplace or fleet intake, and you need consistent vehicle attributes without juggling multiple datasets. By the end of this guide you will call the Vehicle API Dutch plate endpoint, parse the response envelope, handle errors, cache results, and ship production-ready code for Netherlands registrations.

What this endpoint gives you (and what it does not)

The Dutch License Plate Data API resolves a Netherlands plate (kenteken) to make, model, year and key specs from RDW open data. It is designed for dealer tools, marketplaces, insurance and fleet apps that need trustworthy specs in a single call.

Illustration: Dutch License Plate Data API
  • Input: A Dutch plate with or without dashes (K875HJ or K-875-HJ).
  • Output: Year, make, model, body, color, doors, seats, vehicle type, engine details, mass_kg, APK expiry, first registration, and a boolean open_recall flag.
  • VIN: Always null. RDW does not publish VINs. This endpoint will never return a VIN.
  • Coverage details: This endpoint uses RDW open data for Dutch plates. It is not a vehicle history report (no title/ownership/accidents).
  • Related data: Vehicle API also offers VIN decoding worldwide (best coverage for US-market vehicles) and US-market safety data (recalls, owner complaints, NCAP ratings) matched by make + model + year, not by plate. Those are separate capabilities and not part of this Netherlands plate lookup.

Endpoint, method, and authentication

Base URL: https://vehicles-api.com/api/v1

  • Endpoint: POST /plate/nl
  • Full URL: https://vehicles-api.com/api/v1/plate/nl
  • Auth: Send your key in the X-API-Key header. Authorization: Bearer YOUR_API_KEY is also supported, but examples here use X-API-Key.
  • Content type: application/json

Every response is an envelope. On success you’ll receive status, source, and data. On error you’ll receive status: "error" plus error.code and error.message.

Official request and response

Use this copy-pasteable example to confirm your integration is wired correctly. Dashes in the plate are optional. If the plate is not found, the API returns a 404 not_found error.

cURL

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

JSON

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

Field-by-field: what you will actually use

  • status: "success" on success. Handle "error" separately.
  • source: "plate_nl" to indicate RDW-based plate lookup.
  • data.plate: Echoes the normalized plate string (no dashes).
  • data.vin: Always null for Netherlands plates. Do not expect a VIN from RDW.
  • data.year: Integer model year (e.g., 2021).
  • data.make and data.model: Uppercase brand/model from RDW (e.g., "TOYOTA", "AYGO"). Consider normalizing case in your UI or DB if needed.
  • data.body: Body style (e.g., "hatchback").
  • data.color: Color in Dutch (e.g., "GRIJS" = grey). Display as-is or map to your standardized palette.
  • data.doors and data.seats: Integers for occupant packaging.
  • data.vehicle_type: Vehicle classification in Dutch (e.g., "Personenauto").
  • data.engine: Nested object:
    • cylinders: Integer cylinder count.
    • displacement_cc: Integer displacement in cubic centimeters.
    • fuel: Fuel type in Dutch (e.g., "Benzine").
  • data.mass_kg: Integer unladen mass in kilograms.
  • data.apk_expires: APK inspection expiry date in ISO-8601 format (YYYY-MM-DD). Treat as a date string.
  • data.first_registration: First registration date in ISO-8601 format (YYYY-MM-DD).
  • data.open_recall: Boolean. This is a convenience flag surfaced alongside RDW-sourced attributes. Note that detailed US recall campaigns are US-market only and matched by make+model+year.

Nullability: Expect null for fields that RDW does not provide, notably vin is always null. Code defensively for optional values and missing nodes in future expansions.

JavaScript example (Node.js)

This example posts a Dutch plate, checks the response envelope, handles a 404 not_found, and extracts the fields you are likely to store. It uses native fetch available in Node 18+ or the undici polyfill.

import fetch from "node-fetch";

async function lookupDutchPlate(plate) {
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 })
});

// Handle HTTP-level errors including 404 not_found
if (!res.ok) {
let payload;
try { payload = await res.json(); } catch { /* ignore parse error */ }
if (res.status === 404 && payload?.error?.code === "not_found") {
return null; // plate doesn't exist in RDW
}
const message = payload?.error?.message || `HTTP ${res.status}`;
throw new Error(`Vehicle API error: ${message}`);
}

const payload = await res.json();
if (payload.status !== "success" || payload.source !== "plate_nl") {
throw new Error("Unexpected response envelope");
}

const v = payload.data;

// Build a normalized record for your DB/UI
return {
plate: v.plate, // normalized plate without dashes
year: v.year,
make: v.make,
model: v.model,
body: v.body,
color: v.color, // "GRIJS" - map to your palette if needed
doors: v.doors,
seats: v.seats,
vehicleType: v.vehicle_type,
engine: {
cylinders: v.engine?.cylinders ?? null,
displacementCc: v.engine?.displacement_cc ?? null,
fuel: v.engine?.fuel ?? null
},
massKg: v.mass_kg ?? null,
apkExpires: v.apk_expires ?? null,
firstRegistration: v.first_registration ?? null,
hasOpenRecall: v.open_recall === true
};
}

// Example usage
lookupDutchPlate("K875HJ")
.then(vehicle => {
if (!vehicle) {
console.log("Plate not found in RDW");
return;
}
console.log("Vehicle:", vehicle);
})
.catch(err => console.error(err));

Request/response envelope and errors

All Vehicle API endpoints use a consistent envelope. For successful Netherlands plate lookups you will see:

  • status: "success"
  • source: "plate_nl"
  • data: Object with Dutch vehicle attributes

Errors include status: "error", an error.code, and error.message. Common cases to handle:

  • 404 not_found: Unknown or unassigned plate in RDW. Treat as a cacheable negative result for a short TTL.
  • 4xx: Check your X-API-Key or payload format, then retry only after fixing the issue.
  • 429 or quota-related errors: Back off and consult your plan’s limits.
  • 5xx: Transient server errors; implement limited retries with jitter.

The error schema is uniform across Vehicle API, so reusable error handlers pay off. When status is "error", data is not present and you should not attempt to read it.

Caching and performance

For dealer tools and marketplaces, Dutch plate lookups are ideal for caching because RDW attributes change infrequently:

  • Cache positive hits by plate key (normalized without dashes) for days or weeks, depending on your freshness needs, and revalidate periodically to track APK expiry and ownership-related changes that can affect secondary fields.
  • Cache 404 not_found responses with a short TTL to avoid hammering the endpoint on mistyped plates.
  • Normalize input: upper-case letters, remove dashes (K875HJ). The API accepts both K875HJ and K-875-HJ, but normalization ensures cache keys match.
  • Store the full response envelope or at least source and retrieval timestamp if you need an audit trail of what was returned.

Interpreting units, language, and dates

  • Units: mass_kg is kilograms; engine displacement is displacement_cc in cubic centimeters.
  • Language: color and vehicle_type values are in Dutch (e.g., GRIJS, Personenauto). Map or translate as needed in your UI.
  • Dates: apk_expires and first_registration are ISO-8601 date strings (YYYY-MM-DD). Treat them as date-only values.
  • VIN: Always null for this endpoint; do not attempt cross-joining by VIN with other systems using the Netherlands plate alone.

How this endpoint relates to recalls and VIN decoding

The Netherlands plate lookup provides RDW attributes and an open_recall boolean flag surfaced in the same response. Detailed US safety data—recalls, owner complaints, and NCAP crash ratings—are US-market only and matched by make + model + year. If you are building cross-market flows:

  • Plate → RDW attributes: Use POST /plate/nl for Dutch registrations. Expect vin: null.
  • VIN decoding: Works worldwide with strongest detail for US-market vehicles; use it when you have a VIN from another system.
  • US safety data: Available only for US-market vehicles; it is not tied to a Netherlands plate and not a history report.

If you are orchestrating multiple data sources via an agent or automation, consider using the MCP server to call Vehicle API tools directly from your agent runtime.

Production considerations: auth, rate limits, and quotas

  • Authentication: Send X-API-Key: YOUR_API_KEY in each request. Authorization: Bearer YOUR_API_KEY also works if that better fits your client stack.
  • Rate limits and monthly quota: Plans include a monthly quota and rate limits. Exact limits vary by plan—consult the Documentation. Handle 429s with exponential backoff and avoid retry storms.
  • Idempotency: The lookup is read-only and deterministic for a given plate at a point in time; safe to retry when you receive transient errors.
  • Observability: Log status, source, HTTP status code, and error.code to track upstream issues and cache effectiveness.
  • Security: Do not embed YOUR_API_KEY in client-side code you ship to browsers. Proxy requests from your backend.

Robust input handling

To reduce friction for your users while maintaining accuracy:

  • Accept both formats: Allow entry as K875HJ or K-875-HJ. Normalize to uppercase and strip dashes before sending to the API and when computing cache keys.
  • Validate basic structure: Netherlands plates are alphanumeric; filter out spaces and common typos client-side before sending requests, but let the API be the source of truth for availability.

Common integration patterns

  • Instant listing enrichment: On plate entry, call POST /plate/nl, store normalized attributes (year/make/model/body/color/engine), and render a confirmation UI before creating the listing.
  • Insurance quoting: Use doors, seats, mass_kg, and engine details to prefill rating inputs. Cache lookups for the account.
  • Fleet ops: Track apk_expires and set reminders; cache with a scheduled revalidation window.

Testing tips

  • Use a known-good plate like the example to verify signature headers, JSON shape, and envelope parsing.
  • Simulate 404 handling by trying an obviously invalid plate; ensure your UI differentiates between “not found” and transient failures.
  • Unit tests: Mock both success and error envelopes. Assert that your parser tolerates vin: null and missing optional fields.

FAQ

  • Does the Netherlands plate endpoint return a VIN?

    No. RDW does not publish VINs. The vin field is always null for Dutch plates.

  • Can I send plates with dashes?

    Yes. Dashes are optional. K-875-HJ and K875HJ both work. Normalize to a dashless uppercase string for caching.

  • What happens when a plate is unknown?

    You will receive a 404 not_found error. Treat it as a cacheable negative with a short TTL to prevent repeated lookups on typos.

  • Is recall and complaint data included for Dutch plates?

    The response includes open_recall as a boolean. Detailed recall campaigns, owner complaints, and NCAP ratings are US-market only and matched by make + model + year, not by a Netherlands plate.

  • How do I authenticate?

    Send your key in X-API-Key. Authorization: Bearer YOUR_API_KEY is also supported. Use server-side calls to protect your key.

Ready to build against the Dutch License Plate Data API and ship your enrichment flow with a 7-day free trial? Start here: Register. For full specs, response envelopes, and plan details, see the Documentation. If you are building an AI agent or automation, explore the MCP server to integrate Vehicle API tools directly into your runtime.

Keep reading