LocAPI
Documentation menu

LocAPI documentation

LocAPI is one API for European business data, with one account and one contract. Today that is Address: autocomplete while your user types and the full address after a choice, in 13 countries, and a lookup by postal code and house number in 14 countries. What else is coming, and how far it is, is on the capabilities page.

Quickstart#

  1. Get an account and an API key. LocAPI opens accounts for businesses; there is no self-service sign-up yet. To request access, email hello@locapi.eu. With an account you create and revoke keys yourself in the dashboard. A key starts with lk_live_ and is shown once.
  2. Call the API from your server, with the key in the X-Api-Key header. Never put the key in browser or app code: anyone could read it and use it on your bill.
  3. Make your first request. A lookup of a Dutch address by postal code and house number:
curl -G "https://api.locapi.eu/v1/address/lookup" \
  -H "X-Api-Key: $LOCAPI_API_KEY" \
  --data-urlencode "country=NL" \
  --data-urlencode "postalCode=3011 AD" \
  --data-urlencode "houseNumber=40"
Response · 200
{
  "outcome": "found",
  "requestId": "req_0192b0c4-…",
  "result": {
    "id": "adr_v1_…",
    "label": "Coolsingel 40, 3011 AD Rotterdam",
    "precision": "building",
    "address": {
      "street": "Coolsingel",
      "houseNumber": "40",
      "houseNumberAddition": null,
      "postalCode": "3011 AD",
      "city": "Rotterdam",
      "municipality": null,
      "region": null,
      "countryCode": "NL",
      "location": {
        "latitude": 51.9227229,
        "longitude": 4.4792039
      }
    },
    "retrievedAt": "2026-09-28T20:58:10Z"
  },
  "results": [],
  "attribution": []
}

The basics#

  • Base URL: https://api.locapi.eu. Every call is an HTTPS GET and answers JSON.
  • Every response carries a request id, in the body (requestId) and in the X-Request-Id header. Quote it when you contact us.
  • Errors are application/problem+json with a stable code. See Errors.
  • You pay per address you get, never per call we make to a source. See Billing and fair use.

Where to go next#

  • The Address guide: autocomplete, lookup and how the two flows fit together.
  • Countries: autocomplete in 13 countries, lookup in 14.
  • OpenAPI: the machine-readable contract.