समुद्री नौवहन API
NAVAREA और तटीय चेतावनियों तक प्रोग्रामैटिक पहुँच। Subscription REST is under /api/v1/ with header X-API-Token. ऊँचे स्तर निर्देशांक, कीवर्ड मैप, एक बार में पूरा संग्रह और उन्नत फ़िल्टर खोलते हैं।
डेवलपर: GitHub से साइन इन करें और दस सेकंड में आपके API टैब पर Developer key होगी, लागू चेतावनियों पर 2,000 मुफ़्त अनुरोधों के साथ। आर्काइव और पूरा विश्लेषण पेड प्लान में मिलते हैं।
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 overviewEverything 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.pyandjs/sealagom.mjs, no dependencies beyond requests or fetch; generate any other language fromopenapi.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-TokenorAuthorization: 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=(ormmsi,warningandregion,port,locode,latandlon) 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).
शुरू करना
- एक योजना चुनें contributor plans.
- API टोकन बनाएँ under Profile → API.
- भेजें
X-API-Tokenहर/api/v1/कॉल पर। - लिस्ट endpoints पर pagination और टोकन उपयोग का सम्मान करें।
API सदस्यता योजनाएँ
कच्चे टेक्स्ट और निर्देशांकों के लिए API Default में अपग्रेड करें, संरचित ज्योमेट्री (geo_features) के लिए Full API लें, या विशेष एकीकरण के लिए हमसे संपर्क करें।
मुफ़्त API टियर
बिना कुंजी के API: रोज़ 100 कॉल, हर कॉल में 50 चेतावनियों तक, 3 दिन या कुल 300 कॉल तक, जो पहले पूरा हो।
सीमा पूरी होने पर API HTTP 402 देता है: क्या इस्तेमाल हुआ, कब फिर शुरू होगा और तुरंत भुगतान के लिंक (चेकआउट, क्रिप्टो, या स्क्रिप्ट से POST /api/agent/checkout/)।
API प्लान के बिना साइन इन होने पर वही मुफ़्त टियर आपके खाते पर गिना जाता है। GitHub डेवलपर सीमा अपने अनुरोध अलग रखती है।
केवल लाइव संदेश। आर्काइव, निर्देशांक, उन्नत निर्देशांक, कीवर्ड, वेबहुक या उन्नत फ़िल्टर नहीं।
API Default
असीमित अनुरोध, $20 पहला महीना, फिर ऑटो-नवीनीकरण के साथ $18 / माह
- असीमित API अनुरोध
- NAVAREA और तटीय लाइव संदेश
- आर्काइव्ड संदेशों तक पहुंच
- कच्चा संदेश पाठ और निर्देशांक
- रियल-टाइम अपडेट के लिए वेबहुक एकीकरण
Not included: geo_features (areas, circles, sectors, lanes, safety zones), analysis, keywords, or enhanced coordinate formats. Those need Full API.
API Default की सदस्यता लेंFull API
असीमित अनुरोध, $100 first month, then $90 / month with auto-renew
- असीमित API अनुरोध
- NAVAREA और तटीय लाइव संदेश
- आर्काइव्ड संदेशों तक पहुंच
- निर्देशांक (सभी फॉर्मैट: decimal, GeoJSON, DMS, Google Maps)
- geo_features: पॉइंट्स, लाइनें, लेन, क्षेत्र, सर्कल, सेक्टर, डिस्प्लेसमेंट, सुरक्षा ज़ोन
- analysis of every warning: summary, status, validity / expiry, hazards, recurring series
- संरचित ज्योमेट्री GeoJSON, CSV, Shapefile, WKT में (ECDIS और KML पूर्ण ज्योमेट्री Contributor पर)
- कीवर्ड मानचित्र निष्कर्षण
- उन्नत फ़िल्टर (दिनांक, कीवर्ड, देश, प्रकार, has_coordinates)
- रियल-टाइम अपडेट के लिए वेबहुक एकीकरण
Custom API
आपकी ज़रूरत के अनुसार; हमसे संपर्क करें
- Full API में उपलब्ध सब कुछ
- कस्टम रिस्पांस शेप्स और डेटा फॉर्मैट्स
- अनुरोध पर विशिष्ट फ़ील्ड, संरचनाएँ, या स्थानिक फॉर्मैट्स
- समर्पित समर्थन और एकीकरण मार्गदर्शन
- एंटरप्राइज़ या उच्च मात्रा के समझौते
- SLA और कस्टम वेबहुक पेलोड्स
क्या आपको कुछ विशेष चाहिए? ईमेल भेजें contact@sealagom.com API प्रतिक्रियाओं को किसी भी फॉर्मैट या स्थानिक संरचना में अनुकूलित किया जा सकता है।
वर्तमान योजनाएँ देखें और सदस्यता लेंइंटरैक्टिव रिक्वेस्ट बिल्डर
एक GET URL रचना करें और उदाहरण कॉपी करें (cURL, Python, JavaScript, Java, Rust). टोकन को अपने टोकन से बदलें।
हर बार वही पैरामीटर इस्तेमाल कर रहे हैं? इन्हें अपने टोकन पर ही सहेजें साथ में API v2 builder अपने प्रोफाइल पर, लाइव प्रीव्यू के साथ।
जनरेट किया गया URL
https://www.sealagom.com/api/v1/navarea/?include_messages=truecurl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true" \
-H "X-API-Token: YOUR_API_TOKEN"ओवरव्यू
SeaLag.om Maritime Navigation API में आपका स्वागत है!
यह API समुद्री सुरक्षा और नेविगेशन के लिए आवश्यक NAVAREA और Coastal चेतावनियों तक प्रोग्रामैटिक पहुँच प्रदान करता है।
Full API सदस्यों को उन्नत डेटा मिलता है, जिसमें निर्देशांक (कई प्रारूप), कीवर्ड, एक बार में पूरा संग्रह और उन्नत फ़िल्टर शामिल हैं। क्या आपको अपना प्रारूप या स्थानिक संरचना चाहिए? हमसे संपर्क करें एक अनुकूलित इंटीग्रेशन के लिए।
प्रतिक्रियाएँ JSON सूची / डिटेल स्वरूप में होती हैं। उपयोग करें page and page_size जहाँ समर्थित हो।
प्रमाणीकरण
हेडर भेजें X-API-Token: <token> हर /api/v1/ निवेदन। गायब या अमान्य टोकन पर लौटता है 401 Unauthorized। टोकन आपके प्रोफ़ाइल में बनाए जाते हैं; उसी स्क्रीन से घुमाएँ या रद्द करें।
X-API-Token: YOUR_API_TOKENटोकन प्रबंधन
- GET /api/v1/tokens/ - अपनी टोकन सूचीबद्ध करें
- POST /api/v1/tokens/ - एक टोकन बनाएं
- POST /api/v1/tokens/{id}/regenerate/ - घुमाएँ (पुराना मान अमान्य कर देता है)
# 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 और टोकन सेटिंग्स
API v2 उसी टोकन, योजनाओं और अनुरोध लेखांकन का उपयोग करता है जैसा v1 करता था। इसके अंतर्गत सब कुछ /api/v1/ ठीक वैसे ही काम करना जारी रखता है, इसलिए मौजूदा इंटीग्रेशन में कोई बदलाव की आवश्यकता नहीं है। v2 यह जोड़ता है:
- हर चेतावनी की एक सूची:
GET /api/v2/messages/, NAVAREA और coastal दोनों एक साथ, सबसे नया पहले, प्रत्येक संदेश के साथ उसका क्षेत्र, देश और आर्काइव स्थिति। - रीजन endpoints पर संदेश फ़िल्टर:
/api/v2/navarea/and/api/v2/coastal/v1 की तरह उत्तर दें और साथ ही उन संदेशों पर भी लागू हों जो वे लौटाते हैं।date_from,date_to,keywordandhas_coordinatesवे संदेशों पर लागू होते हैं जो वे लौटाते हैं। - प्रत्येक टोकन पर सहेजे गए सेटिंग्स: एक टोकन चुनें पर Profile > API > API v2 builder, मेनू और लाइव प्रीव्यू के साथ प्रतिक्रिया बनाएं, और सहेजें। उस टोकन के साथ हर /api/v2/ कॉल उस स्वरूप को लौटाता है; /api/v1/ कॉल सहेजी गई सेटिंग्स को अनदेखा करते हैं और ठीक वैसे ही उत्तर देते हैं जैसा पहले था।
- prompt filter (Full API):किस चेतावनी को एक टोकन लौटाना चाहिए इसे अपनी भाषा में वर्णित करें, उदाहरण के लिए "only space debris warnings around the 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/
| Parameter | Plan | What it does |
|---|---|---|
| scope | All | navarea, coastal या all (डिफ़ॉल्ट). |
| navarea_id | All | एक या अधिक NAVAREA ids (दोहराएँ या comma-separate)। |
| coastal_id | All | एक या अधिक coastal region ids। |
| country | All | Country name, आंशिक मेल (उदा. France). |
| q | All | चेतावनी टेक्स्ट में शब्द (मूल या अंग्रेज़ी)। |
| date_from, date_to | All | Added on or after / on or before, YYYY-MM-DD. |
| keyword | All | कीवर्ड श्रेणी या पाठ में किसी भी शब्द; कई के लिए दोहराएँ। |
| has_coordinates | All | true: केवल पोजीशन वाले चेतावनियाँ। |
| include_locals | All | true: फ्रेंच लोकल (AVURNAV) चेतावनियाँ भी। |
| include_archived, only_archived | Paid API | सक्रिय और संग्रहीत, या केवल संग्रहीत। |
| status, message_class, station, lat, lon, radius_nm, bbox | All | संग्रह फ़िल्टर: in_force, cancelled या expired; प्रकार; NAVTEX स्टेशन; समुद्री मील में त्रिज्या वाला स्थान, या west,south,east,north बॉक्स। |
| include_coordinates | Paid API | प्रत्येक चेतावनी से पढ़ी गई पोजीशनें। |
| include_enhanced_coordinates | Full API | प्रत्येक पोजीशन के लिए Decimal, DMS, GeoJSON और मानचित्र लिंक। |
| include_keywords | Full API | प्रत्येक चेतावनी के लिए कीवर्ड मानचित्र। |
| include_geo_features | Full API | Areas, circles, lines, lanes, sectors as GeoJSON. |
| include_ai_analysis | Full API | The analysis object per warning. |
| ai_severity | Full API | critical, high, moderate, low, info (कई के लिए दोहराएँ)। |
| ai_category | Full API | category ids, e.g. firing_practice, piracy_or_security. |
| ai_status | Full API | Live status: active, scheduled, expired, withdrawn (archived), cancellation_notice, informational. |
| ai_in_force | Full API | true: केवल वे चेतावनियाँ जो अभी प्रभावी हैं। |
| expires_within_hours | Full API | केवल वे चेतावनियाँ जिनका valid_until अगले N घंटों में है। |
| expires_after, expires_before | Full API | valid_until on or after / on or before a date (YYYY-MM-DD) or ISO time. |
| exclude_routine | Full API | true: सामान्य रिपोर्टें छोडें (ice reports, rig lists, in-force lists)। |
| ai_has | Full API | केवल विश्लेषण जिनमें: contacts, vessels, aids, keep_clear, time_windows, charts, hazards। |
| min_keep_clear_nm | Full API | कम से कम N nautical miles की Keep-clear दूरी। |
| page, page_size | All | डिफ़ॉल्ट पृष्ठ पर 50; Paid plans पर अधिकतम 200, free पर 50। |
| prompt_filter | Full API | off: ignore the token's prompt filter for this call. |
| topic | Full API | A feed: ice, military, space, cables, offshore, survey, hazards, aton, sar, security (देखें Themed feeds). |
| settings | All | off: इस कॉल के लिए टोकन की saved settings को अनदेखा करें (a plain call)। |
Fields or filters your plan does not include are left out and listed in meta.warnings, never an error.
content is the text as broadcast; 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 names the original language.
The US Coast Guard Local Notices to Mariners (10 districts, updated weekly) are coastal regions titled US Coast Guard LNM, country US. They are not analysed, so their automatic fields are empty; each district also has one message, number LNMxx-DISCREPANCIES, listing its aids to navigation with a discrepancy.
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 }
}
]
}Settings saved on a token
- One token, one shape: 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.
- Every option is shown, Full API ones included, with the plan each needs. Saving needs an active API plan.
- URL wins: any parameter you put in the URL replaces the saved value for that call;
?settings=offसाधारण कॉल करता है। - सापेक्ष अवधि: "last 30 days" भेजता है
date_fromहर कॉल पर आज से 30 दिन पहले के रूप में। - प्रतिक्रियाएँ एक
X-API-Token-Settingsहेडर भेजती हैं जो उस टोकन का नाम बताती है जिनसे सेटिंग्स लागू हुईं।
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एक GeoJSON FeatureCollection लौटाता है, हर आकार के लिए एक feature, रूट चेक और चार्ट ओवरले के लिए तैयार। ice_typeइसे संकुचित करता है: iceberg, sea_ice, ice_edge, icing, ice_report, icebreaker, ice_navigation, other_ice (दोहराएँ या कॉमा से अलग करें). हर /api/v2/messages/ पैरामीटर भी काम करता है, और/api/v2/messages/?topic=iceवही फीड है।- Full API plan, या एक ice feed licence (वार्षिक, इनवॉइस): हमसे संपर्क करें।
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=geojsonFeatureCollection के लिए और?category=फीड की कुछ श्रेणियाँ ही रखने के लिए. हर /api/v2/messages/ पैरामीटर भी काम करता है, और/api/v2/messages/?topic=militaryवही फीड है। - Only warnings with an analysis are included.
GET /api/v2/feeds/(कोई टोकन आवश्यक नहीं) हर फीड को सूचीबद्ध करता है और बताता है कि उसकी कितनी चेतावनियाँ प्रभावी हैं। - Full API plan, या एक ही फीड के लिए feed licence (वार्षिक, इनवॉइस): हमसे संपर्क करें।
- Free and without a token, for feed readers and scripts: RSS at
/feeds/warnings.xml,/feeds/navarea/<id>.xmland/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.
फीड लोड हो रहे हैं…
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/उस टोकन के साथ कॉल फिर केवल मिलती-जुलती चेतावनियाँ लौटाते हैं। एक चेतावनी जो प्रभाव में रहते हुए मैच हुई थी वह पुरालेखित होने के बाद भी मैच बनी रहती है।- प्रतिक्रिया जोड़ती है
meta.prompt_filterप्रॉम्प्ट के साथ, उसकी स्थिति (matchingसेव करने के ठीक बाद,readyबाद में) और कितनी चेतावनियाँ मैच हुईं।?prompt_filter=offएक कॉल के लिए इसे छोड़ देता है। - 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
}
}
}संरचित जियो फीचर्स
Full API सदस्यताके साथ अनुरोध करें include_messages=true and include_geo_features=true NAVAREA या तटीय लिस्ट/डिटेल एंडपॉइंट्स पर. प्रत्येक संदेश में एक शामिल हो सकता है geo_features चार्ट और GIS के लिए तैयार संरचित ज्योमेट्री वाला object.
- features[].kind:
point,line,lane,area,circle,sector,displacement - circle / sector: शामिल करें
radius_nm, केन्द्र बिंदु, और वैकल्पिक बेयरिंग सीमाएँ - lane: केन्द्ररेखा साथ ही कॉरिडोर की चौड़ाई में
corridor_nmorcorridors_nm points[]: दशमलव डिग्री;coordinates_raw[]: चेतावनी से मूल निर्देशांक स्ट्रिंग्स- मल्टी-ज़ोन वार्निंग्स:
message_profile,multi_zone,zone_labels, और प्रति-फ़ीचरmetadata.zone_label - वैकल्पिक सुरक्षा ज़ोन:
safety_zone_meters,safety_zone_nm - फ़ाइल एक्सपोर्ट: Contributors को ECDIS और KML में पूर्ण ज्योमेट्री मिलती है. अन्य एक्सपोर्ट फ़ॉर्मैट्स में संरचित ज्योमेट्री तब शामिल होती है जब आपके खाते के पास Full API एक्सेस हो (योजना देखें).
उदाहरण संदेश फ़ील्ड
{
"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" }
}
]
}
}नमूना अनुरोध
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
Full API सदस्यताEvery new or changed warning is read by a model and turned into structured data. Add include_ai_analysis=true (with include_messages=true) NAVAREA या तटीय लिस्ट/डिटेल एंडपॉइंट्स पर और प्रत्येक संदेश पर एक ai_analysis object, or null जब तक एक नया चेतावनी अभी भी विश्लेषण के लिए प्रतीक्षा कर रही हो।
- headline, summary: सरल-भाषा विवरण (गैर-अंग्रेजी चेतावनियाँ अनुवादित की जाती हैं)
- status:
active,scheduled,expired,withdrawn(जारीकर्ता की वर्तमान सूची में अब नहीं),cancellation_notice,informational. प्रत्येक अनुरोध पर वैधता तिथियों से पुनःगणना किया जाता है, इसलिए एक चेतावनी अपने आप निर्धारित से सक्रिय से समाप्त में आ जाती है. - valid_from / valid_until (ISO 8601 UTC) और
time_windows[]: गतिविधि अवधी और स्व-रद्द करने का समय;validity_textस्रोत वाक्यांश का उद्धरण करता है - 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 warningscancels[]/references[]: चेतावनियाँ जिनकी यह संदेश रद्द करता है या जिनका यह संदर्भ देता है- ऑपरेशनल विवरण:
keep_clear_nm(सबसे बड़ा सुरक्षित दूरी, NM),contacts[](VHF चैनल, स्टेशन, फोन),vessels[](नाम, कॉल साइन, MMSI, IMO, भूमिका),depth_m(किसी मलबे पर सबसे कम गहराई),observed_at(जब एक बहता हुआ वस्तु रिपोर्ट की गई थी),aids[](प्रभावित लाइट्स और बोलबत्तियाँ, स्थिति के साथ),charts[] translations: चीनी, स्पेनिश, रूसी, पुर्तगाली, यूनानी, यूक्रेनी, तुर्की, फ्रांसीसी और फिलिपिनो में हेडलाइन, सारांश और कार्रवाईcoord_check: positions the automatic read compared with the parser's (ok,mismatchजिसे केवल एक पक्ष ने ही पाया)- इसके अलावा:
status_label,category_label,status_at_analysis(विश्लेषण के समय जैसा कानूनी/स्थिति आंका गया),positions_read[](positions as the automatic read them),confidence(0 से 1),analyzed_atandmodel - आवर्ती श्रेणी:
is_routine,series_keyandseries_labelदोहराए जाने वाले बुलेटिनों (आइस रिपोर्ट, रिग स्थिति सूचियाँ, लागू चेतावनियाँ सूची) को समूहित करें ताकि आप केवल नवीनतम अंक रख सकें
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.
के साथ API v2 आप इन डेटा से भी फ़िल्टर कर सकते हैं: लाइव स्थिति, समाप्ति (उदाहरण के लिए अगले 24 घंटों में सब कुछ जो समाप्त हो रहा है), अभी लागू है, गंभीरता, श्रेणी, सुरक्षित दूरी, और ऐसे विश्लेषण जो संपर्क, जहाजों या बत्तियों का नाम लेते हों.
विश्लेषण स्वचालित रूप से उत्पन्न होता है और गलत हो सकता है। मूल चेतावनी पाठ में content प्राधिकरण स्रोत बना रहता है.
उदाहरण संदेश फ़ील्ड
{
"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"
}
}नमूना अनुरोध
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"नक्शा ऑब्जेक्ट्स (रिग्स और MODU)
जिन चेतावनियों में रिग या MODU स्थिति सूचियाँ शामिल हों वे जब आप उपयोग करते हैं तो प्रत्येक संदेश पर एक map_objects फ़ील्ड वापस कर सकती हैं include_messages=true.
Message field: map_objects.oil_rigs[]
name: प्रकाशित अनुसार रिग या यूनिट का नामcoordinate: चेतावनी से समन्वय स्ट्रिंगlat,lon: दशमलव डिग्रीis_new_rig,is_new_position: स्रोत पाठ में चिन्हित होने का समयcatalog(optional): मेल खाता हुआ catalogue एंट्री जिसमे slug, href, MMSI, navigation area शामिल हैं
Public catalogue (कोई API token नहीं)
- GET /api/public/modu/?q=&page=1 - search active rigs
- GET /api/public/modu/s/{slug}/ - rig विवरण और जुड़ी हुई चेतावनियाँ
- GET /api/public/map-rigs/ - all active rigs for map overlays
Coast radio stations और rescue centres
Rescue coordination centres (RCC, MRCC, MRSC, JRCC) और 70 देशों के DSC coast stations, NGA Pub 117 Radio Navigational Aids (chapter 4) से, जिनमें SeaLagom के MF/HF DSC परीक्षण स्टेशन चिह्नित हैं। कोई API token आवश्यक नहीं।
- 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}/ - एक स्टेशन: MMSI, bands और ranges, watch times, area, contacts
- GET /api/public/coast-stations/near/?lat=&lon=&radius_nm=200&limit=12 - nearest stations
near returns rcc_covering (rescue centres जिनके क्षेत्र में स्थिति आती है), rcc_near, dsc_near and test_nearest, प्रत्येक के साथ distance_nm. position_approximate जब Pub 117 कोई स्थिति नहीं देता और स्टेशन उसी नाम के बंदरगाह पर रखा गया होता है तो यह true होता है। हर एंट्री को अपने आधिकारिक radio list के साथ जांचें।
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"फ़िनलैंड और बाल्टिक: बर्फ़ में नौवहन, खराब बत्तियाँ और बोये
फ़िनिश-स्वीडिश आइसब्रेकर सेवा का शीतकालीन नौवहन (बर्फ़ प्रतिबंध वाले या बंद बंदरगाह, आइसब्रेकर और उनके कार्य, बर्फ़ में मार्ग) और फ़िनलैंड के जल में खराब बत्तियाँ और बोये, Fintraffic Digitraffic से, हर 10 मिनट में अद्यतन। API टोकन की ज़रूरत नहीं। लाइसेंस CC BY 4.0: डेटा के साथ आने वाला स्रोत श्रेय दिखाएँ।
- GET /api/public/winter-navigation/
- GET /api/public/aton-faults/
IA 2000 जैसे प्रतिबंध का अर्थ है कि आइसब्रेकर सहायता केवल कम से कम उस आइस क्लास और उस डेडवेट (टन) वाले जहाज़ों को मिलती है। मौसम के बाहर सूचियाँ खाली रहती हैं। शीतकालीन नौवहन सेवाओं की आधिकारिक सूचनाएँ ही मान्य हैं।
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
Coastal navigational warnings समुद्री क्षेत्र के अनुसार, आमतौर पर NAVAREA की तुलना में अधिक स्थानीय, पोर्ट संचालन, तटीय खतरे, और स्थानीय समुद्री सुरक्षा सूचनाओं को कवर करती हैं।
- GET /api/v1/coastal/
- GET /api/v1/coastal/{id}/
- GET /api/v1/coastal/{id}/messages/
- GET /api/v1/coastal/{id}/archived_messages/
बुनियादी अनुरोध
curl -X GET "https://www.sealagom.com/api/v1/coastal/?include_messages=true" \
-H "X-API-Token: YOUR_API_TOKEN"Coastal query parameters
Coastal list / detail endpoints NAVAREA के समान शैली के फिल्टर स्वीकार करते हैं जहाँ लागू हो।
| Parameter | प्रकार | विवरण |
|---|---|---|
| id | integer | Coastal region ID से फ़िल्टर करें। |
| title | string | Title द्वारा फिल्टर करें। |
| sub_title | string | sub_title द्वारा फिल्टर करें। |
| include_messages | boolean | सक्रिय coastal संदेशों को शामिल करें। |
| include_archived | boolean | आर्काइव किए गए संदेश शामिल करें (Full / Custom). |
| include_coordinates | boolean | प्रतिक्रिया में Coordinates (Full / Custom)। |
| include_enhanced_coordinates | boolean | Decimal, Google Maps, GeoJSON, DMS फ़ॉर्मैट्स (Full / Custom). |
| include_keywords | boolean | प्रतिक्रिया में Keyword map (Full / Custom)। |
| include_geo_features | boolean | प्रत्येक संदेश के लिए संरचित geo_features JSON (Full API केवल)। |
| include_ai_analysis | boolean | प्रत्येक संदेश के लिए ai_analysis JSON (Full API केवल)। |
| date_from | date | NAVAREA के समान semantics (Full / Custom)। |
| date_to | date | NAVAREA के समान semantics (Full / Custom)। |
| keyword | string | Keyword filter (Full / Custom)। |
| has_coordinates | boolean | उन संदेशों को फ़िल्टर करें जिनमें निर्देशांक हैं (Full / Custom). |
| country | string | देश के नाम से फ़िल्टर करें (आंशिक मेल). |
| content_search | string | Message body में खोजें (आंशिक)। |
| title_search | string | शीर्षकों के भीतर खोजें (आंशिक मेल). |
Webhook एकीकरण
Full API और Custom सब्सक्राइबर्स webhook URL कॉन्फ़िगर कर सकते हैं ताकि जब भी NAVAREA या Coastal चेतावनियाँ जोड़ी, अपडेट या आर्काइव हों तो उन्हें रियल-टाइम POST नोटिफिकेशन मिलें (कोई polling आवश्यक नहीं)।
Webhooks कैसे काम करते हैं
- अपने subscription settings में एक webhook URL कॉन्फ़िगर करें।
- जब कोई चेतावनी प्रकाशित या अपडेट होती है, हम आपके URL पर एक signed POST भेजते हैं।
- अपने webhook secret का उपयोग करके request को सत्यापित करें।
- आपका सर्वर payload को प्रोसेस करता है और कार्रवाई करता है (DB अपडेट करें, push notification भेजें, आदि)।
Security
- Only public https:// URLs are called (no private or local addresses, port 443, no redirects followed).
X-Sealagom-Signatureis HMAC-SHA256 of the body with your secret;X-Sealagom-Signature-256issha256=+ HMAC-SHA256 of<X-Sealagom-Timestamp>.<body>. Check one of them, and reject deliveries whose timestamp is older than five minutes.X-Sealagom-Deliveryis 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.
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"}'Webhook payload उदाहरण
{
"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"
}उपयोग के मामले
The SeaLag.om API कई प्रकार के समुद्री अनुप्रयोगों के लिए उपयुक्त है। कुछ उदाहरण:
Navigation software
Electronic charts पर लाइव NAVAREA और Coastal चेतावनियों को सीधे ओवरले करें। केवल उस पोर्ट या नियोजित मार्ग से संबंधित खतरे दिखाने के लिए coordinate filtering का उपयोग करें।
Mariners के लिए Mobile apps
रुचि क्षेत्रों में नई चेतावनियों के बारे में push notifications। केवल उनके निर्दिष्ट क्षेत्रों के लिए उपयोगकर्ताओं को अलर्ट करने हेतु geographic filtering को webhooks के साथ जोड़ें।
Risk assessment tools
रूट प्लानिंग और सुरक्षा विश्लेषण में चेतावनी डेटा को शामिल करें। Keyword filtering आपको SUBMARINE CABLES, MILITARY EXERCISES, या PIRACY जैसे खतरे के प्रकार अलग करने देता है।
Historical analysis
तारीख़ फ़िल्टरिंग और archived messages feed का उपयोग करके मौसमी चेतावनी पैटर्न, आवर्ती खतरे, या समय के साथ उच्च-जोखिम कॉरिडोर्स की पहचान करें।
GIS एकीकरण
डेसिमल, GeoJSON, DMS में निर्देशांकों का डेटा ArcGIS, QGIS, या कस्टम मैप लेयरों में फीड करें ताकि गतिशील समुद्री खतरों के विज़ुअलाइज़ेशन बनाए जा सकें।
कस्टम अलर्ट सिस्टम
शिपिंग कंपनियों, ऑफशोर ऑपरेटरों, या पोर्ट प्राधिकरणों के लिए ऑटोमैटेड अलर्टिंग बनाएं। Webhooks तुरंत ट्रिगर होते हैं जब नई वार्निंग्स आपकी मापदण्डों से मेल खाती हैं।
क्या कुछ ऐसा चाहिए जो यहाँ सूचीबद्ध नहीं है? contact@sealagom.com
डेटा एकीकरण पैटर्न
आपकी प्रणालियों में समुद्री वार्निंग डेटा को इंटीग्रेट करने के सामान्य पैटर्न:
| पैटर्न | विवरण | अनुशंसित टियर |
|---|---|---|
| आवधिक सिंक | वार्निंग्स को अपने डेटाबेस में सिंक करने के लिए नियमित API कॉल शेड्यूल करें। जब वास्तविक समय डिलीवरी आवश्यक न हो तो यह अच्छा है। | Full API |
| रीयल-टाइम अपडेट्स | Webhook एकीकरण प्रकाशन / अपडेट इवेंट्स पर तात्कालिक नोटिफिकेशन देता है। | Full or Custom |
| भूगोलिक फ़िल्टरिंग | ऑपरेशन के विशिष्ट क्षेत्रों से संबंधित केवल डेटा प्राप्त करने के लिए निर्देशांकों द्वारा फ़िल्टर करें। | Full or Custom |
| कीवर्ड-आधारित अलर्ट्स | वार्निंग संदेशों में विशिष्ट कीवर्ड्स (जैसे submarine cables, military exercises) द्वारा ट्रिगर होने वाले ऑटोमैटेड अलर्ट्स। | Full or Custom |
| डेटा वेयरहाउज़िंग | date-range और archive एन्डपॉइंट्स का उपयोग करके वार्निंग डेटा को BI और एनालिटिक्स पाइपलाइनों में फीड करें। | Full or Custom |
| चार्ट / GIS ओवरले | निर्देशांक-संपन्न वार्निंग्स को इलेक्ट्रॉनिक चार्ट्स या मैपिंग सिस्टम्स पर प्लॉट करें। | Full or Custom |
| कस्टम रिस्पॉन्स शेप्स | विशिष्ट फ़ील्ड चयन, अनुकूलित स्पेशियल फॉर्मैट, या नॉन-स्टैंडर्ड JSON संरचनाएँ। | Custom |
डेवलपर टिप: डेटा के ट्रांसफ़र और प्रोसेसिंग को कम से कम रखने के लिए उन्नत फ़िल्टर इस्तेमाल करें। इससे मुफ़्त स्तर के जवाब एक कॉल में मिलने वाले रिकॉर्ड की सीमा में रहते हैं और Full / Custom प्लान पर जवाब का आकार घटता है।
रेट लिमिटिंग और टोकन उपयोग
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].
| Plan | रिक्वेस्ट्स | Archived / Coordinates / Keywords |
|---|---|---|
| Free tier | बिना कुंजी के API: रोज़ 100 कॉल, हर कॉल में 50 चेतावनियों तक, 3 दिन या कुल 300 कॉल तक, जो पहले पूरा हो | शामिल नहीं |
| API Default | अनलिमिटेड | Archived + raw coordinates; no keywords, enhanced coordinates, geo_features or analysis |
| Full API | अनलिमिटेड | सभी शामिल |
| Custom | अनुबंध के अनुसार तय | पूर्ण रूप से कस्टमाइज़ेबल |
आपकी बची मुफ़्त API कॉल यहाँ दिखती हैं: Profile → API.
उदाहरण
बेसिक संग्रह अनुरोध
curl -X GET "https://www.sealagom.com/api/v1/navarea/?include_messages=true" \
-H "X-API-Token: YOUR_API_TOKEN"नमूना सूची प्रतिक्रिया (संक्षिप्त)
{
"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
}
]
}
]
}उन्नत फ़िल्टर (पूर्ण / कस्टम)
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"कोऑर्डिनेट्स & कीवर्ड के साथ Full API प्रतिक्रिया
{
"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"
}
}
]
}
]
}कोऑर्डिनेट्स वाले संदेश फ़िल्टर करें, सभी फ़ॉर्मैट
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"संयुक्त फ़िल्टर
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"