published

Open Weather Map API

OpenWeatherMap offers developers a robust API to access real-time weather updates, forecasts, and historical climate data integral for weather applications and services.

Developed by OpenWeather Ltd.

99.90%Uptime
200msLatency
2.5kStars
API KeyAuth
NoCredit Card
RESTStyle
2.5Version
API Endpoints

Reference for available routes, request structures, and live examples.

Get current weather data for any location

Full Endpoint URL
https://api.openweathermap.org/weather
Implementation Example
curl -X GET 'https://api.openweathermap.org/weather' \
  -H 'Authorization: Bearer YOUR_API_KEY'
Request Payload
{
  "q": "Tokyo",
  "appid": "API_KEY",
  "units": "metric"
}
Expected Response
{
  "main": {
    "temp": 25.3,
    "humidity": 65,
    "feels_like": 26.1
  },
  "name": "Tokyo",
  "wind": {
    "deg": 120,
    "speed": 3.6
  },
  "coord": {
    "lat": 35.6895,
    "lon": 139.6917
  },
  "weather": [
    {
      "id": 800,
      "main": "Clear",
      "description": "clear sky"
    }
  ],
  "visibility": 10000
}
Version:2.5
Limit:60 calls/minute
Real-World Applications
  • Mobile weather appsOptimized Capability
  • Dashboard widgetsOptimized Capability
  • IoT weather displayOptimized Capability
  • Agriculture monitoringOptimized Capability
  • Travel planning toolsOptimized Capability
Advantages
  • Global coverage
  • Free tier with generous limits
  • Supports historical and forecast data
  • Multiple formats and languages
Limitations
  • Free tier rate-limited
  • Historical data may require paid plan
  • Key activation delay up to 1 hour
  • No GraphQL support

FAQs

API Specifications

2.5
Pricing Model
Freemium with pay-as-you-call for One Call API
Credit Card
Not Required
Response Formats
JSON, XML
Supported Languages
6 Languages
SDK Support
Python, JavaScript (Node.js), Java, C#
Time to Hello World

Minutes (signup to first API call)

Rate Limit

60 calls/minute, 1,000,000 calls/month

Free Tier Usage

60 calls/minute; 1,000,000 calls/month, includes current weather, 5‑day/3‑hour forecast, air pollution, geocoding, weather maps

Use Case: Best For

Developers needing reliable, global weather data for apps or services

Not Recommended For

Users requiring GraphQL or bulk historical archive exports without enterprise plan

#climate#forecast#weather

Explore Related APIs

Discover similar APIs to Open Weather Map API

View All APIs
FREEMIUM

WeatherAPI

The WeatherAPI offers developers free access to real-time and forecast weather data, suitable for weather applications, dashboards, and travel tools.

OPEN SOURCE

Weather.gov API

The Weather.gov API provides free and reliable access to real-time and forecasted weather data, suitable for applications that require timely weather updates.

OPEN SOURCE

Open-Meteo Historical

Open-Meteo Historical API provides developers with free access to comprehensive historical weather data, suitable for applications focused on climate research and historical analysis.