Skip to content Skip to sidebar Skip to footer

Search API - Luxembourg

Introduction

For The Netherlands, a postalcode and a number (optionally a suffix) are unique to an address.

Supported search endpoints:

City

URL parameters:

  • name (required)
  • limit (optional, number (default=25))
Example request:

GET https://api.apicheck.nl/search/v1/city/lu?name=Luxembourg

{
    "error": false,
    "data": {
        "Country": {
            "name": "Luxemburg",
            "code": "LU",
            "nameInt": "Luxembourg"
        },
        "Results": [
            {
                "name": "Luxembourg",
                "city_id": 41,
                "Postalcodes": null
            }
        ]
    },
    "count": 1
}
Postalcode

URL parameters:

  • name (required)
  • limit (optional, number (default=25))

Note: postalcodes are unique in Luxembourg. So no postalcode_id is shown. You can use city_id as unique value.

Example request:

GET https://api.apicheck.nl/search/v1/postalcode/lu?name=2448

{
    "error": false,
    "data": {
        "Country": {
            "name": "Luxemburg",
            "code": "LU",
            "nameInt": "Luxembourg"
        },
        "Results": [
            {
                "name": "2448",
                "postalcode_id": 2930,
                "City": {
                    "name": "Luxembourg",
                    "city_id": 41
                }
            }
        ]
    },
    "count": 1
}
Street

URL parameters:

  • name (required)
  • limit (optional, number (default=25))
Example request:

GET https://api.apicheck.nl/search/v1/street/lu?city_id=41&name=Park Drai

{
    "error": false,
    "data": {
        "Country": {
            "name": "Luxemburg",
            "code": "LU",
            "nameInt": "Luxembourg"
        },
        "Results": [
            {
                "name": "Park Drai Eechelen",
                "street_id": 2362,
                "City": {
                    "name": "Luxembourg",
                    "city_id": 41
                }
            }
        ]
    },
    "count": 3
}
Verify / lookup full address

URL parameters:

  • number (optional)
  • numberAddition (optional)
  • street_id (optional)
  • city_id (optional)
  • limit (optional, number (default=25))
Example request:

GET https://api.apicheck.nl/search/v1/address/lu?number=1&city_id=41&street_id=2362

{
    "error": false,
    "data": {
        "Country": {
            "name": "Luxemburg",
            "code": "LU",
            "nameInt": "Luxembourg"
        },
        "Results": [
            {
                "street": "Park Drai Eechelen",
                "number": "1",
                "numberAddition": null,
                "postalcode": "1499",
                "city": "Luxembourg",
                "municipality": "Luxembourg",
                "region": null,
                "formattedAddress": "1 Park Drai Eechelen 1499 Luxembourg, Luxembourg",
                "Location": {
                    "Coordinates": {
                        "latitude": "49.617159075722",
                        "longitude": "6.1416894228652"
                    }
                }
            }
        ]
    },
    "count": 1
}

Run and try out in Postman: