WeatherAPI · Example Payload

Weatherapi Location Example

WeatherForecastHistoryMarineAstronomyGeolocationSportsAlertsPublic APIs

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

Top-level fields

nameregioncountrylatlontz_idlocaltime_epochlocaltime

Example Payload

Raw ↑
{
  "name": "London",
  "region": "City of London, Greater London",
  "country": "United Kingdom",
  "lat": 51.5074,
  "lon": -0.1278,
  "tz_id": "Europe/London",
  "localtime_epoch": 1748441400,
  "localtime": "2026-05-28 15:30"
}