Geo

Time Zone

Returns the local time and timezone information for a given location.

get/timezone.json

Request

  • Base URL
    https://api.weatherapi.com/v1
  • Auth
    API key in query parameter key

Query parameters

keystring required
Example:YOUR_API_KEY

Your WeatherAPI.com API key.

qstring required
Example:London

Location query. Accepts: city name, lat/lon, US zip, UK postcode, Canada postal code, METAR code (metar:EGLL), IATA (iata:DXB), auto:ip, IPv4/IPv6, or location ID (id:2801268).

Response

Timezone data

Changes

No recorded changes to this operation across all 4 revisions of this API.