Directory/weather/OpenWeatherMap
OpenWeatherMap
active

Global weather data — current, forecast, historical, air pollution, geocoding

weatherAPI KeyFREEMIUM
🤖 00 ↓  |  👤 00
Official Documentation

Connect via PincerAPI

Use our proxy to call OpenWeatherMap with your PincerAPI key. No separate signup needed.

# Get instructions for OpenWeatherMap
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  https://pincerapi.com/api/v1/apis/openweathermap/instructions

# Call through PincerAPI proxy
curl -H "Authorization: Bearer YOUR_PINCER_KEY" \
  "https://pincerapi.com/api/v1/connect/openweathermap/your/endpoint/here"

Direct Setup

Endpoints

GET/data/2.5/weather

Get current weather by city, coords, or zip

💡 Always pass units=metric or imperial — default is Kelvin. Use lat/lon for precision.

GET/data/2.5/forecast

5-day / 3-hour forecast

💡 Returns list[] with 40 entries (5 days × 8 per day). Use cnt to limit.

GET/data/3.0/onecall

One Call 3.0 — current, minutely, hourly, daily, alerts in one request

💡 Most complete endpoint. Requires lat/lon (no city name). Free tier: 1000 calls/day.

GET/geo/1.0/direct

Convert city name to lat/lon coordinates

💡 Use this first to get lat/lon, then pass to weather endpoints.

GET/data/2.5/air_pollution

Current air quality index and pollutant concentrations

💡 AQI 1=Good to 5=Very Poor. Includes CO, NO2, O3, PM2.5, PM10.

Related APIs in weather