Addresses

Batch reverse geocoding (Pro 100, Enterprise 1,000 points per call) — requires Pro or higher

Billed as one call per point. Preserves the input order. Requires the Pro plan or higher.

POST/v1/reverse/batchPro

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Body

application/json
pointsobject[]required
max 1000 items
Show child attributes(4)
points.latnumberrequired
54–58
points.lonnumberrequired
7–16
points.limitinteger
default: 5max 50
points.radiusinteger
default: 100max 5000

Request

curl --request POST \
  --url "https://api.danskadresseapi.dk/v1/reverse/batch" \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "points": [
    {
      "lat": 54,
      "lon": 7
    }
  ]
}'
Try it
POST https://api.danskadresseapi.dk/v1/reverse/batch

Response

application/json

Results per point

countinteger
resultsobject[]
Show child attributes(3)
results.idxinteger
results.inputobject
results.matchesobject[]
200Eksempel
{
  "count": 0,
  "results": [
    {
      "idx": 0,
      "input": {},
      "matches": [
        {}
      ]
    }
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}