Neptun·

← API reference

Navigational warnings

Official notices to mariners from 36 sources.

GET /v1/warnings

Scope: notices

Notices to mariners, navigational warnings, closures and works — from 36 national services, geolocated, de-duplicated and translated on request. Exactly the work you would otherwise repeat for every country.

Parameters

NameTypeDescription
bboxstring, optionalArea as minLat,minLon,maxLat,maxLon
latnumber, optionalLatitude (−90…90)
lonnumber, optionalLongitude (−180…180)
radiusnumber, optionalRadius in km (when using lat/lon)
langstring, optionalLanguage of the notice texts
sourcestring, optionalFilter by source, comma-separated
closed_onlyboolean, optionalclosures only
sinceinteger, optionalonly changes since this Unix timestamp
limitinteger, optionalmaximum number of results
offsetinteger, optionaloffset for paging

Example response

{ "ok": true, "warnings": [ { "quelle": "elwis", "ort": "Kiel-Holtenau",
    "detail": "…", "von": 1787636520, "bis": 0, "lat": 54.37, "lon": 10.14 } ],
  "attribution": "…", "quota": { … } }