search_address

Search Norwegian addresses by free text.

Signature: search_address(text: string, optional, default None; kommunenummer: string, optional, default None; limit: integer, items, optional, default 25; query: string, optional, default None; offset: integer, items, optional, default 0)

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=25&query={query}&offset=0

Replace {text}, {kommunenummer}, {limit}, {query} with values. Remove unused optional parameters from the URL.

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=25&query={query}&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
textoptionalunionAddress query, e.g. "Karl Johans gate 1" or "Storgata".
kommunenummeroptionalunionOptional 4-digit municipality code to restrict the search (e.g. "0301" for Oslo, "4601" for Bergen).
limitoptionalintegerMax hits to return. Unit: items. Through this API: default 25, maximum 100.
queryoptionalunionAlias for `text` (use one or the other).
offsetoptionalintegerNumber 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=25&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=25&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=25&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": "...", "feedback": "..."}
}

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.

Type: string. Address query, e.g. "Karl Johans gate 1" or "Storgata".
Type: string. Optional 4-digit municipality code to restrict the search (e.g. "0301" for Oslo, "4601" for Bergen).
Type: integer. Max hits to return. Unit: items. Through this API: default 25, maximum 100.
Type: string. Alias for `text` (use one or the other).

Result

Source: Geonorge. Retrieved 2026-11-12T15:37:33Z in 0.255 seconds.

total_count:
104
addresses:

