---
title: "Wind, waves and weather on the water (48 h)"
method: GET
path: "/api/v1/marine_forecast"
---

# Wind, waves and weather on the water (48 h)

`GET /api/v1/marine_forecast`

## Request

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

Hourly wind and gusts (knots), direction, temperature, rain, fog and thunder risk for the next 48 hours, plus wave height and period, from Environment Canada (HRDPS/GDWPS), the US National Weather Service or MET Norway.

## 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)
