Overview
PostcodeData.nl provides geolocation and address data for Dutch postal codes. You can look up a postcode with a house number to get the full address, city, province, and GPS coordinates. No API key is required, making it simple to use for Dutch address validation projects.
Beginner Tip
Dutch postcodes follow the format NNNNXX (4 digits + 2 letters, e.g., 1211EP). Always include both the postcode and streetnumber parameters for the most accurate results.
Measurement Record
What actually happened when we called this API from our own infrastructure. Every value below was recorded by the request, not copied from the provider's documentation.
- Request
- GET http://api.postcodedata.nl/v1/postcode/?postcode=1211EP&streetnumber=60&ref=test&type=json
- Result
- HTTP 200 · application/json · 299 bytes
- Response time
- 494 ms (median of 3) · fastest 361 ms
- Browser CORS
- Allowed — Access-Control-Allow-Origin: *
- Served by
- Apache/2.4.25 (Ubuntu)
- Recorded
- 2026-08-10
Fields Returned
Top-level fields present in the response we captured, with the type and value we actually received.
| Field | Type | Value received |
|---|---|---|
| status | string | ok |
| details | array | [1 item] |
Captured Response
Captured from a real request to http://api.postcodedata.nl/v1/postcode/?postcode=1211EP&streetnumber=60&ref=test&type=json on 2026-08-10. Long arrays and nested objects are truncated to keep the shape readable.
{
"status": "ok",
"details": [
{
"street": "Stationsstraat",
"city": "Hilversum",
"municipality": "Hilversum",
"province": "Noord-Holland",
"postcode": "1211 EP",
"pnum": "1211",
"pchar": "EP",
"rd_x": "140707.47566666666666666667",
"rd_y": "471005.06166666666666666667",
"lat": "52.2269378842251",
"lon": "5.1780191356884"
}
]
} Field Reference
postcode The Dutch postcode that was looked up. street Street name associated with the postcode and house number. city City or municipality for this address. province Province within the Netherlands where the address is located. Implementation Example
Request skeleton. The URL below is this API's documentation page, not a live endpoint — swap in the path you need from the provider's docs before running it.
const url = "http://api.postcodedata.nl/v1/postcode/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
How This API Fails
We deliberately sent this API a broken request and recorded exactly what came back on 2026-08-10. Knowing the shape of an error before you hit it makes error handling much easier to write.
Returned an HTML error page rather than JSON — worth knowing if your client assumes every response can be parsed as JSON.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Measured Score Breakdown
Live HTTP request to the API endpoint
Fully tested on Aug 10, 2026
Technical Specifications
Related Tags
Similar APIs
View All →administrative-divisons-db
⭐ Beginner's PickThe Administrative Divisions DB API provides a structured list of all administrative divisions (states, provinces, regions, cities) for countries around the world.
adresse.data.gouv.fr
adresse.data.gouv.fr provides programmatic access to address database of france, geocoding and reverse via REST API.
Airtel IP
⭐ Beginner's PickAirtel IP is a free, no-auth IP geolocation API that aggregates data from multiple sources to return the country associated with any given IP address.
bng2latlong
⭐ Beginner's Pickbng2latlong is a simple, free API that converts British National Grid (OSGB36) easting and northing coordinates into standard WGS84 latitude and longitude.
Cartes.io
⭐ Beginner's PickCartes.io is a free API that lets you create maps and add custom markers without signing up.