WeatherAPI · Example Payload

Weatherapi Hour Forecast Example

WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

Weatherapi Hour Forecast Example is an example object payload from WeatherAPI, with 39 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

time_epochtimetemp_ctemp_fis_dayconditionwind_mphwind_kphwind_degreewind_dirpressure_mbpressure_inprecip_mmprecip_insnow_cmhumiditycloudfeelslike_cfeelslike_fwindchill_cwindchill_fheatindex_cheatindex_fdewpoint_cdewpoint_fwill_it_rainchance_of_rainwill_it_snowchance_of_snowvis_kmvis_milesgust_mphgust_kphuvshort_raddiff_radet0air_qualitypollen

Example Payload

Raw ↑
{
  "time_epoch": 1748441400,
  "time": "sample value",
  "temp_c": 18.5,
  "temp_f": 65.3,
  "is_day": 1,
  "condition": {
    "text": "Partly Cloudy",
    "icon": "//cdn.weatherapi.com/weather/64x64/day/116.png",
    "code": 1003
  },
  "wind_mph": 12.4,
  "wind_kph": 12.4,
  "wind_degree": 1,
  "wind_dir": "WSW",
  "pressure_mb": 1013.0,
  "pressure_in": 1013.0,
  "precip_mm": 0.5,
  "precip_in": 0.5,
  "snow_cm": 1.0,
  "humidity": 65,
  "cloud": 40,
  "feelslike_c": 17.8,
  "feelslike_f": 17.8,
  "windchill_c": 12.4,
  "windchill_f": 12.4,
  "heatindex_c": 1.0,
  "heatindex_f": 1.0,
  "dewpoint_c": 1.0,
  "dewpoint_f": 1.0,
  "will_it_rain": 1,
  "chance_of_rain": 1,
  "will_it_snow": 1,
  "chance_of_snow": 1,
  "vis_km": 10.0,
  "vis_miles": 10.0,
  "gust_mph": 22.1,
  "gust_kph": 22.1,
  "uv": 4.0,
  "short_rad": 1.0,
  "diff_rad": 1.0,
  "et0": 1.0,
  "air_quality": {
    "co": 1.0,
    "o3": 1.0,
    "no2": 1.0,
    "so2": 1.0,
    "pm2_5": 1.0,
    "pm10": 1.0,
    "us-epa-index": 1,
    "gb-defra-index": 1
  },
  "pollen": {
    "Hazel": 1.0,
    "Alder": 1.0,
    "Birch": 1.0,
    "Oak": 1.0,
    "Grass": 1.0,
    "Mugwort": 1.0,
    "Ragweed": 1.0
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/weatherapi-hour-forecast-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.