HomeMapSky mapAlpha
More
Account
Loading…
Language: English

Maritime Navigation API

Truy cập lập trình tới cảnh báo NAVAREA và ven bờ. Subscription REST đang ở /api/v1/ với header X-API-Token. Các gói cao hơn mở tọa độ, bản đồ từ khóa, toàn bộ kho lưu trữ trong một lần và bộ lọc nâng cao.

Nhà phát triển: đăng nhập bằng GitHub và trong mười giây có khóa Developer ở thẻ API, với 2.000 yêu cầu miễn phí cho các cảnh báo đang hiệu lực. Kho lưu trữ và phân tích đầy đủ có trong các gói trả phí.

Send a route, get the NAVAREAs and the warnings along it: POST /api/v2/route/ with a route file (RTZ, GPX, KML, CSV...) or JSON waypoints; the same at /api/v2/drop/<token>/route/ for tools that can only drop a file. Section 15 of the README has the calls.

v3: integrate from GitHub

Developers overview

Everything to connect is in one public repository: the OpenAPI specification, the data models, Python and JavaScript clients, an MCP server for Claude, Cursor, VS Code, Windsurf and Zed, and a GitHub Action that checks a route against the warnings in force. The endpoints stay the ones below; the kit is the way in.

  • Editors and agents: add the MCP server and ask in plain words; the tools are search_warnings, warnings_near, route_check, navareas and feeds.
  • Code: python/sealagom.py and js/sealagom.mjs, no dependencies beyond requests or fetch; generate any other language from openapi.yaml.
  • No-code and agents: import sealagom.com/openapi.json into n8n, Make, Zapier, Pipedream, Postman, ChatGPT actions or LangChain. Send the key as X-API-Token or Authorization: Bearer.
  • Routes: POST /api/v2/route/ with a route file or waypoints, or the drop link /api/v2/drop/<key>/route/ for tools that can only POST a file.
  • Sky view: GET /api/v2/sky/link/?vessel= (or mmsi, warning and region, port, locode, lat and lon) gives a ready link that stands there in the sky view; POST /api/v2/sky/route/ takes a route and gives its sky link, drawn on the sea, with the RTZ and GPX. Section 20 of the README has the calls. Not for navigation.
  • CI: the Action fails a build when a critical warning lies on a route kept in the repository.
  • Scripts and agents paying for themselves: POST /api/agent/checkout/, crypto, the key once paid (in the profile when the e-mail already has an account).

Bắt đầu

  1. Chọn một gói trên contributor plans.
  2. Tạo một API token trong Profile → API.
  3. Gửi X-API-Token trên mỗi /api/v1/ lần gọi.
  4. Tuân thủ phân trang và việc sử dụng token trên các endpoint danh sách.

Các gói đăng ký API

Nâng cấp lên API Default để nhận văn bản thô và tọa độ, lên Full API để có geometry có cấu trúc (geo_features), hoặc liên hệ với chúng tôi để tích hợp theo yêu cầu.

Gói API miễn phí

API không cần khóa: 100 lượt gọi mỗi ngày, tối đa 50 cảnh báo mỗi lượt, trong 3 ngày hoặc 300 lượt gọi, tùy điều nào đến trước.

Khi dùng hết hạn mức, API trả về HTTP 402 cho biết đã dùng bao nhiêu, khi nào có lại và các liên kết để thanh toán ngay: trang thanh toán, tiền mã hóa, hoặc POST /api/agent/checkout/ từ một tập lệnh.

Khi đăng nhập mà không có gói API, cùng gói miễn phí đó được tính theo tài khoản của bạn. Hạn mức GitHub Developer giữ các yêu cầu riêng.

Chỉ tin nhắn đang hiệu lực. Không có lưu trữ, tọa độ, tọa độ nâng cao, từ khóa, webhook hay bộ lọc nâng cao.

API Default

Yêu cầu không giới hạn, $20 tháng đầu, sau đó $18 / tháng với tự động gia hạn

  • Yêu cầu API không giới hạn
  • Tin trực tiếp NAVAREA & Duyên hải
  • Truy cập tin lưu trữ
  • Văn bản tin thô và tọa độ
  • Tích hợp webhook để nhận cập nhật thời gian thực

Not included: geo_features (areas, circles, sectors, lanes, safety zones), analysis, keywords, or enhanced coordinate formats. Those need Full API.

Đăng ký API Default

Full API

Yêu cầu không giới hạn, $100 first month, then $90 / month with auto-renew

  • Yêu cầu API không giới hạn
  • Tin trực tiếp NAVAREA & Duyên hải
  • Truy cập tin lưu trữ
  • Tọa độ (tất cả định dạng: decimal, GeoJSON, DMS, Google Maps)
  • geo_features: điểm, đường, làn, vùng, vòng tròn, sector, dịch chuyển, vùng an toàn
  • analysis of every warning: summary, status, validity / expiry, hazards, recurring series
  • Geometry có cấu trúc ở GeoJSON, CSV, Shapefile, WKT (ECDIS & KML geometry đầy đủ trên Contributor)
  • Trích xuất bản đồ từ khóa
  • Bộ lọc nâng cao (ngày, từ khóa, quốc gia, loại, has_coordinates)
  • Tích hợp webhook để nhận cập nhật thời gian thực
Đăng ký Full API

API tùy chỉnh

Thiết kế theo nhu cầu của bạn; liên hệ với chúng tôi

  • Bao gồm mọi thứ trong Full API
  • Hình dạng phản hồi & định dạng dữ liệu tùy chỉnh
  • Các trường cụ thể, cấu trúc, hoặc định dạng không gian theo yêu cầu
  • Hỗ trợ chuyên dụng và hướng dẫn tích hợp
  • Thỏa thuận doanh nghiệp hoặc khối lượng lớn
  • SLA và payload webhook theo yêu cầu
Liên hệ với chúng tôi

Cần giải pháp theo yêu cầu? Gửi email contact@sealagom.com Phản hồi API có thể được tùy chỉnh theo bất kỳ định dạng hoặc cấu trúc không gian nào.

Xem các gói hiện tại và đăng ký

Trình tạo yêu cầu tương tác

Soạn URL GET và sao chép ví dụ (cURL, Python, JavaScript, Java, Rust). Thay token bằng của bạn.

Luôn dùng cùng tham số mỗi lần? Lưu chúng trên token ngay với API v2 builder trên hồ sơ của bạn, với xem trước trực tiếp.