25 results

  1. address:
    Haugen 23
    postnummer:
    5567
    poststed:
    SKJOLDASTRAUMEN
    kommunenummer:
    1146
    kommunenavn:
    TYSVÆR
    lat:
    59.4302423
    lon:
    5.6124339
    epsg:
    EPSG:4326
  2. address:
    Haugen 23
    postnummer:
    4323
    poststed:
    SANDNES
    kommunenummer:
    1108
    kommunenavn:
    SANDNES
    lat:
    58.8258411
    lon:
    5.7262447
    epsg:
    EPSG:4326
  3. address:
    Haugen 23
    postnummer:
    8530
    poststed:
    BJERKVIK
    kommunenummer:
    1806
    kommunenavn:
    NARVIK
    lat:
    68.5485832
    lon:
    17.5284816
    epsg:
    EPSG:4326
  4. address:
    Haugen 23
    postnummer:
    3647
    poststed:
    HVITTINGFOSS
    kommunenummer:
    3303
    kommunenavn:
    KONGSBERG
    lat:
    59.4822524
    lon:
    10.0117137
    epsg:
    EPSG:4326
  5. address:
    Haugen 23
    postnummer:
    8075
    poststed:
    BODØ
    kommunenummer:
    1804
    kommunenavn:
    BODØ
    lat:
    67.2794248
    lon:
    14.4476462
    epsg:
    EPSG:4326
  6. address:
    Haugen 23
    postnummer:
    6879
    poststed:
    SOLVORN
    kommunenummer:
    4644
    kommunenavn:
    LUSTER
    lat:
    61.3021281
    lon:
    7.2433166
    epsg:
    EPSG:4326
  7. address:
    Haugen 23
    postnummer:
    4443
    poststed:
    TJØRHOM
    kommunenummer:
    4228
    kommunenavn:
    SIRDAL
    lat:
    58.9237548
    lon:
    6.910056
    epsg:
    EPSG:4326
  8. address:
    Haugen 23
    postnummer:
    5412
    poststed:
    STORD
    kommunenummer:
    4614
    kommunenavn:
    STORD
    lat:
    59.7589485
    lon:
    5.4754338
    epsg:
    EPSG:4326
  9. address:
    Haugen 23
    postnummer:
    6977
    poststed:
    BYGSTAD
    kommunenummer:
    4647
    kommunenavn:
    SUNNFJORD
    lat:
    61.3784122
    lon:
    5.6835247
    epsg:
    EPSG:4326
  10. address:
    Haugen 25
    postnummer:
    5546
    poststed:
    RØYKSUND
    kommunenummer:
    1149
    kommunenavn:
    KARMØY
    lat:
    59.3305374
    lon:
    5.3432336
    epsg:
    EPSG:4326
  11. address:
    Haugen 3
    postnummer:
    3647
    poststed:
    HVITTINGFOSS
    kommunenummer:
    3303
    kommunenavn:
    KONGSBERG
    lat:
    59.4804558
    lon:
    10.0112834
    epsg:
    EPSG:4326
  12. address:
    Haugen 74
    postnummer:
    5645
    poststed:
    SÆVAREID
    kommunenummer:
    4624
    kommunenavn:
    BJØRNAFJORDEN
    lat:
    60.1868058
    lon:
    5.7495968
    epsg:
    EPSG:4326
  13. address:
    Haugen hyttegrend 23
    postnummer:
    4754
    poststed:
    BYKLE
    kommunenummer:
    4222
    kommunenavn:
    BYKLE
    lat:
    59.4586752
    lon:
    7.3958271
    epsg:
    EPSG:4326
  14. address:
    Haugen hyttegrend 28
    postnummer:
    4754
    poststed:
    BYKLE
    kommunenummer:
    4222
    kommunenavn:
    BYKLE
    lat:
    59.4593497
    lon:
    7.39883
    epsg:
    EPSG:4326
  15. address:
    Haugen skules veg 20
    postnummer:
    7340
    poststed:
    OPPDAL
    kommunenummer:
    5021
    kommunenavn:
    OPPDAL
    lat:
    62.6013445
    lon:
    9.656521
    epsg:
    EPSG:4326
  16. address:
    Haugane 23
    postnummer:
    5580
    poststed:
    ØLEN
    kommunenummer:
    1160
    kommunenavn:
    VINDAFJORD
    lat:
    59.6071846
    lon:
    5.8240671
    epsg:
    EPSG:4326
  17. address:
    Haugane 23
    postnummer:
    4250
    poststed:
    KOPERVIK
    kommunenummer:
    1149
    kommunenavn:
    KARMØY
    lat:
    59.2728837
    lon:
    5.3256605
    epsg:
    EPSG:4326
  18. address:
    Haugane 23
    postnummer:
    3409
    poststed:
    TRANBY
    kommunenummer:
    3312
    kommunenavn:
    LIER
    lat:
    59.8270163
    lon:
    10.2872554
    epsg:
    EPSG:4326
  19. address:
    Haugane 23
    postnummer:
    6265
    poststed:
    VATNE
    kommunenummer:
    1580
    kommunenavn:
    HARAM
    lat:
    62.5571687
    lon:
    6.6150242
    epsg:
    EPSG:4326
  20. address:
    Haugane 23
    postnummer:
    6740
    poststed:
    SELJE
    kommunenummer:
    4649
    kommunenavn:
    STAD
    lat:
    62.0413255
    lon:
    5.3472389
    epsg:
    EPSG:4326
  21. address:
    Haugane 23
    postnummer:
    5724
    poststed:
    STANGHELLE
    kommunenummer:
    4628
    kommunenavn:
    VAKSDAL
    lat:
    60.5584044
    lon:
    5.748257
    epsg:
    EPSG:4326
  22. address:
    Haugane 23
    postnummer:
    6982
    poststed:
    HOLMEDAL
    kommunenummer:
    4645
    kommunenavn:
    ASKVOLL
    lat:
    61.3561267
    lon:
    5.1785864
    epsg:
    EPSG:4326
  23. address:
    Hauger skolevei 23
    postnummer:
    1351
    poststed:
    RUD
    kommunenummer:
    3201
    kommunenavn:
    BÆRUM
    lat:
    59.9092452
    lon:
    10.5029004
    epsg:
    EPSG:4326
  24. address:
    Hans Hauges gate 23
    postnummer:
    5033
    poststed:
    BERGEN
    kommunenummer:
    4601
    kommunenavn:
    BERGEN
    lat:
    60.4024793
    lon:
    5.3244179
    epsg:
    EPSG:4326
  25. address:
    Hanebergveien 23
    postnummer:
    4380
    poststed:
    HAUGE I DALANE
    kommunenummer:
    1111
    kommunenavn:
    SOKNDAL
    lat:
    58.3427503
    lon:
    6.3124714
    epsg:
    EPSG:4326
