Skip to navigation

Search delivery addresses

Searches Norwegian addresses (from Kartverket) for your checkout. Use the coordinates as deliveryLat and deliveryLng for radius-based delivery zones (RADIUS), and the postal code as deliveryPostalCode for postal-code zones (POSTAL_CODES).

If the restaurant does not offer delivery, hits is empty. Rate limit: 30 requests per 60 seconds per IP.

Authentication

AuthorizationBearer

Either this or a trusted browser origin. The restaurant’s API key, sent as Authorization: Bearer lbs_…. Use it from your server only, never in browser code. Keys are issued per restaurant by LettBestilt.

OR
Originstring

Either this or an API key. No key is needed when the request’s Origin header is trusted for this restaurant: https://{slug}.lettbestilt.no, a verified domain of the restaurant, or a partner origin LettBestilt has bound to the restaurant. Browsers set Origin themselves; it is not something you configure. Not accepted by GET /site-gate, which requires an API key.

Query parameters

slugstringRequired
The restaurant's slug.
qstringRequired3-100 characters

What the customer typed, 3–100 characters. For example a street name and number.

Response

Matching addresses.
hitslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
502
Bad Gateway Error