URL được tạo

https://www.sealagom.com/api/v1/navarea/?include_messages=true
curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

Tổng quan

Chào mừng đến với SeaLagom Maritime Navigation API!

API này cung cấp truy cập chương trình tới các cảnh báo NAVAREA và ven bờ cần thiết cho an toàn và điều hướng hàng hải.

Người đăng ký Full API nhận dữ liệu mở rộng gồm tọa độ (nhiều định dạng), từ khóa, toàn bộ kho lưu trữ trong một lần và bộ lọc nâng cao. Cần định dạng hoặc cấu trúc không gian riêng? Liên hệ với chúng tôi cho một tích hợp tùy chỉnh.

Các phản hồi có dạng danh sách / chi tiết JSON. Sử dụng page and page_size nơi được hỗ trợ.

Xác thực

Gửi header X-API-Token: <token> trên mỗi /api/v1/ request. Thiếu hoặc token không hợp lệ sẽ trả về 401 Unauthorized. Token được tạo trong hồ sơ của bạn; xoay vòng hoặc thu hồi từ cùng màn hình.

X-API-Token: YOUR_API_TOKEN
Bảo mật: Giữ token riêng tư. Dùng token riêng cho từng ứng dụng. Tạo lại định kỳ hoặc ngay lập tức nếu bị lộ.

Quản lý token

  • GET /api/v1/tokens/ - liệt kê token của bạn
  • POST /api/v1/tokens/ - tạo token
  • POST /api/v1/tokens/{id}/regenerate/ - xoay vòng (làm vô hiệu giá trị cũ)
# List tokens
curl -X GET "https://www.sealagom.com/api/v1/tokens/" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

# Create a token
curl -X POST "https://www.sealagom.com/api/v1/tokens/" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"name": "My API Token"}'

# Regenerate a token
curl -X POST "https://www.sealagom.com/api/v1/tokens/1/regenerate/" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

API v2 và cài đặt token

API v2 sử dụng cùng token, các gói và tính toán yêu cầu như v1. Mọi thứ dưới /api/v1/ vẫn hoạt động chính xác như trước, nên các tích hợp hiện tại không cần thay đổi. v2 bổ sung:

  • Một danh sách tất cả cảnh báo: GET /api/v2/messages/, NAVAREA và ven bờ cùng nhau, mới nhất trước, mỗi thông báo kèm vùng, quốc gia và trạng thái lưu trữ.
  • Bộ lọc thông báo trên các endpoint vùng: /api/v2/navarea/ and /api/v2/coastal/ trả lời giống v1 và cũng áp dụng date_from, date_to, keyword and has_coordinates cho các thông báo mà chúng trả về.
  • Cài đặt lưu trên mỗi token: chọn một token trên Profile > API > API v2 builder, xây dựng phản hồi với các menu và xem trước trực tiếp, rồi lưu. Mọi gọi /api/v2/ với token đó trả về dạng đã lưu; các gọi /api/v1/ bỏ qua cài đặt đã lưu và trả lời hoàn toàn như trước.
  • prompt filter (Full API):mô tả bằng lời của bạn các cảnh báo mà một token nên trả về, ví dụ "chỉ cảnh báo mảnh vỡ không gian quanh USA".
  • Integrate: the kit on GitHub (OpenAPI spec, clients, MCP server, Action) is the way in; a README.md per token, with its settings, plan and every parameter and field, is there for any program that wants one file.
  • Settings file:instead of ticking options, ask LagoPal (with the README) for a settings file: a small JSON file with the token's endpoint, parameters and prompt. Load it on Profile > API (Load settings file); it fills the builder so you can check the live preview before saving. Download settings file gives the current settings in the same form. JSON Schema: /api/public/api-settings-schema/.

GET /api/v2/messages/

Tham sốGóiNó làm gì
scopeTất cảnavarea, coastal hoặc all (mặc định).
navarea_idTất cảMột hoặc nhiều id NAVAREA (lặp hoặc phân tách bằng dấu phẩy).
coastal_idTất cảMột hoặc nhiều id vùng ven bờ.
countryTất cảTên quốc gia, khớp một phần (ví dụ France).
qTất cảCác từ trong văn bản cảnh báo (gốc hoặc tiếng Anh).
date_from, date_toTất cảĐã thêm vào hoặc sau / vào hoặc trước, YYYY-MM-DD.
keywordTất cảDanh mục từ khóa hoặc bất kỳ từ nào trong văn bản; lặp lại cho nhiều mục.
has_coordinatesTất cảtrue: chỉ những cảnh báo có vị trí.
include_localsTất cảtrue: bao gồm cả thông báo địa phương Pháp (AVURNAV).
include_archived, only_archivedPaid APIĐang hoạt động và lưu trữ, hoặc chỉ lưu trữ.
status, message_class, station, lat, lon, radius_nm, bboxTất cảBộ lọc kho lưu trữ: in_force, cancelled hoặc expired; loại; một trạm NAVTEX; một vị trí với bán kính tính bằng hải lý, hoặc một khung west,south,east,north.
include_coordinatesPaid APIVị trí đọc từ từng cảnh báo.
include_enhanced_coordinatesFull APIThập phân, DMS, GeoJSON và liên kết bản đồ cho mỗi vị trí.
include_keywordsFull APIBản đồ từ khóa cho mỗi cảnh báo.
include_geo_featuresFull APIKhu vực, vòng tròn, đường, luồng, sector dưới dạng GeoJSON.
include_ai_analysisFull APIThe analysis object per warning.
ai_severityFull APIcritical, high, moderate, low, info (lặp lại cho nhiều mục).
ai_categoryFull APIcategory ids, e.g. firing_practice, piracy_or_security.
ai_statusFull APITình trạng trực tiếp: active, scheduled, expired, withdrawn (archived), cancellation_notice, informational.
ai_in_forceFull APItrue: chỉ những cảnh báo đang có hiệu lực ngay bây giờ.
expires_within_hoursFull APIChỉ những cảnh báo có valid_until rơi vào N giờ tới.
expires_after, expires_beforeFull APIvalid_until vào hoặc sau / vào hoặc trước một ngày (YYYY-MM-DD) hoặc thời gian ISO.
exclude_routineFull APItrue: bỏ qua các báo cáo thường lệ (báo cáo băng, danh sách giàn khoan, danh sách đang có hiệu lực).
ai_hasFull APIChỉ các phân tích có: contacts, vessels, aids, keep_clear, time_windows, charts, hazards.
min_keep_clear_nmFull APIKhoảng cách Keep-clear ít nhất N hải lý.
page, page_sizeTất cảMặc định 50 mỗi trang; tối đa 200 trên các gói trả phí, 50 trên miễn phí.
prompt_filterFull APIoff: ignore the token's prompt filter for this call.
topicFull APIMột feed: ice, military, space, cables, offshore, survey, hazards, aton, sar, security (xem Themed feeds).
settingsTất cảoff: bỏ các cài đặt đã lưu của token cho cuộc gọi này (một cuộc gọi thuần túy).

