Data cleansing

Batch address cleaning of unit addresses (Pro 100, Enterprise 500 per call) — requires Pro or higher

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

POST/v1/datavask/adresser/batchPro

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Body

application/json
betegnelserstring[]required
max 500 items

Request

curl --request POST \
  --url "https://api.danskadresseapi.dk/v1/datavask/adresser/batch" \
  --header "Authorization: Bearer $API_KEY" \
  --header "Content-Type: application/json" \
  --data '{
  "betegnelser": [
    "<betegnelser>"
  ]
}'
Try it
POST https://api.danskadresseapi.dk/v1/datavask/adresser/batch

Response

application/json

Results per string

countinteger
resultsobject[]

Results in the same order as the input (each with idx and input).

200Eksempel
{
  "count": 0,
  "results": [
    {}
  ]
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}