Show all fields in HTML
total_count:
104
addresses:

25 results

  1. address:
    Haugen 23
    postnummer:
    5567
    poststed:
    SKJOLDASTRAUMEN
    kommunenummer:
    1146
    kommunenavn:
    TYSVÆR
    lat:
    59.4302423
    lon:
    5.6124339
    epsg:
    EPSG:4326
  2. address:
    Haugen 23
    postnummer:
    4323
    poststed:
    SANDNES
    kommunenummer:
    1108
    kommunenavn:
    SANDNES
    lat:
    58.8258411
    lon:
    5.7262447
    epsg:
    EPSG:4326
  3. address:
    Haugen 23
    postnummer:
    8530
    poststed:
    BJERKVIK
    kommunenummer:
    1806
    kommunenavn:
    NARVIK
    lat:
    68.5485832
    lon:
    17.5284816
    epsg:
    EPSG:4326
  4. address:
    Haugen 23
    postnummer:
    3647
    poststed:
    HVITTINGFOSS
    kommunenummer:
    3303
    kommunenavn:
    KONGSBERG
    lat:
    59.4822524
    lon:
    10.0117137
    epsg:
    EPSG:4326
  5. address:
    Haugen 23
    postnummer:
    8075
    poststed:
    BODØ
    kommunenummer:
    1804
    kommunenavn:
    BODØ
    lat:
    67.2794248
    lon:
    14.4476462
    epsg:
    EPSG:4326
  6. address:
    Haugen 23
    postnummer:
    6879
    poststed:
    SOLVORN
    kommunenummer:
    4644
    kommunenavn:
    LUSTER
    lat:
    61.3021281
    lon:
    7.2433166
    epsg:
    EPSG:4326
  7. address:
    Haugen 23
    postnummer:
    4443
    poststed:
    TJØRHOM
    kommunenummer:
    4228
    kommunenavn:
    SIRDAL
    lat:
    58.9237548
    lon:
    6.910056
    epsg:
    EPSG:4326
  8. address:
    Haugen 23
    postnummer:
    5412
    poststed:
    STORD
    kommunenummer:
    4614
    kommunenavn:
    STORD
    lat:
    59.7589485
    lon:
    5.4754338
    epsg:
    EPSG:4326
  9. address:
    Haugen 23
    postnummer:
    6977
    poststed:
    BYGSTAD
    kommunenummer:
    4647
    kommunenavn:
    SUNNFJORD
    lat:
    61.3784122
    lon:
    5.6835247
    epsg:
    EPSG:4326
  10. address:
    Haugen 25
    postnummer:
    5546
    poststed:
    RØYKSUND
    kommunenummer:
    1149
    kommunenavn:
    KARMØY
    lat:
    59.3305374
    lon:
    5.3432336
    epsg:
    EPSG:4326
  11. address:
    Haugen 3
    postnummer:
    3647
    poststed:
    HVITTINGFOSS
    kommunenummer:
    3303
    kommunenavn:
    KONGSBERG
    lat:
    59.4804558
    lon:
    10.0112834
    epsg:
    EPSG:4326
  12. address:
    Haugen 74
    postnummer:
    5645
    poststed:
    SÆVAREID
    kommunenummer:
    4624
    kommunenavn:
    BJØRNAFJORDEN
    lat:
    60.1868058
    lon:
    5.7495968
    epsg:
    EPSG:4326
  13. address:
    Haugen hyttegrend 23
    postnummer:
    4754
    poststed:
    BYKLE
    kommunenummer:
    4222
    kommunenavn:
    BYKLE
    lat:
    59.4586752
    lon:
    7.3958271
    epsg:
    EPSG:4326
  14. address:
    Haugen hyttegrend 28
    postnummer:
    4754
    poststed:
    BYKLE
    kommunenummer:
    4222
    kommunenavn:
    BYKLE
    lat:
    59.4593497
    lon:
    7.39883
    epsg:
    EPSG:4326
  15. address:
    Haugen skules veg 20
    postnummer:
    7340
    poststed:
    OPPDAL
    kommunenummer:
    5021
    kommunenavn:
    OPPDAL
    lat:
    62.6013445
    lon:
    9.656521
    epsg:
    EPSG:4326
  16. address:
    Haugane 23
    postnummer:
    5580
    poststed:
    ØLEN
    kommunenummer:
    1160
    kommunenavn:
    VINDAFJORD
    lat:
    59.6071846
    lon:
    5.8240671
    epsg:
    EPSG:4326
  17. address:
    Haugane 23
    postnummer:
    4250
    poststed:
    KOPERVIK
    kommunenummer:
    1149
    kommunenavn:
    KARMØY
    lat:
    59.2728837
    lon:
    5.3256605
    epsg:
    EPSG:4326
  18. address:
    Haugane 23
    postnummer:
    3409
    poststed:
    TRANBY
    kommunenummer:
    3312
    kommunenavn:
    LIER
    lat:
    59.8270163
    lon:
    10.2872554
    epsg:
    EPSG:4326
  19. address:
    Haugane 23
    postnummer:
    6265
    poststed:
    VATNE
    kommunenummer:
    1580
    kommunenavn:
    HARAM
    lat:
    62.5571687
    lon:
    6.6150242
    epsg:
    EPSG:4326
  20. address:
    Haugane 23
    postnummer:
    6740
    poststed:
    SELJE
    kommunenummer:
    4649
    kommunenavn:
    STAD
    lat:
    62.0413255
    lon:
    5.3472389
    epsg:
    EPSG:4326
  21. address:
    Haugane 23
    postnummer:
    5724
    poststed:
    STANGHELLE
    kommunenummer:
    4628
    kommunenavn:
    VAKSDAL
    lat:
    60.5584044
    lon:
    5.748257
    epsg:
    EPSG:4326
  22. address:
    Haugane 23
    postnummer:
    6982
    poststed:
    HOLMEDAL
    kommunenummer:
    4645
    kommunenavn:
    ASKVOLL
    lat:
    61.3561267
    lon:
    5.1785864
    epsg:
    EPSG:4326
  23. address:
    Hauger skolevei 23
    postnummer:
    1351
    poststed:
    RUD
    kommunenummer:
    3201
    kommunenavn:
    BÆRUM
    lat:
    59.9092452
    lon:
    10.5029004
    epsg:
    EPSG:4326
  24. address:
    Hans Hauges gate 23
    postnummer:
    5033
    poststed:
    BERGEN
    kommunenummer:
    4601
    kommunenavn:
    BERGEN
    lat:
    60.4024793
    lon:
    5.3244179
    epsg:
    EPSG:4326
  25. address:
    Hanebergveien 23
    postnummer:
    4380
    poststed:
    HAUGE I DALANE
    kommunenummer:
    1111
    kommunenavn:
    SOKNDAL
    lat:
    58.3427503
    lon:
    6.3124714
    epsg:
    EPSG:4326
Will you use the result in generated code?

Open the same result as JSON

Is data missing or incorrect? Send feedback about this result.

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

  1. Replace the placeholders in the HTML GET template; remove optional parameters you do not need.
  2. Check types, units, limits and ID formats in the parameter table.
  3. 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

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.