---
title: "DAWA combined type-ahead: vejnavn → adgangsadresse → adresse"
method: GET
path: "/dawa/autocomplete"
tags: ["DAWA-kompatibel"]
---

# DAWA combined type-ahead: vejnavn → adgangsadresse → adresse

`GET /dawa/autocomplete`

## Request

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

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.

## Query parameters

- `q` string
- `per_side` integer
- `caretpos` integer
- `type` string
- `startfra` string
- `fuzzy` string
- `id` string
- `adgangsadresseid` string
- `kommunekode` string
- `postnr` string
- `supplerendebynavn` string
- `multilinje` string
- `stormodtagerpostnumre` string
- `format` 'json' | 'geojson' | 'geojsonz' | 'csv'
- `struktur` 'nestet' | 'mini' | 'flad'
- `srid` '4326' | '25832'
- `callback` string
- `noformat` string

## Response `200`

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[]

## Other responses

- `400`: Error
- `401`: Error
- `429`: Error
- `503`: Error

---

[API](https://skmtc.dev/grundfast/apis/grundfast-api.md) · [All operations](https://skmtc.dev/grundfast/apis/grundfast-api/llms.txt) · [OpenAPI document](https://skmtc.dev/grundfast/apis/grundfast-api/revisions/ccef6e299bb5?raw)
