{
"count": 4,
"items": [
{
"input": "1600 Pennsylvania Ave NW, Washington, DC 20500",
"country_code": "US",
"country": "United States",
"status": "ok",
"lat": 38.8987026,
"lon": -77.0351892,
"formatted_address": "1600 PENNSYLVANIA AVE NW, WASHINGTON, DC, 20500",
"street": "PENNSYLVANIA AVE NW",
"house_number": "1600",
"postcode": "20500",
"city": "WASHINGTON",
"region": "DC",
"precision": "interpolated (address range)",
"score": 1,
"official_id": "TIGER:76225813",
"source": "U.S. Census Bureau Geocoder",
"licence": "Public domain (U.S. Government work)",
"country_detected": true,
"checked_at": "2026-11-23T21:23:23Z",
"response_ms": 555
},
{
"input": "Damrak 1, 1012 LG Amsterdam",
"country_code": "NL",
"country": "Netherlands",
"status": "ok",
"lat": 52.3771445,
"lon": 4.8980385,
"formatted_address": "Damrak 1, 1012LG Amsterdam",
"street": "Damrak",
"house_number": "1",
"postcode": "1012LG",
"city": "Amsterdam",
"region": "Noord-Holland",
"precision": "rooftop (BAG address)",
"score": 1,
"official_id": "BAG:0363200012113669",
"source": "PDOK Locatieserver (BAG)",
"licence": "CC0 1.0",
"country_detected": true,
"checked_at": "2026-11-23T21:23:22Z",
"response_ms": 319
},
{
"input": "Calle Gran Via 28, Madrid",
"country_code": "ES",
"country": "Spain",
"status": "ok",
"lat": 40.42023,
"lon": -3.7019733,
"formatted_address": "CALLE GRAN VIA 28, 28013 Madrid",
"street": "CALLE GRAN VIA",
"house_number": "28",
"postcode": "28013",
"city": "Madrid",
"region": "Comunidad de Madrid",
"precision": "rooftop / entrance",
"score": 1,
"official_id": "Catastro:0549711VK4704H",
"source": "(IGN Spain, Catastro)",
"licence": "CC BY 4.0 (scne.es)",
"country_detected": true,
"checked_at": "2026-11-23T21:23:23Z",
"response_ms": 506
},
{
"input": "10 Downing Street, London SW1A 2AA",
"country_code": "GB",
"country": "United Kingdom",
"status": "ok",
"lat": 51.503541,
"lon": -0.12767,
"formatted_address": "SW1A 2AA, Westminster, England",
"street": null,
"house_number": null,
"postcode": "SW1A 2AA",
"city": "Westminster",
"region": "London",
"precision": "postcode centroid",
"score": 1,
"official_id": "ONS:E01004736",
"extra": {
"lsoa": "Westminster 018C",
"msoa": "Westminster 018",
"ward": "St James's",
"constituency": "Cities of London and Westminster"
},
"source": "(ONS Postcode Directory, OS Open Names)",
"licence": "Open Government Licence v3.0",
"country_detected": true,
"checked_at": "2026-11-23T21:23:22Z",
"response_ms": 107
}
]
}
curl --location --request GET 'https://zylalabs.com/api/15417/netherlands+bag+address+geocoding+api/41419/geocoding+api?addresses=1600 Pennsylvania Ave NW, Washington, DC 20500,Damrak 1, 1012 LG Amsterdam,Calle Gran Via 28, Madrid,10 Downing Street, London SW1A 2AA&country=auto&includeCensus=false' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Netherlands BAG Address Geocoding API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime.
Dutch addresses to rooftop coordinates and BAG IDs from the official PDOK register, plus reverse lookup of the nearest address.
Address to coordinates and back from 10 official government address registers: US Census, Canada NRCan, UK ONS postcodes, France BAN, Spain CartoCiudad, Netherlands BAG, Switzerland, Norway, Estonia, Poland.
Up to 100 results per request, depending on the endpoint.
Every request collects live data from the public source. Identical requests may be served from a cache for up to 6 hours.
List parameters accept several values separated by commas, for example: london,paris.
The endpoint accepts these query parameters, all optional: addresses, coordinates, country, includeCensus. Addresses: Addresses, postcodes or place names, up to 100 per run. The country is detected from the text (postcode format, city or country name). To force it, set Country below or prefix one line like 'FR: 8 bd du Port, 80000 Amiens'. Covered: US, CA, GB (postcode/place level), FR, ES, NL, CH, NO, EE, PL. Seve coordinates: Optional points as 'lat,lon', e.g. 52.3759,4.8975. Returns the nearest official address (FR, ES, NL, NO, PL), the nearest postcode (GB) or the county and census tract (US).
Each result can include the original input, status, latitude, longitude, formatted address, street, house number, postcode, city, region, precision, confidence score, official ID, source, licence, and processing metadata.
The endpoint returns JSON with a top-level `count` and an `items` array. Each item represents one input or lookup result and contains structured address, coordinate, provenance, and quality fields.
`official_id` identifies the matching record in the source register. For Dutch results, it can provide the relevant BAG identifier, allowing applications to link coordinates and address details to an official property or address record.
`precision` describes how the location was determined, such as a rooftop point or interpolated address range. `score` indicates match confidence; higher values generally represent a stronger match. Always inspect `status` and precision before using coordinates operationally.
Dutch BAG geocoding uses the official PDOK/BAG register to return authoritative Dutch address details, rooftop coordinates, and BAG identifiers. This supports precise mapping, property-related workflows, address validation, and linking results to Dutch government records.
When coordinates are supplied, the API performs reverse lookup and returns the nearest official address where supported, including its address fields, coordinates, precision, source, and official identifier. This is useful for converting map points or GPS positions into recognizable addresses.
Check each item's `status` before using it. A request may return multiple items with different outcomes, so do not assume every input matched. Use the original `input` to associate results with requests and treat missing coordinates or identifiers as unresolved data.
Use `lat` and `lon` for map placement, `formatted_address` for display, structured fields for filtering or normalization, and `official_id` for stable links to source records. Retain `source`, `licence`, and `checked_at` when provenance is important.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund