search_address
Search Norwegian addresses by free text.
Direct GET
For navigating agents: open the HTML page with parameters in the URL. The result is fetched and displayed without screenshots or form filling.
Open this validated HTML GET URL
https://allemannsdata.com/wiki/kilder/geonorge/search_address/?text={text}&kommunenummer={kommunenummer}&limit=20&query={query}&offset=0
For software and dashboards:
Read the operation descriptor.
The JSON GET template is https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_address?text={text}&kommunenummer={kommunenummer}&limit=20&query={query}&offset=0.
Open this exact request as JSON.
| Parameter | Requirement | JSON type | Description |
|---|---|---|---|
text | optional | union | Address query, e.g. "Karl Johans gate 1" or "Storgata". |
kommunenummer | optional | union | Optional 4-digit municipality code to restrict the search (e.g. "0301" for Oslo, "4601" for Bergen). |
limit | optional | integer | Max hits to return, 1 to 100 (default 20). |
query | optional | union | Alias for `text` (use one or the other). |
offset | optional | integer | Number of list items to skip; default 0. |
Generated JavaScript, Python and response structure
Use JSON when the user requests code, machine-readable data, value extraction or further computation. Use the HTML GET page to identify the correct source and verify parameters.
Example for generated JavaScript and Python
https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_address?text={text}&kommunenummer={kommunenummer}&limit=20&query={query}&offset=0
Replace URL placeholders and remove unused optional parameters.
JavaScript in a dashboard
const url = "https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_address?text={text}&kommunenummer={kommunenummer}&limit=20&query={query}&offset=0";
const response = await fetch(url);
if (!response.ok) {
const failure = await response.json();
throw new Error(`${failure.error.code}: ${failure.error.message} ${failure.suggestion}`);
}
const result = await response.json();
const data = result.data;
Python without additional packages
import json
from urllib.request import urlopen
url = "https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_address?text={text}&kommunenummer={kommunenummer}&limit=20&query={query}&offset=0"
with urlopen(url) as response:
result = json.load(response)
data = result["data"]
Response structure
{
"source": "geonorge",
"operation": "search_address",
"parameters": {},
"data": {},
"entities": [],
"_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
"_links": {"self": "...", "source": "...", "wiki": "..."}
}
Unknown parameter ignored: postal_code. Valid parameters: text, kommunenummer, limit, query.
Form for manual use
The form is a fallback for people and browser agents that cannot open the GET URL directly.
Result
- total_count:
- 39
- addresses:
25 results
- address:
- Markveien 58
- postnummer:
- 1406
- poststed:
- SKI
- kommunenummer:
- 3207
- kommunenavn:
- NORDRE FOLLO
- lat:
- 59.7138408
- lon:
- 10.8211551
- epsg:
- EPSG:4326
- address:
- Markveien 58
- postnummer:
- 4020
- poststed:
- STAVANGER
- kommunenummer:
- 1103
- kommunenavn:
- STAVANGER
- lat:
- 58.9269891
- lon:
- 5.7220626
- epsg:
- EPSG:4326
- address:
- Markveien 1
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7816561
- lon:
- 16.1424743
- epsg:
- EPSG:4326
- address:
- Markveien 1
- postnummer:
- 9407
- poststed:
- HARSTAD
- kommunenummer:
- 5503
- kommunenavn:
- HARSTAD
- lat:
- 68.7861245
- lon:
- 16.5296076
- epsg:
- EPSG:4326
- address:
- Markveien 11A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7831837
- lon:
- 16.1392711
- epsg:
- EPSG:4326
- address:
- Markveien 11B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7831413
- lon:
- 16.1394147
- epsg:
- EPSG:4326
- address:
- Markveien 11C
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7830935
- lon:
- 16.1393807
- epsg:
- EPSG:4326
- address:
- Markveien 17A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7833876
- lon:
- 16.1392671
- epsg:
- EPSG:4326
- address:
- Markveien 17B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.783437
- lon:
- 16.1391123
- epsg:
- EPSG:4326
- address:
- Markveien 2
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7817029
- lon:
- 16.1408424
- epsg:
- EPSG:4326
- address:
- Markveien 2
- postnummer:
- 9407
- poststed:
- HARSTAD
- kommunenummer:
- 5503
- kommunenavn:
- HARSTAD
- lat:
- 68.7859243
- lon:
- 16.528925
- epsg:
- EPSG:4326
- address:
- Markveien 20A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811253
- lon:
- 10.4157117
- epsg:
- EPSG:4326
- address:
- Markveien 20B
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811271
- lon:
- 10.4155538
- epsg:
- EPSG:4326
- address:
- Markveien 20C
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811196
- lon:
- 10.4154131
- epsg:
- EPSG:4326
- address:
- Markveien 20D
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811209
- lon:
- 10.4152903
- epsg:
- EPSG:4326
- address:
- Markveien 21A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7837385
- lon:
- 16.1385514
- epsg:
- EPSG:4326
- address:
- Markveien 21B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.783683
- lon:
- 16.138446
- epsg:
- EPSG:4326
- address:
- Markveien 22A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.281222
- lon:
- 10.4150838
- epsg:
- EPSG:4326
- address:
- Markveien 22B
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2812848
- lon:
- 10.4150864
- epsg:
- EPSG:4326
- address:
- Markveien 22C
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2813477
- lon:
- 10.4150891
- epsg:
- EPSG:4326
- address:
- Markveien 22D
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2814105
- lon:
- 10.4150917
- epsg:
- EPSG:4326
- address:
- Markveien 22E
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2814823
- lon:
- 10.4150946
- epsg:
- EPSG:4326
- address:
- Markveien 23A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7838247
- lon:
- 16.1380831
- epsg:
- EPSG:4326
- address:
- Markveien 23B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7837692
- lon:
- 16.1379741
- epsg:
- EPSG:4326
- address:
- Markveien 24A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2815471
- lon:
- 10.4157467
- epsg:
- EPSG:4326
- limit:
- 25
- offset:
- 0
- returned:
- 25
- has_more_results:
- yes
- truncated:
- yes
- next_offset:
- 25
Show all fields in HTML
- total_count:
- 39
- addresses:
25 results
- address:
- Markveien 58
- postnummer:
- 1406
- poststed:
- SKI
- kommunenummer:
- 3207
- kommunenavn:
- NORDRE FOLLO
- lat:
- 59.7138408
- lon:
- 10.8211551
- epsg:
- EPSG:4326
- address:
- Markveien 58
- postnummer:
- 4020
- poststed:
- STAVANGER
- kommunenummer:
- 1103
- kommunenavn:
- STAVANGER
- lat:
- 58.9269891
- lon:
- 5.7220626
- epsg:
- EPSG:4326
- address:
- Markveien 1
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7816561
- lon:
- 16.1424743
- epsg:
- EPSG:4326
- address:
- Markveien 1
- postnummer:
- 9407
- poststed:
- HARSTAD
- kommunenummer:
- 5503
- kommunenavn:
- HARSTAD
- lat:
- 68.7861245
- lon:
- 16.5296076
- epsg:
- EPSG:4326
- address:
- Markveien 11A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7831837
- lon:
- 16.1392711
- epsg:
- EPSG:4326
- address:
- Markveien 11B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7831413
- lon:
- 16.1394147
- epsg:
- EPSG:4326
- address:
- Markveien 11C
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7830935
- lon:
- 16.1393807
- epsg:
- EPSG:4326
- address:
- Markveien 17A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7833876
- lon:
- 16.1392671
- epsg:
- EPSG:4326
- address:
- Markveien 17B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.783437
- lon:
- 16.1391123
- epsg:
- EPSG:4326
- address:
- Markveien 2
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7817029
- lon:
- 16.1408424
- epsg:
- EPSG:4326
- address:
- Markveien 2
- postnummer:
- 9407
- poststed:
- HARSTAD
- kommunenummer:
- 5503
- kommunenavn:
- HARSTAD
- lat:
- 68.7859243
- lon:
- 16.528925
- epsg:
- EPSG:4326
- address:
- Markveien 20A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811253
- lon:
- 10.4157117
- epsg:
- EPSG:4326
- address:
- Markveien 20B
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811271
- lon:
- 10.4155538
- epsg:
- EPSG:4326
- address:
- Markveien 20C
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811196
- lon:
- 10.4154131
- epsg:
- EPSG:4326
- address:
- Markveien 20D
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2811209
- lon:
- 10.4152903
- epsg:
- EPSG:4326
- address:
- Markveien 21A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7837385
- lon:
- 16.1385514
- epsg:
- EPSG:4326
- address:
- Markveien 21B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.783683
- lon:
- 16.138446
- epsg:
- EPSG:4326
- address:
- Markveien 22A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.281222
- lon:
- 10.4150838
- epsg:
- EPSG:4326
- address:
- Markveien 22B
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2812848
- lon:
- 10.4150864
- epsg:
- EPSG:4326
- address:
- Markveien 22C
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2813477
- lon:
- 10.4150891
- epsg:
- EPSG:4326
- address:
- Markveien 22D
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2814105
- lon:
- 10.4150917
- epsg:
- EPSG:4326
- address:
- Markveien 22E
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2814823
- lon:
- 10.4150946
- epsg:
- EPSG:4326
- address:
- Markveien 23A
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7838247
- lon:
- 16.1380831
- epsg:
- EPSG:4326
- address:
- Markveien 23B
- postnummer:
- 9475
- poststed:
- BORKENES
- kommunenummer:
- 5510
- kommunenavn:
- KVÆFJORD
- lat:
- 68.7837692
- lon:
- 16.1379741
- epsg:
- EPSG:4326
- address:
- Markveien 24A
- postnummer:
- 3117
- poststed:
- TØNSBERG
- kommunenummer:
- 3905
- kommunenavn:
- TØNSBERG
- lat:
- 59.2815471
- lon:
- 10.4157467
- epsg:
- EPSG:4326
- limit:
- 25
- offset:
- 0
- returned:
- 25
- has_more_results:
- yes
- truncated:
- yes
- next_offset:
- 25
Will you use the result in generated code?
Continue exploring
How an AI agent should use this page
Ground rule: Navigate with HTML GET links to keep explanations and relationships. Use the page's JSON alternative only when concrete values must be extracted, compared or computed.
How to use the search_address lookup
- Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
- Check types, units, limits and ID formats in the parameter table.
- Follow linked results to canonical pages before combining sources.
Misreading to avoid: An empty list means "no results for this lookup". An error message or unavailable source does not mean the data does not exist.
Source-specific next step
- If the result has coordinates, open the place page to combine this lookup with the other point-based services.
Go to the source page for other operations. Use the JSON template only after the HTML result shows that the parameters and source are correct.
AI agent? Read the complete navigation and programming guide.