Account

Usage per day (90 days)

Billable calls per day (UTC) for the last 90 days, newest first, for the whole pool — the days in the period add up to period.calls in GET /v1/usage. Requires a live key.

GET/v1/usage/history

Authentication

Authorizationstringheaderrequired

Your API key as a Bearer token.

Request

curl --request GET \
  --url "https://api.danskadresseapi.dk/v1/usage/history" \
  --header "Authorization: Bearer $API_KEY"
Try it
GET https://api.danskadresseapi.dk/v1/usage/history

Response

application/json

The days

daysobject[]
Show child attributes(2)
days.daystring<date-time>

Start of the day (UTC).

days.totalstring

Billable calls (number as text).

periodobject
Show child attributes(2)
period.endstring<date-time>
period.startstring<date-time>
200Eksempel
{
  "days": [
    {
      "day": "2026-09-20T10:00:00.000Z",
      "total": "1234"
    }
  ],
  "period": {
    "end": "2026-09-20T10:00:00.000Z",
    "start": "2026-09-20T10:00:00.000Z"
  }
}
401Missing key
{
  "error": {
    "code": "unauthorized",
    "message": "Missing or invalid API key."
  }
}