Các trường hoặc bộ lọc mà gói của bạn không bao gồm sẽ bị bỏ và được liệt kê trong meta.warnings, không bao giờ là một lỗi.

content là văn bản như đã phát; content_en is the English text (the official English version or a machine translation) for sources that broadcast in another language, such as China or Turkey, and source_language ghi tên ngôn ngữ gốc.

Các Local Notices to Mariners của US Coast Guard (10 districts, cập nhật hàng tuần) là các vùng ven bờ có tiêu đề US Coast Guard LNM, country US. They are not analysed, so their automatic fields are empty; each district also has one message, number LNMxx-DISCREPANCIESliệt kê các aids to navigation có sự khác biệt.

curl "https://www.sealagom.com/api/v2/messages/?country=France&include_coordinates=true&include_ai_analysis=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

{
  "count": 42,
  "page": 1,
  "page_size": 50,
  "next": null,
  "previous": null,
  "results": [
    {
      "scope": "coastal",
      "region_id": 57,
      "region_title": "FRANCE Atlantic",
      "country": "France",
      "is_archived": false,
      "archived_on": null,
      "id": 90211,
      "number": "AVURNAV 1234/26",
      "content": "BAY OF BISCAY. DRIFTING BUOY ...",
      "content_en": "BAY OF BISCAY. DRIFTING BUOY ...",
      "source_language": "en",
      "added_on": "2026-09-27T08:10:00Z",
      "coordinates": ["45-10.0N 002-05.0W"],
      "ai_analysis": { "headline": "...", "severity": "moderate", "valid_until": null }
    }
  ]
}

Cài đặt lưu trên một token

  • Một token, một hình dạng: each token keeps its own endpoint and parameters. Need a second shape (say France coastal with coordinates, and a worldwide feed)? Create a second token.
  • Mọi tùy chọn đều được hiển thị, Bao gồm cả các tùy chọn Full API, kèm theo gói mà từng tùy chọn yêu cầu. Việc lưu cần có gói API đang hoạt động.
  • URL thắng: bất kỳ tham số nào bạn đưa vào URL thay thế giá trị đã lưu cho cuộc gọi đó; ?settings=off thực hiện một cuộc gọi đơn thuần.
  • Khoảng thời gian tương đối: "last 30 days" gửi date_from như ngày hôm nay trừ 30 ngày trên mọi cuộc gọi.
  • Các phản hồi mang một X-API-Token-Settings header đặt tên token mà cài đặt của nó đã được áp dụng.

Ice feed: GET /api/v2/ice/

  • Every warning about ice at sea, from NAVAREA, coastal and NAVTEX sources: icebergs and iceberg limits, sea ice, ice edge, vessel icing and freezing spray, ice reports, icebreaker operations and ice navigation rules. An model reads each warning that mentions ice and keeps only those really about it, with its kind in ice.type.
  • Positions, shapes (iceberg limit lines, ice areas) and the analysis are included by default. ?output=geojson trả về một GeoJSON FeatureCollection, một feature cho mỗi hình dạng, sẵn sàng cho kiểm tra hành trình và lớp phủ bản đồ.
  • ice_type thu hẹp nó: iceberg, sea_ice, ice_edge, icing, ice_report, icebreaker, ice_navigation, other_ice (lặp lại hoặc phân tách bằng dấu phẩy). Mọi tham số /api/v2/messages/ cũng hoạt động, và /api/v2/messages/?topic=ice là cùng một feed.
  • Gói Full API, hoặc giấy phép feed băng (hàng năm, xuất hoá đơn): liên hệ chúng tôi.
curl "https://www.sealagom.com/api/v2/ice/?output=geojson&ice_type=iceberg,ice_edge" -H "X-API-Token: YOUR_API_TOKEN"

Themed feeds: GET /api/v2/feeds/<feed>/

  • Ready-made feeds built from the category the analysis gives every warning: military exercises and firing, rocket launches and space debris, cable and pipeline work, offshore works and rigs, surveys, wrecks and drifting hazards, aids to navigation, search and rescue, security and restricted areas.
  • Same output as the ice feed: positions, shapes and the analysis by default, the category in feed.category, ?output=geojson cho một FeatureCollection và ?category=để chỉ giữ một số danh mục của một feed. Mọi tham số /api/v2/messages/ cũng hoạt động, và /api/v2/messages/?topic=military là cùng một feed.
  • Only warnings with an analysis are included. GET /api/v2/feeds/ (không cần token) liệt kê mọi feed cùng với số lượng cảnh báo đang còn hiệu lực của nó.
  • Gói Full API, hoặc giấy phép feed cho một feed duy nhất (hàng năm, xuất hoá đơn): liên hệ chúng tôi.
  • Free and without a token, for feed readers and scripts: RSS at /feeds/warnings.xml, /feeds/navarea/<id>.xml and /feeds/coastal/<id>.xml; the same three as Atom (.atom) and JSON Feed 1.1 (.json); plain text at /feeds/warnings.txt. The newest 100 warnings, text only, a warning keeps its id when it is updated. Region pages carry the feed links in their head, so a reader finds the feed from the page address.

Đang tải các feed…

curl "https://www.sealagom.com/api/v2/feeds/military/?output=geojson&navarea_id=3" -H "X-API-Token: YOUR_API_TOKEN"

