---
title: "Marine warnings in effect"
method: GET
path: "/api/v1/marine_warnings"
---

# Marine warnings in effect

`GET /api/v1/marine_warnings`

## Request

- Base URL: `https://coast.cosmicotter.ca`
- URL: `https://coast.cosmicotter.ca/api/v1/marine_warnings`
- Auth: one of:
  - none
  - HTTP bearer

Marine warnings (gale, storm, small craft…) in effect for the marine forecast area at a point.

## Query parameters

- `lat` number, required: Latitude in decimal degrees (WGS84).
- `lng` number, required: Longitude in decimal degrees (WGS84), negative west of Greenwich.

## Response `200`

Result as JSON

## Other responses

- `400`: Bad input
- `402`: Needs a Coast Map Pass key
- `429`: Rate limited

---

[API](https://skmtc.dev/cosmicotter/apis/cosmic-s-coast-map-api.md) · [All operations](https://skmtc.dev/cosmicotter/apis/cosmic-s-coast-map-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cosmicotter/apis/cosmic-s-coast-map-api/revisions/7884a008d755?raw)
