Weather API

GET

Live weather data for any city or zip code, in one request.

Weather reports current conditions for any city name or zip code: real-time temperature and wind speed with compass direction, in both metric and imperial units. Paid plans add a 7-day forecast with daily highs, lows, rain chance and conditions for the week ahead.

Try it — live request, no key required

Request
GETapi.apiverve.com/v1/weatherforecast?city=San%20Francisco
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": {
    "tempC": 13.3,
    "tempF": 55.9,
    "windMph": 4.7,
    "windKph": 7.6,
    "windDegree": 273,
    "windDir": "W",
    "pressureMb": 1022,
    "pressureIn": 30.17,
    "precipMm": 0,
    "precipIn": 0,
    "feelslikeC": 13,
    "feelslikeF": 55.3,
    "visKm": 16,
    "visMiles": 9,
    "gustMph": 7.2,
    "gustKph": 11.6,
    "forecast": [
      {
        "date": "2026-09-21",
        "condition": "Sunny",
        "maxtempC": 22.5,
        "maxtempF": 72.5,
        "mintempC": 13.3,
        "mintempF": 56,
        "avgtempC": 17.7,
        "avgtempF": 63.9,
        "maxwindMph": 4.7,
        "maxwindKph": 7.6,
        "avghumidity": 48,
        "uv": 4,
        "willItRain": 0,
        "chanceOfRain": 4,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0,
        "totalprecipIn": 0,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-22",
        "condition": "Sunny",
        "maxtempC": 22.8,
        "maxtempF": 73,
        "mintempC": 16.5,
        "mintempF": 61.7,
        "avgtempC": 19.7,
        "avgtempF": 67.5,
        "maxwindMph": 4.7,
        "maxwindKph": 7.6,
        "avghumidity": 63,
        "uv": 3.9,
        "willItRain": 0,
        "chanceOfRain": 8,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0.02,
        "totalprecipIn": 0,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-23",
        "condition": "Overcast",
        "maxtempC": 22.8,
        "maxtempF": 73.1,
        "mintempC": 14.1,
        "mintempF": 57.4,
        "avgtempC": 18.4,
        "avgtempF": 65.2,
        "maxwindMph": 15.7,
        "maxwindKph": 25.2,
        "avghumidity": 70,
        "uv": 3.1,
        "willItRain": 1,
        "chanceOfRain": 76,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 5.97,
        "totalprecipIn": 0.23,
        "totalsnowCm": 0,
        "avgvisKm": 9.9,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-24",
        "condition": "Partly Cloudy",
        "maxtempC": 18,
        "maxtempF": 64.5,
        "mintempC": 10.5,
        "mintempF": 50.8,
        "avgtempC": 14.3,
        "avgtempF": 57.7,
        "maxwindMph": 11,
        "maxwindKph": 17.6,
        "avghumidity": 64,
        "uv": 3.5,
        "willItRain": 0,
        "chanceOfRain": 11,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0.03,
        "totalprecipIn": 0,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-25",
        "condition": "Sunny",
        "maxtempC": 21.3,
        "maxtempF": 70.3,
        "mintempC": 12,
        "mintempF": 53.6,
        "avgtempC": 16,
        "avgtempF": 60.8,
        "maxwindMph": 6.5,
        "maxwindKph": 10.4,
        "avghumidity": 56,
        "uv": 6,
        "willItRain": 0,
        "chanceOfRain": 4,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0,
        "totalprecipIn": 0,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-26",
        "condition": "Sunny",
        "maxtempC": 22,
        "maxtempF": 71.5,
        "mintempC": 13,
        "mintempF": 55.3,
        "avgtempC": 17.1,
        "avgtempF": 62.8,
        "maxwindMph": 8.9,
        "maxwindKph": 14.4,
        "avghumidity": 62,
        "uv": 6,
        "willItRain": 0,
        "chanceOfRain": 8,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0,
        "totalprecipIn": 0,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      },
      {
        "date": "2026-09-27",
        "condition": "Overcast",
        "maxtempC": 19.3,
        "maxtempF": 66.8,
        "mintempC": 12.8,
        "mintempF": 55.1,
        "avgtempC": 16.3,
        "avgtempF": 61.3,
        "maxwindMph": 6.9,
        "maxwindKph": 11.2,
        "avghumidity": 67,
        "uv": 4,
        "willItRain": 0,
        "chanceOfRain": 36,
        "willItSnow": 0,
        "chanceOfSnow": 0,
        "totalprecipMm": 0.32,
        "totalprecipIn": 0.01,
        "totalsnowCm": 0,
        "avgvisKm": 10,
        "avgvisMiles": 6
      }
    ],
    "forecastSummary": {
      "rainExpectedOn": "2026-09-23",
      "daysWithRain": 1,
      "tempTrend": "cooling",
      "tempTrendC": -2.1,
      "maxChanceOfRain": 76
    }
  }
}

Start from a template — a working app you can deploy in a minute

About the Weather API

Use it as a weather data API for live conditions or as a weather forecast API for the week ahead. Query either a city name or a zip code to fetch real-time atmospheric readings. Responses supply temperature, wind speed, and compass heading in both metric and imperial measurements. Paid plans add a 7-day daily forecast with highs, lows, rain chance and precipitation totals, plus precipitation amounts, barometric pressure, apparent feels-like temperatures, visibility, and wind gust speeds.

What people use it for

Delivery Route Planning
When high winds threaten courier safety, dispatch software checks live wind speeds and compass direction across delivery zones before assigning routes, and reads the coming week of forecasts to reschedule ahead of bad days.
Travel Booking Portals
Travel sites display real-time temperatures for destination cities alongside a 7-day outlook so travelers know what conditions to expect across their whole stay.
Smart Home Thermostats
Home automation platforms read outdoor temperatures for local zip codes to adjust heating and cooling cycles throughout the day.
Outdoor Event Management
Organizers monitor current wind speeds and temperatures by city to decide when to secure temporary staging, and use daily rain chance to pick a date or trigger a postponement early.
Field Service Scheduling
Dispatchers check daily rain chance and precipitation totals for the week ahead to slot outdoor jobs like roofing or landscaping onto dry days.

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 Weather

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

Questions.

Common questions about the Weather API.

Read the docs →
Is this a weather forecast API or current conditions only?
Both. Every plan returns current conditions: temperature and wind in metric and imperial units. Paid plans add a 7-day forecast, one entry per day starting today, with highs, lows, average humidity, UV, rain and snow chance, precipitation totals and conditions, plus a summary of which days rain is expected. Pass forecast=false for current conditions only.
Can I look up weather using either a city name or a postal code?
Yes. The API provides dedicated endpoints for querying by city name or by zip code, returning current temperature, wind speed, wind direction, and atmospheric conditions for that location.
Does the API return weather readings in both metric and imperial units?
Yes. Each lookup includes both Celsius and Fahrenheit for temperature and miles per hour and kilometers per hour for wind; paid plans add gusts, and millimeters and inches for precipitation. You can present either unit system without manual conversions.
How far does the Starter plan go for weather lookups?
The Starter plan covers 20,000 weather lookups each month. That works out to about $0.0015 per call or $1.50 per 1,000 calls. The Free plan includes 20 calls per month for evaluation.
Are feels-like temperatures and precipitation included on the Free plan?
No. Apparent temperature, precipitation amount, atmospheric pressure, visibility distance, and wind gusts are designated as premium fields. Any paid plan unlocks full access to these measurements.
Can I display this weather data inside a commercial application?
Yes, commercial use is allowed on any paid plan. You may display the weather observations directly inside your customer-facing tools, but you cannot resell or redistribute the raw weather data.

Ready to build with 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