prompt filter

  • Write what you want in plain words on the token (Full API plan). When you save, a model checks every warning in force against it; each new warning is checked within about 10 minutes of arriving.
  • /api/v2/messages/ các cuộc gọi với token đó sau đó chỉ trả về các cảnh báo khớp. Một cảnh báo đã khớp khi đang còn hiệu lực sẽ vẫn coi là khớp sau khi nó được lưu trữ.
  • Phản hồi thêm vào meta.prompt_filter với prompt, trạng thái của nó (matching ngay sau khi lưu, ready sau đó) và có bao nhiêu cảnh báo khớp. ?prompt_filter=off bỏ qua nó cho một cuộc gọi.
  • The filter can miss or over-include a warning. Use it to narrow a feed, not as the only safety check; the official broadcast stays the authority.
# Token with saved settings: nothing else needed
curl "https://www.sealagom.com/api/v2/messages/" -H "X-API-Token: YOUR_API_TOKEN"

# Same token, override the period for one call
curl "https://www.sealagom.com/api/v2/messages/?date_from=2026-09-01" -H "X-API-Token: YOUR_API_TOKEN"

# Token with the prompt "only space debris warnings around the USA"
{
  "count": 3,
  "results": [ ... ],
  "meta": {
    "prompt_filter": {
      "prompt": "only space debris warnings around the USA",
      "status": "ready",
      "matched": 3
    }
  }
}

Các tính năng địa lý có cấu trúc

Đăng ký Full API

Yêu cầu với include_messages=true and include_geo_features=true trên các endpoint danh sách/chi tiết NAVAREA hoặc Coastal. Mỗi thông báo có thể bao gồm một geo_features object với các hình học có cấu trúc sẵn sàng cho biểu đồ và GIS.

  • features[].kind: point, line, lane, area, circle, sector, displacement
  • circle / sector: bao gồm radius_nm, điểm tâm, và giới hạn hướng tùy chọn
  • lane: đường trung tâm cộng với bề rộng hành lang theo corridor_nm or corridors_nm
  • points[]: decimal degrees; coordinates_raw[]: chuỗi tọa độ gốc từ cảnh báo
  • Cảnh báo đa vùng: message_profile, multi_zone, zone_labels, và theo từng tính năng metadata.zone_label
  • Vùng an toàn tùy chọn: safety_zone_meters, safety_zone_nm
  • Xuất file: Các Contributor nhận được hình học đầy đủ ở ECDIS và KML. Các định dạng xuất khác bao gồm hình học có cấu trúc khi tài khoản của bạn có quyền truy cập Full API (xem các gói).

Trường ví dụ của thông báo

{
  "id": 123,
  "number": "105/26",
  "content": "HAZARDOUS OPERATIONS IN AREAS BOUND BY: A. 25-40.00N 096-47.00W, ... B. 25-58.00N ...",
  "coordinates": ["25-40.00N 096-47.00W", "..."],
  "geo_features": {
    "version": 1,
    "message_profile": "labeled_areas",
    "multi_zone": true,
    "zone_labels": ["A", "B"],
    "features": [
      {
        "id": "feat-a1b2c3d4",
        "kind": "area",
        "label": "Area A",
        "source": "labeled_zone",
        "coordinates_raw": ["25-40.00N 096-47.00W", "..."],
        "points": [{ "lat": 25.6667, "lon": -96.7833, "text": "25-40.00N 096-47.00W" }],
        "closed": true,
        "metadata": { "zone_label": "A" }
      },
      {
        "id": "feat-b2c3d4e5",
        "kind": "area",
        "label": "Area B",
        "source": "labeled_zone",
        "metadata": { "zone_label": "B" }
      }
    ]
  }
}

Yêu cầu mẫu

curl -X GET "https://www.sealagom.com/api/v1/navarea/4/?include_messages=true&include_geo_features=true&include_coordinates=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

analysis

Đăng ký Full API

Every new or changed warning is read by a model and turned into structured data. Add include_ai_analysis=true (với include_messages=true) trên các endpoint danh sách/chi tiết NAVAREA hoặc Coastal và mỗi thông báo có một ai_analysis object, or null trong khi một cảnh báo mới vẫn đang chờ được phân tích.

  • headline, summary: mô tả bằng tiếng dễ hiểu (các cảnh báo không phải tiếng Anh được dịch)
  • status: active, scheduled, expired, withdrawn (không còn nằm trong danh sách còn hiệu lực của cơ quan phát hành), cancellation_notice, informational. Tính lại trên mỗi yêu cầu từ các ngày hiệu lực, nên một cảnh báo sẽ tự chuyển từ đã lên lịch sang đang hoạt động sang đã hết hạn.
  • valid_from / valid_until (ISO 8601 UTC) và time_windows[]: các khoảng thời gian hoạt động và thời điểm tự hủy; validity_text trích dẫn cụm từ nguồn
  • category, severity (critical, high, moderate, low, info), hazards[], mariner_action, location
  • newsworthy / background: for events the wider public would care about (space launches, missile tests, conflict, disasters), a few sentences of general context. It comes from general knowledge, not from the warning text, and can be wrong; empty for routine warnings
  • cancels[] / references[]: số hiệu các cảnh báo mà thông điệp này hủy hoặc tham chiếu đến
  • Chi tiết vận hành: keep_clear_nm (khoảng cách giữ-tránh lớn nhất, NM), contacts[] (kênh VHF, trạm, điện thoại), vessels[] (tên, tín hiệu gọi, MMSI, IMO, vai trò), depth_m (độ sâu nông nhất trên một xác tàu), observed_at (khi một vật trôi dạt được báo cáo), aids[] (đèn và phao bị ảnh hưởng, kèm tình trạng), charts[]
  • translations: tiêu đề, tóm tắt và hành động bằng tiếng Trung, Tây Ban Nha, Nga, Bồ Đào Nha, Hy Lạp, Ukraina, Thổ Nhĩ Kỳ, Pháp và Filipino
  • coord_check: positions the automatic read compared with the parser's (ok, mismatch với các vị trí chỉ một phía tìm thấy)
  • Còn nữa: status_label, category_label, status_at_analysis (tình trạng như được đánh giá khi phân tích), positions_read[] (positions as the automatic read them), confidence (0 đến 1), analyzed_at and model
  • Chuỗi lặp lại: is_routine, series_key and series_label nhóm các bản tin lặp lại (báo cáo băng, danh sách vị trí giàn, danh sách cảnh báo còn hiệu lực) để bạn có thể giữ chỉ số phát hành mới nhất

On the website, everyone sees each warning's headline and status; the full analysis on message pages and the map is part of the Contributor plan, and the full LagoPal (warning search, PDF reports, reading attached files and images) plus watch alerts are part of Full Contributor. Through the API the analysis comes with the Full API plan.

