Overview

ODWeather is a free weather and webcam API from OceanDrivers that provides real-time marine and coastal weather data including wind, waves, and temperature. No API key is required, making it quick to test in a browser or with curl. It is particularly useful for sailing, surfing, and outdoor coastal activity apps.

Beginner Tip

No authentication is needed — just call the REST endpoints directly. The API focuses on marine conditions, so it returns wind, sea temperature, and wave data rather than typical land-based weather like precipitation.

Available Data

The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.

temperature
weather conditions
humidity
wind speed
forecast data
Use case: Integrate weather and weather webcams data into web and mobile applications

Example Response

Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.

JSON Response · Illustrative
{
  "location": "Tokyo",
  "temperature": {
    "current": 22,
    "feels_like": 24,
    "min": 18,
    "max": 26
  },
  "condition": "Partly Cloudy",
  "humidity": 65,
  "wind": {
    "speed": 12,
    "direction": "NE"
  },
  "forecast": [
    {
      "date": "2025-01-16",
      "high": 25,
      "low": 17,
      "condition": "Sunny"
    }
  ]
}

Field Reference

name Name of the weather station providing the data.
temperature Air temperature in degrees Celsius at the station.
windSpeed Wind speed measured at the station in km/h or knots depending on station configuration.
windDirection Wind direction in degrees (0-360, where 0/360 is North).
seaTemperature Sea surface temperature in degrees Celsius where available.

Implementation Example

Calls a real endpoint of this API. Replace any placeholder credentials with your own key.

Request
const url = "http://api.oceandrivers.com/static/";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.

HTTP instead of HTTPS warning The API base URL uses http:// which browsers may block or warn about.
Check whether the endpoint supports https:// and prefer that to avoid mixed-content errors in browsers.
Station ID not found An incorrect or unsupported station name was used in the URL path.
List available stations using the /getWeatherStations/ endpoint and use a valid station name.
Empty data array The station has no recent readings for the requested time period.
Try the period=latestdata value or check that the station is currently active and transmitting data.

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

Auth No Auth
HTTPS NO
CORS UNKNOWN
Category Weather
Difficulty Beginner
Listing details not endpoint-verified

Related Tags

Similar APIs

View All →