{"source":"kystverket","operation":"find_navigation_aids","description":"Navigation aids within a radius of a coordinate, from Kystverket. Signature: find_navigation_aids(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 2; kind: string, optional, default None; limit: integer, items, optional, default 100; offset: integer, items, optional, default 0).","signature":"find_navigation_aids(lat: decimal number, decimal degrees (WGS84), required; lon: decimal number, decimal degrees (WGS84), required; radius_km: decimal number, kilometres, optional, default 2; kind: string, optional, default None; limit: integer, items, optional, default 100; offset: integer, items, optional, default 0)","parameters":[{"name":"lat","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Latitude (WGS84) of the centre, between -90 and 90. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"lon","type":"number","schema":{"type":"number"},"required":true,"default":null,"description":"Longitude (WGS84) of the centre, between -180 and 180. Unit: decimal degrees (WGS84).","unit":"decimal degrees (WGS84)"},{"name":"radius_km","type":"number","schema":{"type":"number"},"required":false,"default":2,"description":"Search radius in km, 0.1-20 (default 2). Unit: kilometres.","unit":"kilometres"},{"name":"kind","type":"string","schema":{"anyOf":[{"type":"string"},{"type":"null"}]},"required":false,"default":null,"description":"Restrict to one kind of aid: \"light\" (lys), \"racon\", \"fixed\" (fast, fixed mark) or \"floating\" (flytende mark). Omit for all four.","unit":null},{"name":"limit","type":"integer","schema":{"type":"integer"},"required":false,"default":100,"description":"Max aids to return, 1-500 (default 100). Unit: items.","unit":"items"},{"name":"offset","type":"integer","schema":{"type":"integer"},"required":false,"default":0,"description":"Results to skip before the first one returned (default 0); with limit, pages through every match. Unit: items.","unit":"items"}],"json_get_url_template":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket/find_navigation_aids?lat={lat}&lon={lon}&radius_km=2&kind={kind}&limit=100&offset=0","schema_scope":"#/data in the successful operation envelope","response_schema":{"type":"object","properties":{"count":{"type":"integer"},"aids":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"number":{"type":["string","null"]},"name":{"type":["string","null"]},"place":{"type":["string","null"]},"location":{"type":["string","null"]},"class":{"type":["string","null"]},"status":{"type":["string","null"]},"lat":{"type":"number"},"lon":{"type":"number"},"distance_km":{"type":"number"},"light_character":{"type":["string","null"]},"colour":{"type":["string","null"]},"light_height_m":{"type":["number","null"]},"range_nm":{"type":"object","properties":{"white":{"type":["number","null"]},"red":{"type":["number","null"]},"green":{"type":["number","null"]},"yellow":{"type":["number","null"]}},"additionalProperties":false},"mark_type":{"type":["integer","string","null"]},"mark_shape":{"type":["integer","string","null"]},"topmark":{"type":["integer","string","null"]}},"additionalProperties":false,"required":["kind","lat","lon","distance_km"]}}},"additionalProperties":false,"required":["count","aids"]},"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},"503":{"codes":["SOURCE_UNAVAILABLE"],"retryable":true},"500":{"codes":["INTERNAL_ERROR"],"retryable":true}}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket/find_navigation_aids","operation":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket/find_navigation_aids","source":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"},"output_fields":["count","aids","aids[].kind","aids[].number","aids[].name","aids[].place","aids[].location","aids[].class","aids[].status","aids[].lat","aids[].lon","aids[].distance_km","aids[].light_character","aids[].colour","aids[].light_height_m","aids[].range_nm","aids[].range_nm.white","aids[].range_nm.red","aids[].range_nm.green","aids[].range_nm.yellow","aids[].mark_type","aids[].mark_shape","aids[].topmark"],"output_fields_truncated":false,"canonical_field_aliases":{"name":["aids[].name"],"latitude":["aids[].lat"],"longitude":["aids[].lon"]},"response_example":{"source":"kystverket","operation":"find_navigation_aids","parameters":{"lat":59.91,"lon":10.75,"radius_km":2,"kind":"example value","limit":100,"offset":0},"data":{"count":1,"aids":[{"kind":"example value","number":"example value","name":"Example","place":"example value","location":"example value","class":"example value","status":"example value","lat":59.91,"lon":10.75,"distance_km":1.0,"light_character":"example value","colour":"example value","light_height_m":1.0,"range_nm":{"white":1.0,"red":1.0,"green":1.0,"yellow":1.0},"mark_type":1,"mark_shape":1,"topmark":1}]},"entities":[{"type":"place","id":"59.91,10.75","name":"59.91, 10.75","source":"kystverket","description":"Coordinate used as the operation input.","coordinates":{"lat":59.91,"lon":10.75,"crs":"WGS84"}}],"_meta":{"retrieved_at":"2026-01-15T12:00:00Z","language":"en","content_languages":["en"],"sources":[{"id":"kystverket","name":"Lights and sea marks (Kystverket)","description":"Lights, radar beacons and fixed and floating sea marks within a radius of a coordinate, from the Coastal Administration.","cache_ttl_seconds":86400,"documentation":"https://www.kystverket.no/"}]},"_provenance":{"data":{"source":"kystverket","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket"},"entities":{"source":"kystverket","source_api":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket","derived_from":"#/data","description":"Normalized projection of data."}},"_links":{"self":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket/find_navigation_aids","source":"https://allemannsdata.com/wiki/api/v1/kilder/kystverket","wiki":"https://allemannsdata.com/wiki/kilder/kystverket/find_navigation_aids/","feedback":"https://allemannsdata.com/wiki/api/v1/feedback"}}}