Với API v2 bạn cũng có thể lọc theo dữ liệu này: trạng thái trực tiếp, thời điểm hết hạn (ví dụ tất cả những thứ hết hạn trong 24 giờ tới), đang còn hiệu lực, mức độ nghiêm trọng, loại, khoảng cách giữ-tránh, và các phân tích nêu tên liên hệ, tàu hoặc đèn biển.

Phân tích được tạo tự động và có thể sai. Văn bản cảnh báo gốc trong content vẫn là nguồn chính xác.

Trường ví dụ của thông báo

{
  "id": 123,
  "number": "1234/26",
  "content": "NAVAREA III 1234/26 ... GUNNERY EXERCISES ... CANCEL THIS MSG 301600 UTC SEP 26.",
  "ai_analysis": {
    "headline": "Gunnery firing exercises south of Crete, 28-30 Sep",
    "summary": "Live gunnery firing south of Crete daily 0600-1500 UTC from 28 to 30 September. Ships should keep clear of the area.",
    "category": "firing_practice",
    "category_label": "Firing practice",
    "subject": "firing",
    "subject_label": "Firing exercise",
    "severity": "high",
    "status": "active",
    "status_label": "Active",
    "status_at_analysis": "scheduled",
    "valid_from": "2026-09-28T06:00:00+00:00",
    "valid_until": "2026-09-30T16:00:00+00:00",
    "validity_text": "280600 UTC TO 301500 UTC SEP 26. CANCEL THIS MSG 301600 UTC SEP 26",
    "time_windows": [{ "start": "2026-09-28T06:00:00+00:00", "end": "2026-09-30T15:00:00+00:00", "note": "daily 0600-1500 UTC" }],
    "location": "South of Crete",
    "hazards": ["live firing"],
    "mariner_action": "Keep clear of the area during the firing periods.",
    "newsworthy": false,
    "background": "",
    "keep_clear_nm": 3,
    "contacts": [{ "type": "vhf", "value": "VHF 16", "note": "HN warship" }],
    "vessels": [],
    "depth_m": null,
    "observed_at": null,
    "aids": [],
    "charts": [],
    "coord_check": { "status": "ok", "ai_count": 4, "parser_count": 4, "ai_only": [], "parser_only": [] },
    "translations": { "es": { "headline": "Ejercicios de tiro al sur de Creta, 28-30 sep", "summary": "...", "mariner_action": "..." } },
    "cancels": ["1198/26"],
    "references": [],
    "is_routine": false,
    "series_key": "",
    "series_label": "",
    "confidence": 0.92,
    "analyzed_at": "2026-09-27T08:10:00+00:00",
    "model": "gpt-5-mini"
  }
}

Yêu cầu mẫu

curl -X GET "https://www.sealagom.com/api/v1/navarea/3/?include_messages=true&include_ai_analysis=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

Đối tượng bản đồ (giàn & MODU)

Các cảnh báo bao gồm danh sách vị trí giàn hoặc MODU có thể trả về một map_objects trường trên mỗi thông điệp khi bạn sử dụng include_messages=true.

Message field: map_objects.oil_rigs[]

  • name: tên giàn hoặc đơn vị như đã công bố
  • coordinate: chuỗi tọa độ từ cảnh báo
  • lat, lon: độ thập phân độ
  • is_new_rig, is_new_position: khi được đánh dấu trong văn bản nguồn
  • catalog (tùy chọn): mục mục lục khớp với slug, href, MMSI, khu vực điều hướng

Danh mục công khai (không cần token API)

  • GET /api/public/modu/?q=&page=1 - search active rigs
  • GET /api/public/modu/s/{slug}/ - chi tiết giàn khoan và các cảnh báo liên kết
  • GET /api/public/map-rigs/ - all active rigs for map overlays

Các trạm vô tuyến bờ và trung tâm cứu hộ

Các trung tâm điều phối cứu nạn (RCC, MRCC, MRSC, JRCC) và trạm DSC bờ của 70 quốc gia, từ NGA Pub 117 Radio Navigational Aids (chương 4), với các trạm thử MF/HF DSC của SeaLagom được đánh dấu. Không cần token API.

  • GET /api/public/coast-stations/ - every station with a position, short rows (id, k, n, c, m, la, lo, r, b, t)
  • GET /api/public/coast-stations/{id}/ - một trạm: MMSI, dải tần và phạm vi, thời gian trực, khu vực, liên hệ
  • GET /api/public/coast-stations/near/?lat=&lon=&radius_nm=200&limit=12 - nearest stations

near returns rcc_covering (các trung tâm cứu hộ có khu vực chứa vị trí), rcc_near, dsc_near and test_nearest, mỗi cái có distance_nm. position_approximate là true khi Pub 117 không cho vị trí và trạm được đặt tại cảng cùng tên. Kiểm tra từng mục so với danh sách vô tuyến chính thức của bạn.

curl "https://www.sealagom.com/api/public/coast-stations/near/?lat=36.8&lon=3.1&radius_nm=150"

Space: launches, hazard warnings, re-entries, objects in orbit

Rocket launches of every agency and company from Launch Library 2 (The Space Devs), refreshed hourly, each with the NAVAREA and coastal warnings of its hazard areas at sea (stage, booster and fairing drop zones, landing zones), SpaceX droneships and capsule splashdowns. A warning is linked only when its wording is a launch, one of its windows holds the launch time and opens within an hour of the launch window, an area lies within 1,000 nm of the pad and no other launch fits as well. No API token needed.

  • GET /api/public/space/launches/?from=&to=&provider=&limit= - launches (default 7 days back to 60 ahead) with warnings
  • GET /api/public/space/launches/{id}/ - one launch, its description and the warning page line
  • GET /api/public/space/reentries/ - re-entry predictions (Space-Track TIP) when available
  • GET /api/public/sky/space/?g=bright|stations|recent|rocket|debris - positions now and a minute later (SGP4)
  • GET /api/public/sky/space/meta/?g= - names, owners, launch dates and sizes (SATCAT)

Sources: Launch Library 2 (thespacedevs.com), CelesTrak, Space-Track.org (USSPACECOM). The warnings themselves stay the authority for navigation.

curl "https://www.sealagom.com/api/public/space/launches/?provider=SpaceX&limit=10"

