Dutch Address Lookup & Geocoding: Postcode, BAG, PDOK avatar

Dutch Address Lookup & Geocoding: Postcode, BAG, PDOK

Pricing

from $0.35 / 1,000 address matcheds

Go to Apify Store
Dutch Address Lookup & Geocoding: Postcode, BAG, PDOK

Dutch Address Lookup & Geocoding: Postcode, BAG, PDOK

Dutch address lookup in bulk on the official BAG register (PDOK): fix typos, add postcode, coordinates (WGS84 and RD) and BAG IDs. Reverse mode turns coordinates into addresses.

Pricing

from $0.35 / 1,000 address matcheds

Rating

0.0

(0)

Developer

LYFE Offshore

LYFE Offshore

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

2 months ago

Last modified

Features

Limited permissions

Share

Dutch address lookup and geocoding: check and complete Dutch addresses (adres, postcode, huisnummer) against the official BAG register via PDOK, and reverse geocoding from coordinates to the nearest address.

Give it messy Dutch addresses. It returns the registered address from the BAG (the national address register), with the postcode, municipality, province, coordinates in WGS84 and Rijksdriehoek (RD), and the BAG IDs. It fixes street-name typos, tells you when an address is ambiguous instead of guessing, and works in reverse (coordinate → nearest address).

One run, real output

Eight rough inputs, run for real against PDOK on 4 October 2026. All are public buildings (Royal Palace, Binnenhof, Rijksmuseum), no private persons.

InputStatusResultWhy
Dam 1 AmsterdamexactDam 1, 1012 JS Amsterdam (52.37329, 4.89372; RD 121394, 487383)street, number and city agree
1071XX 1exactMuseumstraat 1, 1071 XX Amsterdampostcode + house number is unique
Binenhof 1a den haagfuzzy, score 0.80Binnenhof 1A, 2513 AA 's-Gravenhagestreet typo corrected, "den haag" read as 's-Gravenhage; correctedFrom: "Binenhof"
Museumstrat 1 amsterdamfuzzy, score 0.82Museumstraat 1, 1071 XX Amsterdamtypo corrected
{postcode: "2513 AA", houseNumber: "1", addition: "A"}exactBinnenhof 1A, 2513 AA 's-Gravenhagestructured input works too
Binnenhof 1 Den HaagexactBinnenhof 1, 2513 AA 's-Gravenhage
Dam 1ambiguous13 addresses match; the five closest are listedthere is a Dam 1 in more than one town; add a postcode or city
Dam 1 Rotterdamnot foundno match in Rotterdam; the Dam 1 addresses elsewhere are listed

Summary: 8 rows: 4 exact, 2 fuzzy, 1 ambiguous, 1 not found; 6 billed.

Reverse mode, same day: {"lat": 52.37329, "lon": 4.89372} returned Dam 1, 1012 JS Amsterdam at 0.33 m (exact); "52.3731,4.8926" returned Dam 2, 1012 NP Amsterdam at 41 m (fuzzy: the nearest address within your maximum distance, not necessarily the one you meant). A swapped or foreign coordinate comes back not_found with the reason.

Statuses

StatusMeaningBilled
exactstreet, house number (and addition), city/postcode agree with one BAG addressyes
fuzzyone BAG address after correcting a typo in the street name (correctedFrom shows what was changed), or a reverse hit beyond 10 myes
ambiguousmore than one address fits, or the number only exists with additions (1A, 1B). Up to 5 alternativesno
not_foundno number, no match, wrong city, nothing in range. The notes say whyno
errorPDOK did not answer for that rowno

If every row fails (PDOK down), the run fails with a clear message instead of finishing empty.

Input example

The run above (INPUT.json):

{ "mode": "forward",
"addresses": ["Dam 1 Amsterdam", "Binenhof 1a den haag", "1071XX 1", "Museumstrat 1 amsterdam",
{ "postcode": "2513 AA", "houseNumber": "1", "addition": "A" }, "Binnenhof 1 Den Haag", "Dam 1", "Dam 1 Rotterdam"] }
  • mode: forward (default) or reverse (then use coordinates: {lat, lon} or "lat,lon").
  • Free text, or objects with street, houseNumber, addition, postcode, city (Dutch names straat, huisnummer, toevoeging, woonplaats work too), or a dataset ID plus addressField.
  • outputMode: all or found-only; includeAlternatives; maxDistanceMeters (reverse, default 50); concurrency (default 5).

Output example

One row, from a local run against PDOK on 5 October 2026 with input "Dam 1 Amsterdam":

{ "input": "Dam 1 Amsterdam", "status": "exact", "score": 1, "billable": true,
"address": "Dam 1, 1012JS Amsterdam", "street": "Dam", "houseNumber": 1, "houseLetter": null,
"houseNumberAddition": null, "postcode": "1012 JS", "city": "Amsterdam", "municipality": "Amsterdam",
"province": "Noord-Holland", "lat": 52.37329259, "lon": 4.8937175, "rdX": 121394, "rdY": 487383,
"nummeraanduidingId": "0363200003761447", "adresseerbaarObjectId": "0363010003761571",
"addressType": "hoofdadres", "notes": [] }

