search_stops

Search Norway's National Stop Register by stop name.

Signature: search_stops(query: string, required; limit: integer, items, optional, default 25; lang: one of: no, nb, nn, en, optional, default 'no'; 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/entur/search_stops/?query={query}&limit=25&lang=no&offset=0

Replace {query}, {limit}, {lang} 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/entur/search_stops?query={query}&limit=25&lang=no&offset=0. Open this exact request as JSON.

ParameterRequirementJSON typeDescription
queryrequiredstringStop name or place, e.g. "Oslo S".
limitoptionalintegerMaximum hits, 1-100. Unit: items. Through this API: default 25, maximum 100.
langoptionalstringResult language: "no" (default), "nb", "nn" or "en".
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/entur/search_stops?query={query}&limit=25&lang=no&offset=0

Replace URL placeholders and remove unused optional parameters.

JavaScript in a dashboard

const url = "https://allemannsdata.com/wiki/api/v1/kilder/entur/search_stops?query={query}&limit=25&lang=no&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/entur/search_stops?query={query}&limit=25&lang=no&offset=0"
with urlopen(url) as response:
    result = json.load(response)
data = result["data"]

Response structure

{
  "source": "entur",
  "operation": "search_stops",
  "parameters": {},
  "data": {},
  "entities": [],
  "_meta": {"retrieved_at": "...", "sources": [], "cache": {}},
  "_links": {"self": "...", "source": "...", "wiki": "...", "feedback": "..."}
}
Form for manual use

The form is a fallback for people and browser agents that cannot open the GET URL directly.

Type: string. Stop name or place, e.g. "Oslo S".
Type: integer. Maximum hits, 1-100. Unit: items. Through this API: default 25, maximum 100.
Type: one of: no, nb, nn, en. Result language: "no" (default), "nb", "nn" or "en".

Result

Source: Entur. Retrieved 2026-11-12T05:16:39Z in 0.145 seconds.

returned:
20
stops:

20 results

  1. id:
    NSR:StopPlace:58417
    name:
    Havnås
    label:
    Havnås, Indre Østfold
    category:

    1 results

    1. onstreetBus
    municipality:
    Indre Østfold
    county:
    Østfold
    lat:
    59.614586
    lon:
    11.404557
  2. id:
    NSR:StopPlace:42441
    name:
    Harbak
    label:
    Harbak, Åfjord
    category:

    1 results

    1. onstreetBus
    municipality:
    Åfjord
    county:
    Trøndelag
    lat:
    64.080129
    lon:
    10.044964
  3. id:
    NSR:StopPlace:44150
    name:
    Havdal
    label:
    Havdal, Stjørdal
    category:

    1 results

    1. onstreetBus
    municipality:
    Stjørdal
    county:
    Trøndelag
    lat:
    63.424496
    lon:
    10.915083
  4. id:
    NSR:StopPlace:21873
    name:
    Hannås
    label:
    Hannås, Evje og Hornnes
    category:

    1 results

    1. onstreetBus
    municipality:
    Evje og Hornnes
    county:
    Agder
    lat:
    58.517479
    lon:
    7.771733
  5. id:
    NSR:StopPlace:60586
    name:
    Havdal
    label:
    Havdal, Rennebu
    category:

    1 results

    1. onstreetBus
    municipality:
    Rennebu
    county:
    Trøndelag
    lat:
    62.764192
    lon:
    9.970458
  6. id:
    NSR:StopPlace:26136
    name:
    Haukås
    label:
    Haukås, Tysvær
    category:

    1 results

    1. onstreetBus
    municipality:
    Tysvær
    county:
    Rogaland
    lat:
    59.342031
    lon:
    5.446384
  7. id:
    NSR:StopPlace:47488
    name:
    Haukås
    label:
    Haukås, Hamarøy
    category:

    1 results

    1. onstreetBus
    municipality:
    Hamarøy
    county:
    Nordland
    lat:
    68.064367
    lon:
    15.464782
  8. id:
    NSR:StopPlace:42161
    name:
    Harbak
    label:
    Harbak, Åfjord
    category:

    1 results

    1. onstreetBus
    municipality:
    Åfjord
    county:
    Trøndelag
    lat:
    63.924111
    lon:
    10.049558
  9. id:
    NSR:StopPlace:42517
    name:
    Havdal
    label:
    Havdal, Melhus
    category:

    1 results

    1. onstreetBus
    municipality:
    Melhus
    county:
    Trøndelag
    lat:
    63.306099
    lon:
    10.351157
  10. id:
    NSR:StopPlace:22082
    name:
    Haugås
    label:
    Haugås, Froland
    category:

    1 results

    1. onstreetBus
    municipality:
    Froland
    county:
    Agder
    lat:
    58.508743
    lon:
    8.557507
  11. id:
    NSR:StopPlace:38811
    name:
    Havdal
    label:
    Havdal, Tingvoll
    category:

    1 results

    1. onstreetBus
    municipality:
    Tingvoll
    county:
    Møre og Romsdal
    lat:
    62.811446
    lon:
    8.339573
  12. id:
    NSR:StopPlace:46984
    name:
    Havna
    label:
    Havna, Narvik
    category:

    1 results

    1. onstreetBus
    municipality:
    Narvik
    county:
    Nordland
    lat:
    68.428668
    lon:
    17.425894
  13. id:
    NSR:StopPlace:62949
    name:
    Harås
    label:
    Harås, Stavanger
    category:

    1 results

    1. onstreetBus
    municipality:
    Stavanger
    county:
    Rogaland
    lat:
    59.174636
    lon:
    5.851489
  14. id:
    NSR:StopPlace:1889
    name:
    Havna
    label:
    Havna, Hvaler
    category:

    1 results

    1. onstreetBus
    municipality:
    Hvaler
    county:
    Østfold
    lat:
    59.078869
    lon:
    10.902323
  15. id:
    NSR:StopPlace:17939
    name:
    Havna
    label:
    Havna, Færder
    category:

    1 results

    1. onstreetBus
    municipality:
    Færder
    county:
    Vestfold
    lat:
    59.08286
    lon:
    10.406523
  16. id:
    NSR:StopPlace:19978
    name:
    Havna
    label:
    Havna, Porsgrunn
    category:

    1 results

    1. onstreetBus
    municipality:
    Porsgrunn
    county:
    Telemark
    lat:
    59.090203
    lon:
    9.717271
  17. id:
    NSR:StopPlace:38818
    name:
    Havåg
    label:
    Havåg, Ulstein
    category:

    1 results

    1. onstreetBus
    municipality:
    Ulstein
    county:
    Møre og Romsdal
    lat:
    62.253067
    lon:
    5.874839
  18. id:
    NSR:StopPlace:33560
    name:
    Havrå
    label:
    Havrå, Osterøy
    category:

    1 results

    1. onstreetBus
    municipality:
    Osterøy
    county:
    Vestland
    lat:
    60.438826
    lon:
    5.575182
  19. id:
    NSR:StopPlace:60292
    name:
    Hærås
    label:
    Hærås, Kristiansand
    category:

    1 results

    1. onstreetBus
    municipality:
    Kristiansand
    county:
    Agder
    lat:
    58.345555
    lon:
    7.599666
  20. id:
    NSR:StopPlace:35901
    name:
    Håvåg
    label:
    Håvåg, Fjaler
    category:

    1 results

    1. onstreetBus
    municipality:
    Fjaler
    county:
    Vestland
    lat:
    61.293535
    lon:
    5.116201
Show all fields in HTML
returned:
20
stops:

20 results

  1. id:
    NSR:StopPlace:58417
    name:
    Havnås
    label:
    Havnås, Indre Østfold
    category:

    1 results

    1. onstreetBus
    municipality:
    Indre Østfold
    county:
    Østfold
    lat:
    59.614586
    lon:
    11.404557
  2. id:
    NSR:StopPlace:42441
    name:
    Harbak
    label:
    Harbak, Åfjord
    category:

    1 results

    1. onstreetBus
    municipality:
    Åfjord
    county:
    Trøndelag
    lat:
    64.080129
    lon:
    10.044964
  3. id:
    NSR:StopPlace:44150
    name:
    Havdal
    label:
    Havdal, Stjørdal
    category:

    1 results

    1. onstreetBus
    municipality:
    Stjørdal
    county:
    Trøndelag
    lat:
    63.424496
    lon:
    10.915083
  4. id:
    NSR:StopPlace:21873
    name:
    Hannås
    label:
    Hannås, Evje og Hornnes
    category:

    1 results

    1. onstreetBus
    municipality:
    Evje og Hornnes
    county:
    Agder
    lat:
    58.517479
    lon:
    7.771733
  5. id:
    NSR:StopPlace:60586
    name:
    Havdal
    label:
    Havdal, Rennebu
    category:

    1 results

    1. onstreetBus
    municipality:
    Rennebu
    county:
    Trøndelag
    lat:
    62.764192
    lon:
    9.970458
  6. id:
    NSR:StopPlace:26136
    name:
    Haukås
    label:
    Haukås, Tysvær
    category:

    1 results

    1. onstreetBus
    municipality:
    Tysvær
    county:
    Rogaland
    lat:
    59.342031
    lon:
    5.446384
  7. id:
    NSR:StopPlace:47488
    name:
    Haukås
    label:
    Haukås, Hamarøy
    category:

    1 results

    1. onstreetBus
    municipality:
    Hamarøy
    county:
    Nordland
    lat:
    68.064367
    lon:
    15.464782
  8. id:
    NSR:StopPlace:42161
    name:
    Harbak
    label:
    Harbak, Åfjord
    category:

    1 results

    1. onstreetBus
    municipality:
    Åfjord
    county:
    Trøndelag
    lat:
    63.924111
    lon:
    10.049558
  9. id:
    NSR:StopPlace:42517
    name:
    Havdal
    label:
    Havdal, Melhus
    category:

    1 results

    1. onstreetBus
    municipality:
    Melhus
    county:
    Trøndelag
    lat:
    63.306099
    lon:
    10.351157
  10. id:
    NSR:StopPlace:22082
    name:
    Haugås
    label:
    Haugås, Froland
    category:

    1 results

    1. onstreetBus
    municipality:
    Froland
    county:
    Agder
    lat:
    58.508743
    lon:
    8.557507
  11. id:
    NSR:StopPlace:38811
    name:
    Havdal
    label:
    Havdal, Tingvoll
    category:

    1 results

    1. onstreetBus
    municipality:
    Tingvoll
    county:
    Møre og Romsdal
    lat:
    62.811446
    lon:
    8.339573
  12. id:
    NSR:StopPlace:46984
    name:
    Havna
    label:
    Havna, Narvik
    category:

    1 results

    1. onstreetBus
    municipality:
    Narvik
    county:
    Nordland
    lat:
    68.428668
    lon:
    17.425894
  13. id:
    NSR:StopPlace:62949
    name:
    Harås
    label:
    Harås, Stavanger
    category:

    1 results

    1. onstreetBus
    municipality:
    Stavanger
    county:
    Rogaland
    lat:
    59.174636
    lon:
    5.851489
  14. id:
    NSR:StopPlace:1889
    name:
    Havna
    label:
    Havna, Hvaler
    category:

    1 results

    1. onstreetBus
    municipality:
    Hvaler
    county:
    Østfold
    lat:
    59.078869
    lon:
    10.902323
  15. id:
    NSR:StopPlace:17939
    name:
    Havna
    label:
    Havna, Færder
    category:

    1 results

    1. onstreetBus
    municipality:
    Færder
    county:
    Vestfold
    lat:
    59.08286
    lon:
    10.406523
  16. id:
    NSR:StopPlace:19978
    name:
    Havna
    label:
    Havna, Porsgrunn
    category:

    1 results

    1. onstreetBus
    municipality:
    Porsgrunn
    county:
    Telemark
    lat:
    59.090203
    lon:
    9.717271
  17. id:
    NSR:StopPlace:38818
    name:
    Havåg
    label:
    Havåg, Ulstein
    category:

    1 results

    1. onstreetBus
    municipality:
    Ulstein
    county:
    Møre og Romsdal
    lat:
    62.253067
    lon:
    5.874839
  18. id:
    NSR:StopPlace:33560
    name:
    Havrå
    label:
    Havrå, Osterøy
    category:

    1 results

    1. onstreetBus
    municipality:
    Osterøy
    county:
    Vestland
    lat:
    60.438826
    lon:
    5.575182
  19. id:
    NSR:StopPlace:60292
    name:
    Hærås
    label:
    Hærås, Kristiansand
    category:

    1 results

    1. onstreetBus
    municipality:
    Kristiansand
    county:
    Agder
    lat:
    58.345555
    lon:
    7.599666
  20. id:
    NSR:StopPlace:35901
    name:
    Håvåg
    label:
    Håvåg, Fjaler
    category:

    1 results

    1. onstreetBus
    municipality:
    Fjaler
    county:
    Vestland
    lat:
    61.293535
    lon:
    5.116201
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_stops 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.