Examples: Geosearch
Please note: After clicking on the links below, please replace the given servicekey with the servicekey of your organization.
Search for ‘Amsterdam’:
https://services.geodan.nl/geosearch/v2/search?query=amsterdam
Search for the city ‘Amsterdam’:
https://services.geodan.nl/geosearch/v2/search?query=amsterdam&type=city&country=NLD
Search for the municipality ‘Amsterdam’:
https://services.geodan.nl/geosearch/v2/search?query=amsterdam&type=municipality&country=NLD
Search for the city ‘Amsterdam’ within the municipality ‘Amsterdam’:
Search for the street ‘Kerkstraat’ within the city ‘Amsterdam’:
Search for the street ‘Kerkstraat’ within either cities ‘Amsterdam’ or ‘Utrecht’:
Search for the street ‘Kerkstraat’ within the city ‘Amsterdam’ and make sure ‘Nieuwe Kerkstraat’ is omitted:
Search for the address ‘Kerkstraat 1’ within the city ‘Amsterdam’ and make sure ‘Nieuwe Kerkstraat’ is omitted:
Search for the postal code ‘1079MB’:
https://services.geodan.nl/geosearch/v2/search?query=1079MB&type=postalCode&country=NLD
Search for cities that start with ‘Ha’ and end with ‘ren’ and have anything in between:
https://services.geodan.nl/geosearch/v2/search?query=ha*ren&type=city&country=NLD
Search for cities that look somewhat like ‘Haren’:
https://services.geodan.nl/geosearch/v2/search?query=haren~&type=city&country=NLD
Search for suggestions for the postal code ‘5211TP’:
https://services.geodan.nl/geosearch/v2/suggest?query=5211TP&type=postalCode&country=NLD
Search for the postal code ‘5211TP’ using the id provided by the ‘suggest’ endpoint:
https://services.geodan.nl/geosearch/v2/lookup?id=TkxELy8vL3Bvc3Rjb2RlLTUyMTFUUA
Search for Amsterdam in the United States:
https://services.geodan.nl/geosearch/v2/search?query=amsterdam&type=&country=USA
Search for a building using its ID:
https://services.geodan.nl/geosearch/v2/search?type=&country=NLD&buildingId=0363100012127973
Search for an address mistakenly using faulty information but retrieve a result nonetheless:
Search for the nearest address to a set of coordinates:
https://services.geodan.nl/geosearch/v2/reverse?lon=4.913066&lat=52.342319&type=address&limit=1
Search for ‘Amsterdam’ in the United States of America:
https://services.geodan.nl/geosearch/v2/search?query=amsterdam&type=city&country=USA&limit=10