NewAPIVerve Academy: free courses and certifications anyone can verify.Explore the Academy →

Marine Weather API

GET

Deliver live ocean weather conditions for any coordinate at sea.

Marine Weather fetches offshore weather conditions for any marine coordinates by latitude and longitude. Each response details high and low temperatures, maximum wind speeds, precipitation totals, humidity, UV index, and sunrise and sunset times.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/marineweather?lat=29.48003&lon=-37.62424
Query parameters
Verification
Format

No key required to try it. Get a key to use it in your app.

Example
{
  "status": "ok",
  "error": null,
  "data": {
    "location": {
      "lat": 29.48003,
      "lon": -37.62424
    },
    "weather": {
      "date": "2026-09-17",
      "avghumidity": 86,
      "condition": "Moderate or heavy rain shower",
      "uv": 5,
      "sunrise": "05:53 AM",
      "sunset": "06:08 PM",
      "moonrise": "12:04 PM",
      "moonset": "10:42 PM",
      "maxtempc": 25.9,
      "maxtempf": 78.6,
      "mintempc": 21.3,
      "mintempf": 70.3,
      "avgtempc": 24.9,
      "avgtempf": 76.8,
      "maxwindmph": 15.4,
      "maxwindkph": 24.7,
      "totalprecipmm": 14.89,
      "totalprecipin": 0.59,
      "totalsnowcm": 0,
      "avgviskm": 7.4,
      "avgvismiles": 4,
      "moonphase": "First Quarter",
      "moonillumination": 42
    }
  }
}

About the Marine Weather API

An ocean forecast API for any latitude and longitude at sea, returning daily marine conditions as JSON. Send a pair of coordinates and get back the day's high, low and average temperature in Celsius and Fahrenheit, the maximum wind speed in mph and km/h, total precipitation and snow, average humidity, a condition summary, the UV index, and sunrise, sunset, moonrise and moonset times.

It is built for sailing and boating apps, fishing and charter planners, offshore and coastal operations dashboards, and travel tools that need sea conditions by coordinates rather than by city name. One call gives a compact daily summary you can drop straight into a trip plan or a pre-departure checklist.

The Free plan returns the temperatures, maximum wind, precipitation, humidity, condition, UV index and sun and moon times. Paid plans add average visibility in kilometres and miles, the moon phase and the moon's illumination percentage, which matter for night passages and for anglers who plan around the lunar cycle.

How it works

Marine Weather requests a marine forecast for the lat and lon you send from an external weather data provider, and returns the first forecast day, today at that location, as a single flat weather object. Hourly data from the provider is dropped, so the response is a daily summary only. location echoes the coordinates as numbers.

Field names are the provider's day and astronomy values with underscores removed, which is why they read as maxtempc, avghumidity and totalprecipmm. Temperatures are given in both Celsius (c) and Fahrenheit (f): maxtemp* and mintemp* are the day's high and low, and avgtemp* is the daily mean. maxwindmph and maxwindkph give the strongest wind forecast for the day. totalprecipmm, totalprecipin and totalsnowcm are daily totals. avghumidity is a percentage and uv is the UV index. condition is a text summary such as "Moderate or heavy rain shower". sunrise, sunset, moonrise and moonset are local times in 12-hour format, and date is the forecast date in YYYY-MM-DD.

avgviskm and avgvismiles are the day's average visibility. moonphase is a phase name such as "First Quarter", and moonillumination is the illuminated share of the moon from 0 to 100.

Marine coverage is coastal and offshore. A coordinate inland resolves but has no marine forecast, and the call returns a 404 ("No marine forecast is available for this location."). Errors from the provider are passed through with their status and message. Responses are cached for one hour per coordinate pair. On the Free plan avgviskm, avgvismiles, moonphase and moonillumination are removed.

What people use it for

Voyage Route Planning
Commercial shipping dispatchers evaluate maximum wind speeds and precipitation totals along projected corridors to steer vessels away from rough open-sea conditions.
Offshore Fishing Charters
To protect offshore anglers, booking platforms check marine weather conditions, humidity levels, and UV indices before confirming deep-sea reservations.
Regatta Safety Monitoring
When organizing coastal sailing competitions, race committees monitor wind thresholds and precipitation to schedule offshore heats during safe operating windows.
Port Logistics Scheduling
Cargo terminal coordinators track offshore forecast conditions and daylight hours to prepare docking tugs and crane crews for inbound container vessels.

Ways to call it

One endpoint, many ways in — REST with JSON, XML, YAML and CSV, plus GraphQL and an MCP interface for AI agents.

JSON
Default REST response
XML
Markup format
YAML
Human-readable
CSV
Tabular export
Beta
GraphQL
Query language
New
MCP
For AI agents

Other ways to use Marine Weather

Same data, same APIVerve account, same credit balance — one key works on all of them.

Questions.

Common questions about the Marine Weather API.

Read the docs →
Can I check weather conditions for any offshore location worldwide?
Yes, as long as the latitude and longitude coordinates fall within an ocean or sea. The Marine Weather API accepts standard decimal coordinates and returns localized conditions including temperature, wind speed, and precipitation.
Does the response include both metric and imperial units?
Yes, the endpoint returns both measurement systems side by side in every response. You receive temperatures in Celsius and Fahrenheit, wind speed in kilometers per hour and miles per hour, and precipitation in millimeters and inches without doing manual conversions.
Are visibility and moon phase details available on the Free plan?
No, visibility readings and moon data are premium fields. The Free plan returns air temperatures, wind speeds, and precipitation amounts. Any paid plan, starting with Starter, unlocks average visibility in kilometers and miles as well as the current moon phase and illumination percentage.
What would checking 5,000 marine forecasts a month cost me?
At 10 credits per call, 5,000 forecast lookups consume 50,000 credits. That uses a quarter of the Starter plan's 200,000 credits, which covers up to 20,000 calls and works out to about $1.50 per 1,000 calls. The Free plan provides 200 monthly credits, allowing 20 calls to test your integration.
Can I display this marine weather data in a commercial boating or fishing app?
Yes, commercial use is permitted on any paid plan. The Free plan is limited to non-commercial testing. You can display the weather observations inside your own product, provided you do not resell or redistribute the raw data feed as a standalone service.

Ready to build with Marine Weather? Start with 200 free credits — one key unlocks all 300+ APIs.

Explore the catalog

300+ APIs on the same key and the same response shape.

Browse all APIs