DAWA-kompatibel

DAWA regioner

The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

get/dawa/regioner

Request

  • Base URL: https://api.grundfast.dk
  • URL: https://api.grundfast.dk/dawa/regioner
  • Auth: one of:
    • HTTP bearer
    • API key in query parameter token

Query parameters

kodestring

Code (1–4 digits). Several values separated by |.

navnstring

Exact name.

qstring

Text in the name.

per_sideinteger

Page size, at most 1000. Without it a list answers WHOLE, as DAWA did: past 10,000 rows the body streams (X-Total-Count gives its size) and costs one call plus one per started 1,000 rows beyond the first 10,000. One streamed list per account at a time (429 while one runs); a filtered list stops at 1,000,000 rows (400) — the whole set is the replication udtræk.

sideinteger

Page number (from 1). Paging past the first 25,000 rows is refused.

format'json' | 'geojson' | 'geojsonz' | 'csv'

json (default), geojson, geojsonz or csv.

struktur'nestet' | 'mini' | 'flad'

nestet (default for json), mini or flad.

srid'4326' | '25832'

Output (and cirkel/polygon input) reference system: 4326 (default) or 25832.

callbackstring

JSONP callback name.

noformatstring

Compact JSON instead of DAWA’s pretty-printing.

Response

OK. The body is DAWA’s own representation: a bare object (single lookups) or a bare array (lists, type-aheads), shaped by struktur (nestet | mini | flad) and format (json | geojson | csv); callback wraps JSON as JSONP.

object[] required

Changes

No recorded changes to this operation across all 1 revision of this API.