Phần Lan và biển Baltic: hàng hải trong băng, đèn và phao hư hỏng

Hàng hải mùa đông của dịch vụ phá băng Phần Lan và Thụy Điển (cảng bị hạn chế do băng hoặc đóng cửa, tàu phá băng và nhiệm vụ của chúng, tuyến trong băng) cùng đèn và phao hư hỏng trong vùng biển Phần Lan, từ Fintraffic Digitraffic, cập nhật mỗi 10 phút. Không cần mã API. Giấy phép CC BY 4.0: hiển thị nguồn đi kèm dữ liệu.

  • GET /api/public/winter-navigation/
  • GET /api/public/aton-faults/

Hạn chế như IA 2000 nghĩa là chỉ hỗ trợ phá băng cho tàu có ít nhất cấp băng và trọng tải toàn phần (tấn) đó. Ngoài mùa, danh sách trống. Thông báo chính thức của các dịch vụ hàng hải mùa đông là căn cứ.

curl "https://www.sealagom.com/api/public/winter-navigation/"

Your own vessels: positions in by API or webhook

Push the positions of your own vessels from trackers, satellite AIS, Noon or the bridge. They show live in your sky view and on the chart, for your account only, drawn at their real size, with a Fleet panel: status (under way, at anchor or stopped, no update), the last position and its age, speed and course, the ETA when a route is set, the warnings in force near each vessel and along her route, and the approximate under-keel clearance. Private by default; showing a vessel to everyone is a paid placement labelled Sponsored. Not for navigation.

  • POST /api/v2/fleet/positions/: one position, a list, or {positions: [...]}, at most 500 a request
  • GET /api/v2/fleet/vessels/: every vessel with her live state (?detail=1)
  • GET /api/v2/fleet/vessels/{vessel}/: one vessel: our id, MMSI, IMO, your own id or her name; her last 24 hours
  • PUT|DELETE /api/v2/fleet/vessels/{vessel}/route/: her route for the ETA and the warnings along it
  • GET|POST /api/v2/fleet/webhook/: your webhook receiver; {rotate: true} makes a new signing secret, shown once
  • GET /api/v2/fleet/access/, POST /api/v2/fleet/trial/: what your account may do; the free trial

A position

The vessel by vessel_id (our id, or your own id for her), mmsi or imo, with her name the first time; lat and lon in decimal degrees; time in UTC as ISO 8601 or Unix seconds. Optional: speed (knots), course, heading, draught (metres, as reported), length and beam (metres), destination, nav_status (the AIS number). The spellings providers use are read too: latitude, lng, sog, cog, hdg, timestamp, a nested position, a GeoJSON Point.

curl -X POST https://www.sealagom.com/api/v2/fleet/positions/ \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"positions": [
        {"mmsi": "244123456", "name": "NORTH STAR", "lat": 51.9512, "lon": 4.0417,
         "time": "2026-10-31T12:00:00Z", "speed": 12.1, "course": 271, "heading": 270,
         "draught": 9.4, "length": 182, "beam": 28},
        {"vessel_id": "TRK-0042", "name": "SEA BIRD", "lat": 1.2402, "lon": 103.8523,
         "time": 1793448000}
      ]}'

Each position is checked and refused with a plain reason in the answer (refused: [{index, why}]): no vessel named, out of range or 0, 0, no time, older than 24 hours or more than 5 minutes ahead of our clock, a speed over 80 knots, an impossible jump from her last position (over 60 knots), a second position within 10 seconds of the last one or older than it (send them in time order), a new vessel over your plan's number of vessels. 200 when any was kept, 422 when none was.

Reading your fleet

curl https://www.sealagom.com/api/v2/fleet/vessels/ -H "Authorization: Bearer YOUR_KEY"
curl https://www.sealagom.com/api/v2/fleet/vessels/244123456/ -H "Authorization: Bearer YOUR_KEY"
curl -X PUT https://www.sealagom.com/api/v2/fleet/vessels/244123456/route/ \
  -H "Authorization: Bearer YOUR_KEY" -H "Content-Type: application/json" \
  -d '{"name": "Rotterdam to Felixstowe", "speed_kn": 14,
       "waypoints": [[51.95, 4.05], [51.98, 2.90], [51.93, 1.40]]}'
import datetime, requests

KEY = "YOUR_KEY"
now = datetime.datetime.now(datetime.timezone.utc).isoformat()
r = requests.post(
    "https://www.sealagom.com/api/v2/fleet/positions/",
    headers={"Authorization": f"Bearer {KEY}"},
    json={"positions": [{"imo": "9074729", "name": "ALPHA", "lat": 36.84, "lon": -6.42,
                         "time": now, "speed": 11.4, "course": 145, "draught": 8.2}]},
    timeout=20,
)
print(r.status_code, r.json())          # accepted, refused [{index, why}], vessels
for v in requests.get("https://www.sealagom.com/api/v2/fleet/vessels/",
                      headers={"Authorization": f"Bearer {KEY}"}, timeout=20).json()["vessels"]:
    print(v["name"], v["status"], v["position"]["age_s"], v["speed_kn"],
          (v["route"] or {}).get("eta"), v["warnings_near"]["count"])

The ETA is worked out along the rest of her route at her reported speed, or at the route's planned speed while she reports none. The warnings near her are those in force within 50 nm; along her route, those within 10 nm of the rest of it, in the order she meets them. The under-keel clearance is an estimate, never a safety value: GEBCO is not a nautical chart, depths are not reduced to chart datum, tides are not included, the draught is what the crew reported.

Webhook for providers that push

Your account has its own receiver address (GET /api/v2/fleet/webhook/ or the Fleet panel). Point your tracker, satellite AIS provider or Noon at it; any JSON with positions is read (our format, a list, data or items envelopes, a GeoJSON FeatureCollection). Sign every push with your secret: the header X-SeaLagom-Signature: t=<Unix seconds>,v1=<hex HMAC-SHA256 of t, a dot and the raw body>, within 5 minutes of our clock; or X-Hub-Signature-256: sha256=<hex HMAC-SHA256 of the raw body>. ?provider= names the source.

import hashlib, hmac, json, time, requests

SECRET = "flsec_..."                         # Fleet panel, Make the signing secret
URL = "https://www.sealagom.com/api/fleet/hook/flh_.../"      # GET /api/v2/fleet/webhook/
body = json.dumps({"data": [{"MMSI": "244123456", "LATITUDE": 51.95, "LONGITUDE": 4.05,
                             "SOG": 12.1, "COG": 271, "TIMESTAMP": int(time.time())}]}).encode()
