GET
/api/v1/references/timezonesGet Timezones
Timezone refers to the local time of departure or arrival. The API endpoint provides a list of all available in our database time zones and countries. Users can access this endpoint to identify and retrieve the complete list of timezones offered in our database.
The GET request to retrieve the timezones data does not require any parameters. Simply make a GET request to the endpoint mentioned above.
The GET request to retrieve the timezones data does not require any parameters. Simply make a GET request to the endpoint mentioned above.
GET
/api/v1/references/timezonesParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | integer | Optional | The page number to retrieve. |
size | query | integer | Optional | The number of items to be displayed per page. |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Request data failed validation(s) | None |
| 401 | Unauthorized | Authentication Failed! | None |
| 429 | Too Many Requests | Too Many Requests. | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X GET /api/v1/references/timezones \
-H 'Accept: application/json' \
-H 'Authorization: API_KEY'
Example responses
200 Response
{
"error": false,
"timezones": [
{
"_id": "64ae7e58d06e77f95bff061e",
"timezone": "Asia/Kolkata",
"countryCode": "IST",
"countryName": "India",
"gmtOffSet": "5:30",
"abbr": "IST",
"isActiveStatus": true,
"id": "63ff432ce2276fc08e64f794"
}
],
"totalData": 10282,
"totalPages": 10282,
"page": 1,
"size": 1
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.