{"source":"geonorge","operation":"search_place_name","description":"Search Norwegian place names (stedsnavn) by free text. Signature: search_place_name(text: string, required; kommunenummer: string, optional, default None; navneobjekttype: string, optional, default None; limit: integer, items, optional, default 20; offset: integer, items, optional, default 0).","signature":"search_place_name(text: string, required; kommunenummer: string, optional, default None; navneobjekttype: string, optional, default None; limit: integer, items, optional, default 20; offset: integer, items, optional, default 0)","parameters":[{"name":"text","type":"string","schema":{"type":"string"},"required":true,"default":null,"description":"Place name query, e.g. \"Galdh\u00f8piggen\" or \"Trondheim\". Supports wildcard search (*).","unit":null},{"name":"kommunenummer","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional 4-digit municipality code to restrict the search (e.g. \"0301\" for Oslo, \"4601\" for Bergen).","unit":null},{"name":"navneobjekttype","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Optional place type to filter by, e.g. \"Fjell\", \"\u00d8y\", \"Innsj\u00f8\", \"Gard\". Use list_place_types to look up valid values.","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":20,"description":"Max hits to return, 1 to 100 (default 20). Unit: items.","unit":"items"},{"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/geonorge/search_place_name?text={text}&kommunenummer={kommunenummer}&navneobjekttype={navneobjekttype}&limit=20&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"total_count":{"type":"integer"},"places":{"type":"array","items":{"type":"object","properties":{"names":{"type":"array","items":{"type":"object","properties":{"name":{"type":["string","null"]},"language":{"type":["string","null"]},"status":{"type":["string","null"]}},"additionalProperties":false}},"type":{"type":["string","null"]},"status":{"type":["string","null"]},"lat":{"type":["number","null"]},"lon":{"type":["number","null"]},"place_id":{"type":["integer","null"]},"kommune":{"type":["string","null"]},"fylke":{"type":["string","null"]}},"additionalProperties":false}}},"additionalProperties":false,"required":["total_count","places"]},"response_schema_status":{"status":"declared","codegen_safe":true,"description":"Maintained response contract."},"entity_projection":{"status":"projected","entity_types":["place"],"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/geonorge/search_place_name","operation":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_place_name","source":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["total_count","places","places[].names","places[].names[].name","places[].names[].language","places[].names[].status","places[].type","places[].status","places[].lat","places[].lon","places[].place_id","places[].kommune","places[].fylke"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["places[].names[].name"],"latitude":["places[].lat"],"longitude":["places[].lon"]},"response_example":{"source":"geonorge","operation":"search_place_name","parameters":{"text":"example value","kommunenummer":"example value","navneobjekttype":"example value","limit":20},"data":{"total_count":1,"places":[{"names":[{"name":"Example","language":"example value","status":"example value"}],"type":"example value","status":"example value","lat":59.91,"lon":10.75,"place_id":1,"kommune":"example value","fylke":"example value"}]},"entities":[],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"geonorge","name":"Geonorge","description":"Address search, place names, nearby places and reverse geocoding from the Norwegian Mapping Authority.","cache_ttl_seconds":60}]},"_provenance":{"data":{"source":"geonorge","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge"},"entities":{"source":"geonorge","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge/search_place_name","source":"https://allemannsdata.com/wiki/api/v1/kilder/geonorge","wiki":"https://allemannsdata.com/wiki/kilder/geonorge/search_place_name/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
