{"source":"entur","operation":"search_stops","description":"Search Norway's National Stop Register by stop name. Signature: search_stops(query: string, required; limit: integer, items, optional, default 10; lang: string, optional, default 'no'; offset: integer, items, optional, default 0).","signature":"search_stops(query: string, required; limit: integer, items, optional, default 10; lang: string, optional, default 'no'; offset: integer, items, optional, default 0)","parameters":[{"name":"query","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Stop name or place, e.g. \"Oslo S\".","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":10,"description":"Maximum hits, 1-100. Unit: items.","unit":"items"},{"name":"lang","type":"string","schema":{"type":"string"},"required":false,"default":"no","description":"Result language, normally \"no\" or \"en\".","unit":null},{"name":"offset","type":"integer","schema":{"type":"integer","minimum":0,"default":0},"display_type":"integer","required":false,"default":0,"description":"Number of list items to skip before returning the page.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/entur/search_stops?query={query}&limit=10&lang=no&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"returned":{"type":"integer"},"stops":{"type":"array","items":{"type":"object","properties":{"id":{"type":["string","null"]},"name":{"type":["string","null"]},"label":{"type":["string","null"]},"category":{"type":["array","null"],"items":{"type":"string"}},"municipality":{"type":["string","null"]},"county":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]}},"additionalProperties":false,"required":["id","name","lat","lon"]}}},"additionalProperties":false,"required":["returned","stops"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["transit_stop"],"description":"Recognized records and stable operation identifiers are projected; an empty array means the successful payload contained no recognizable entity."},"error_contract":{"scope":"top-level HTTP error response; never part of a success payload","schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object"}},"additionalProperties":false,"required":["code","message","retryable"]},"suggestion":{"type":"string"},"_meta":{"type":"object","properties":{"retrieved_at":{"type":"string","format":"date-time"},"language":{"type":"string","const":"en"},"content_languages":{"type":"array","items":{"type":"string"}},"sources":{"type":"array","items":{"type":"object"}}},"required":["retrieved_at","language","content_languages","sources"]},"_links":{"type":"object","properties":{"self":{"type":"string","format":"uri"},"api_index":{"type":"string","format":"uri"},"feedback":{"type":"string","format":"uri"}},"required":["self","api_index","feedback"],"additionalProperties":false}},"additionalProperties":false,"required":["error","suggestion","_meta","_links"]},"statuses":{"400":{"codes":["MISSING_PARAMETER","INVALID_PARAMETER","INVALID_REQUEST"],"retryable":false},"404":{"codes":["SOURCE_NOT_FOUND","OPERATION_NOT_FOUND","ENTITY_NOT_FOUND"],"retryable":false},"429":{"codes":["RATE_LIMITED","GATEWAY_RATE_LIMITED"],"retryable":true},"502":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/entur/search_stops/schema","operation":"https://allemannsdata.com/wiki/api/v1/kilder/entur/search_stops","source":"https://allemannsdata.com/wiki/api/v1/kilder/entur","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["returned","stops","stops[].id","stops[].name","stops[].label","stops[].category","stops[].municipality","stops[].county","stops[].lat","stops[].lon"],"output_fields_truncated":false,"canonical_field_aliases":{"identifier":["stops[].id"],"name":["stops[].name","stops[].label"],"latitude":["stops[].lat"],"longitude":["stops[].lon"]},"response_example":{"source":"entur","operation":"search_stops","parameters":{"query":"example value","limit":10,"lang":"no"},"data":{"returned":1,"stops":[{"id":"example-id","name":"Example","label":"Example","category":["example value"],"municipality":"example value","county":"example value","lat":59.91,"lon":10.75}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"entur","name":"Entur","description":"National stop search, journey planning, departures, live vehicle positions and service alerts for all public transport, ferries included, plus shared bikes, e-scooters and car sharing.","cache_ttl_seconds":30,"documentation":"https://developer.entur.org/pages-intro-getstarted/","rate_limit":"The gateway identifies the client to Entur; excessive traffic may be limited."}]},"_provenance":{"data":{"source":"entur","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/entur"},"entities":{"source":"entur","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/entur","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/entur/search_stops","source":"https://allemannsdata.com/wiki/api/v1/kilder/entur","wiki":"https://allemannsdata.com/wiki/kilder/entur/search_stops/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