t = int(time.time())
sig = hmac.new(SECRET.encode(), f"{t}.".encode() + body, hashlib.sha256).hexdigest()
r = requests.post(URL + "?provider=MyTracker", data=body, timeout=20, headers={
    "Content-Type": "application/json", "X-SeaLagom-Signature": f"t={t},v1={sig}"})
print(r.status_code, r.json())

Agents (MCP)

The same as an MCP server: tools fleet_access, fleet_vessels, fleet_vessel, fleet_push_positions, fleet_set_route and fleet_start_trial, with your key as Bearer.

{
  "mcpServers": {
    "sealagom-fleet": {
      "url": "https://www.sealagom.com/mcp/fleet",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Who may use it

The plans that include fleets (Fleet, All In, Fleet Pro and the Fleet unlimited license) and company licences. People can try it free for 7 days with up to 3 vessels, once per account (POST /api/v2/fleet/trial/ or the Fleet panel). Limits: 120 requests a minute per account and a number of positions a day by the access. These calls never use the requests of a data plan. Plans with fleets

Coastal API

Cảnh báo hàng hải ven bờ theo vùng thủy văn, thường cục bộ hơn NAVAREA, bao gồm hoạt động cảng, nguy hiểm ven bờ và thông báo an toàn hàng hải địa phương.

  • GET /api/v1/coastal/
  • GET /api/v1/coastal/{id}/
  • GET /api/v1/coastal/{id}/messages/
  • GET /api/v1/coastal/{id}/archived_messages/

Yêu cầu cơ bản

curl -X GET "https://www.sealagom.com/api/v1/coastal/?include_messages=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

Tham số truy vấn ven bờ

Các điểm cuối danh sách / chi tiết ven bờ chấp nhận cùng kiểu bộ lọc như NAVAREA khi áp dụng.

Tham sốLoạiMô tả
idintegerLọc theo ID vùng ven bờ.
titlestringLọc theo tiêu đề.
sub_titlestringLọc theo sub_title.
include_messagesbooleanBao gồm các thông điệp ven bờ đang hoạt động.
include_archivedbooleanBao gồm các thông báo đã lưu trữ (Full / Custom).
include_coordinatesbooleanTọa độ trong phản hồi (Full / Custom).
include_enhanced_coordinatesbooleanĐịnh dạng Decimal, Google Maps, GeoJSON, DMS (Full / Custom).
include_keywordsbooleanBản đồ từ khóa trong phản hồi (Full / Custom).
include_geo_featuresbooleangeo_features JSON có cấu trúc cho mỗi thông điệp (chỉ Full API).
include_ai_analysisbooleanai_analysis JSON cho mỗi thông điệp (chỉ Full API).
date_fromdateÝ nghĩa giống NAVAREA (Full / Custom).
date_todateÝ nghĩa giống NAVAREA (Full / Custom).
keywordstringBộ lọc từ khóa (Full / Custom).
has_coordinatesbooleanLọc các thông báo có tọa độ (Full / Custom).
countrystringLọc theo tên quốc gia (khớp một phần).
content_searchstringTìm kiếm phần thân thông điệp (một phần).
title_searchstringTìm kiếm trong tiêu đề (khớp một phần).

Tích hợp webhook

Người đăng ký Full API và Custom có thể cấu hình URL webhook để nhận thông báo POST thời gian thực khi NAVAREA hoặc cảnh báo Ven bờ được thêm, cập nhật hoặc lưu trữ (không cần polling).

Cách hoạt động của webhooks

  1. Cấu hình URL webhook trong cài đặt đăng ký của bạn.
  2. Khi một cảnh báo được công bố hoặc cập nhật, chúng tôi gửi một POST có chữ ký tới URL của bạn.
  3. Xác minh yêu cầu bằng webhook secret của bạn.
  4. Máy chủ của bạn xử lý payload và thực hiện hành động (cập nhật DB, gửi thông báo đẩy, v.v.).

Security

  • Only public https:// URLs are called (no private or local addresses, port 443, no redirects followed).
  • X-Sealagom-Signature is HMAC-SHA256 of the body with your secret; X-Sealagom-Signature-256 is sha256= + HMAC-SHA256 of <X-Sealagom-Timestamp>.<body>. Check one of them, and reject deliveries whose timestamp is older than five minutes.
  • X-Sealagom-Delivery is unique per call: keep the last ids to drop a repeated delivery.
  • Alerts can also go to a Slack, Discord or Teams incoming webhook, or to Zapier, Make, n8n and IFTTT: Integrations.

Cấu hình webhook

curl -X POST "https://www.sealagom.com/api/v1/subscriptions/1/webhook/" \
  -H "Authorization: Bearer YOUR_JWT_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"webhook_url": "https://your-server.com/webhook", "webhook_secret": "your_secret_key"}'

Ví dụ payload webhook

{
  "event_type": "navarea_message_added",
  "timestamp": "2024-06-01T12:34:56Z",
  "data": {
    "navarea_id": 1,
    "message_id": 123,
    "title": "NAVAREA I",
    "number": "123/24",
    "content": "Message content...",
    "added_on": "2024-06-01T12:30:00Z"
  },
  "signature": "generated_signature_for_verification"
}

Trường hợp sử dụng

The SeaLag.om API phù hợp cho nhiều ứng dụng hàng hải. Một vài ví dụ:

Phần mềm định vị

Gộp cảnh báo NAVAREA và Ven bờ trực tiếp lên hải đồ điện tử. Dùng lọc theo tọa độ để chỉ hiện các nguy hiểm liên quan tới vị trí tàu hoặc lộ trình dự định.

Ứng dụng di động cho thuyền viên

Thông báo đẩy về cảnh báo mới trong các khu vực quan tâm. Kết hợp lọc theo địa lý với webhooks để cảnh báo người dùng chỉ cho vùng họ chỉ định.

Công cụ đánh giá rủi ro

Kết hợp dữ liệu cảnh báo vào lập kế hoạch lộ trình và phân tích an toàn. Lọc theo từ khóa cho phép bạn tách riêng các loại nguy hiểm như SUBMARINE CABLES, MILITARY EXERCISES, hoặc PIRACY.

Phân tích lịch sử

Dùng lọc theo ngày và nguồn cấp tin nhắn đã lưu trữ để xác định mô hình cảnh báo theo mùa, nguy hiểm lặp lại, hoặc hành lang có rủi ro cao theo thời gian.

Tích hợp GIS

Cung cấp dữ liệu tọa độ (thập phân, GeoJSON, DMS) vào ArcGIS, QGIS hoặc các lớp bản đồ tùy chỉnh để tạo trực quan hóa mối nguy hàng hải động.

Hệ thống cảnh báo tùy chỉnh

Xây dựng cảnh báo tự động cho công ty tàu, nhà khai thác ngoài khơi hoặc cảng. Webhooks kích hoạt ngay khi có cảnh báo mới khớp với tiêu chí của bạn.

Cần thứ gì đó không có trong danh sách? contact@sealagom.com

Mô hình tích hợp dữ liệu

Các mô hình phổ biến để tích hợp dữ liệu cảnh báo hàng hải vào hệ thống của bạn:

Mô hìnhMô tảHạng được khuyến nghị
Đồng bộ định kỳLên lịch gọi API định kỳ để đồng bộ cảnh báo vào cơ sở dữ liệu của bạn. Thích hợp khi không cần giao hàng thời gian thực.Full API
Cập nhật thời gian thựcTích hợp webhook cung cấp thông báo ngay khi có sự kiện publish / update.Full or Custom
Lọc theo vùng địa lýLọc theo tọa độ để chỉ lấy dữ liệu liên quan đến khu vực hoạt động cụ thể.Full or Custom
Cảnh báo theo từ khóaCảnh báo tự động kích hoạt bởi các từ khóa cụ thể trong thông điệp cảnh báo (ví dụ: submarine cables, military exercises).Full or Custom
Lưu trữ dữ liệu (Data warehousing)Đưa dữ liệu cảnh báo vào pipeline BI và phân tích bằng các endpoint date-range và archive.Full or Custom
Ghi lên biểu đồ / lớp phủ GISVẽ các cảnh báo có tọa độ lên biểu đồ điện tử hoặc hệ thống bản đồ.Full or Custom
Hình dạng phản hồi tùy chỉnhLựa chọn trường cụ thể, định dạng không gian tùy biến, hoặc cấu trúc JSON không chuẩn.Custom

Mẹo cho nhà phát triển: Hãy dùng bộ lọc nâng cao để giảm tối đa việc truyền và xử lý dữ liệu. Nhờ vậy câu trả lời của gói miễn phí nằm trong số bản ghi cho phép mỗi lần gọi, và kích thước câu trả lời giảm trên các gói Full / Custom.

Giới hạn tần suất & sử dụng token

The free tier counts calls a day (above). The Full API plans count no tokens and have a daily fair use (UTC): 20,000 calls and 2,000,000 warnings on API Default, 60,000 calls and 6,000,000 warnings on every Full API plan, shown in X-API-Daily-Calls-Limit and X-API-Daily-Calls-Remaining; past it the API answers 429 until 00:00 UTC. No limit at all comes with the Fleet unlimited license: yearly, by a proposal to [email protected].

GóiYêu cầu (Requests)Archived / Coordinates / Keywords
Free tierAPI không cần khóa: 100 lượt gọi mỗi ngày, tối đa 50 cảnh báo mỗi lượt, trong 3 ngày hoặc 300 lượt gọi, tùy điều nào đến trướcKhông bao gồm
API DefaultKhông giới hạnArchived + raw coordinates; no keywords, enhanced coordinates, geo_features or analysis
Full APIKhông giới hạnTất cả được bao gồm
CustomThỏa theo hợp đồngCó thể tùy chỉnh hoàn toàn

Số lượt gọi API miễn phí còn lại của bạn hiển thị tại Profile → API.

Ví dụ

Yêu cầu thu thập cơ bản

curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

Ví dụ phản hồi danh sách (rút gọn)

{
  "count": 21,
  "next": "https://www.sealagom.com/api/v1/navarea/?page=2",
  "previous": null,
  "results": [
    {
      "id": 1,
      "title": "NAVAREA I",
      "time_upd": "2024-06-01T12:30:00Z",
      "active_messages": [
        {
          "id": 123,
          "number": "123/24",
          "content": "Full warning text as published...",
          "added_on": "2024-06-01T12:30:00Z",
          "cancel_date": null
        }
      ]
    }
  ]
}

Bộ lọc nâng cao (Đầy đủ / Tùy chỉnh)

curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true&date_from=2024-01-01&date_to=2024-12-31&keyword=GUNNERY%20EXERCISE&country=United%20Kingdom" \
  -H "X-API-Token: YOUR_API_TOKEN"

Phản hồi Full API với tọa độ & từ khóa

{
  "count": 21,
  "next": "https://www.sealagom.com/api/v1/navarea/?page=2&include_messages=true&include_coordinates=true&include_keywords=true",
  "previous": null,
  "results": [
    {
      "id": 1,
      "title": "NAVAREA I",
      "country": "United Kingdom",
      "time_upd": "2024-06-01T12:30:00Z",
      "active_messages": [
        {
          "id": 123,
          "number": "123/24",
          "content": "NORTH SEA. UNIT ORCADES FIELD...",
          "added_on": "2024-06-01T12:30:00Z",
          "cancel_date": null,
          "coordinates": {
            "text_coordinates": ["59-08.0N 000-34.0E"],
            "decimal_coordinates": [[59.1333, 0.5667]],
            "google_coordinates": ["59.1333 0.5667"],
            "geojson_coordinates": [[0.5667, 59.1333]],
            "dms_coordinates": [["59°08'00"N", "0°34'00"E"]]
          },
          "keywords": {
            "hazard": "HAZARD TO NAVIGATION",
            "location": "NORTH SEA, ORCADES FIELD",
            "action": "CANCEL"
          }
        }
      ]
    }
  ]
}

Lọc thông báo có tọa độ, mọi định dạng

curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true&has_coordinates=true&include_coordinates=true&include_enhanced_coordinates=true" \
  -H "X-API-Token: YOUR_API_TOKEN"

Bộ lọc kết hợp

curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true&date_from=2024-01-01&keyword=GUNNERY%20EXERCISE&has_coordinates=true&country=United%20Kingdom" \
  -H "X-API-Token: YOUR_API_TOKEN"
Beta look