Output fields

FieldMeaning
inputthe row as you gave it
status, score, billablematch status (see above), a 0-1 closeness heuristic, and whether the row was charged
addressthe registered address as one line
street, houseNumber, houseLetter, houseNumberAdditionthe parts; BAG keeps the letter (1A) apart from the addition
postcode, city, municipality, provincepostcode as 1234 AB, place (woonplaats), gemeente and provincie
lat, lonWGS84 coordinates
rdX, rdYRijksdriehoek (RD) coordinates in metres
nummeraanduidingId, adresseerbaarObjectIdBAG IDs of the address and of the object it belongs to
addressTypehoofdadres or nevenadres
correctedFromthe street name as typed, when it was corrected
noteswhy a row is ambiguous, not found or fuzzy
alternativesup to 5 close addresses (ambiguous and not-found rows; can be turned off)
distanceMetersreverse mode: distance from your point

A run summary is stored in the key-value store under SUMMARY.

Price

Price per 1,000 by your Apify plan (Apify applies the right column automatically):

FreeStarterScaleBusiness and up
Address matched, per 1,000$0.50$0.50$0.43$0.35

No start fee. The figures below use the Free-plan price; on a paid plan the same run costs less.

$0.0005 per matched address (event address-matched: exact or fuzzy, or a reverse hit). Ambiguous, not-found and failed rows are free. Platform usage is included.

  • 1,000 matched rows ≈ $0.50.
  • The run above: 8 rows, 6 matched ≈ $0.003.
  • A list of 10,000 addresses of which 9,000 match ≈ $4.50; the other 1,000 cost nothing.

ACTOR_MAX_TOTAL_CHARGE_USD (the run's maximum charge) caps the number of rows processed.

What it does not do

  • It matches addresses, not places. "Rijksmuseum Amsterdam" has no house number and comes back not_found; give it Museumstraat 1 Amsterdam.
  • Only the street name is fuzzy. A wrong house number, a wrong city or a typo in the city name is not guessed. The city is compared as given (with a few aliases such as Den Haag, 's-Hertogenbosch); a misspelled city comes back not_found, not corrected.
  • Typo correction uses PDOK's spell-checker and then requires the street to look like what you typed (similarity ≥ 0.75). Short or very common street names can be ambiguous.
  • Netherlands only. It uses the BAG; addresses in Caribbean Netherlands (Bonaire, Sint Eustatius, Saba) were not tested and are not claimed.
  • A score is a heuristic for how close the input was, not a probability.
  • Coordinates are the object's centroid from the BAG, not an entrance.

Use it from code or an AI agent

curl -X POST "https://api.apify.com/v2/acts/lyfe_tools~nl-address-postcode-lookup-pdok/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"addresses": ["Dam 1 Amsterdam", "1071XX 1"]}'

AI agents (Claude, Cursor and other MCP clients) can call it through the Apify MCP server at https://mcp.apify.com: the agent sends addresses (or mode: "reverse" with coordinates), and reads status, address, postcode, city, lat, lon and notes.

FAQ

Can I find the address for a Dutch postcode and house number? Yes. "1071XX 1" or {"postcode": "1071 XX", "houseNumber": "1"} returns the street, city and BAG IDs.

Does it work for Belgian or German addresses? No. It only searches the Dutch BAG. "Meir 1 Antwerpen" came back not_found (free), listing Dutch addresses as alternatives.

Can I turn coordinates into an address (reverse geocoding)? Yes, with mode: "reverse" and coordinates. A point outside the Dutch bounding box (or with lat and lon swapped) comes back not_found with that reason; a point with no address within maxDistanceMeters likewise.

Does it work without a house number? No. A street or a place name without a number cannot be matched to one BAG address.

Does it give RD (Rijksdriehoek) coordinates? Yes, rdX and rdY next to WGS84 lat and lon.

Do I need a PDOK API key? No. The PDOK Locatieserver is open and free; you only need an Apify account.

Source and terms

Data: BAG (Basisregistratie Adressen en Gebouwen), published as open data by Kadaster through the PDOK Locatieserver (https://api.pdok.nl/bzk/locatieserver/search/v3_1). PDOK describes the service as open and free, with a "best effort" service level and a Fair Use policy, and answers too many requests with HTTP 429. This Actor identifies itself (tools@lyfeoffshore.com), uses 5 parallel requests by default, retries with backoff on 429/5xx and stops with an error instead of hammering. The BAG is released under CC0 1.0 (data.overheid.nl), so commercial use is allowed and no attribution is required; crediting "BAG, Kadaster / PDOK" is still courteous. Dutch addresses of private individuals are personal data under the GDPR: you are responsible for what you do with the output.

Issues and questions: tools@lyfeoffshore.com.