ODWeather API

⭐ Beginner's Pick Weather / No Auth Required Beginner HTTP
Free to Use Varies (check documentation)

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

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

Example Response

JSON Response
{
  "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

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

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.

Matrix Score Breakdown

🌐 Reachability 15/30
⚡ Speed 15/20
🔒 Security 5/15
🛠 Developer XP 20/20
✓ Reliability 7/15
Response Time 366ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS NO
CORS UNKNOWN
Category Weather
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →