On this page

Time Zone Info API

Introduction

 

Our Time Zone Info API is a potent yet straightforward tool that provides in-depth active IANA time zone information, including daylight saving time adjustments if relevant. Additionally, it returns the current local time by default, and if given a UTC reference time, it automatically performs time zone conversion for you.

Get started

This API is part of the IP Geolocation package and is available in free and paid plans. Please visit the IP Geolocation package page for limits and pricing information.

Endpoints

IPv4 only API Endpoint

Use this endpoint to force API calls routed over the IPv4 network only

GET
https://api.bigdatacloud.net/data/timezone-info

Dual-Stack API Endpoint

This endpoint has native IPv6 support and backs the API calls routed over both IPv4 and IPv6 networks

GET
https://api-bdc.net/data/timezone-info

Request

Parameter
Type
Required
Description
Parameter
timeZoneId
Type
string
Required
Yes
Description
Time Zone name in IANA format, for example 'Australia/Sydney'
Parameter
utcReference
Type
integer (int64)
Required
Optional, default value: 0
Description
UTC reference in Unix Time Seconds format. When omitted or invalid, the current time is assumed
Parameter
key
Type
string
Required
Yes
Description
Your API key

Responses

Example query

https://api-bdc.net/data/timezone-info?timeZoneId=Australia/Sydney&key=[YOUR API KEY]
  

Example response

Schema

application/json