---
title: "Get timezone by ZIP code"
method: GET
path: "/api/v1/meta/timezones/by-zip/{zip}"
tags: ["Account Information", "Public API"]
---

# Get timezone by ZIP code

`GET /api/v1/meta/timezones/by-zip/{zip}`

## Request

- Base URL: `https://companySubDomain.bamboohr.com`
- URL: `https://companySubDomain.bamboohr.com/api/v1/meta/timezones/by-zip/{zip}`
- Auth: OAuth 2
  - Authorization code: `/authorize.php`
  - Token URL: `/token.php` scopes: `meta`
- TypeScript: <https://skmtc.dev/bamboohr/apis/bamboohr-api/docs/api/v1/meta/timezones/by-zip/:zip/get.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the timezone for a US ZIP code. Returns the same timezone resource shape used by the list endpoint. Only US ZIP codes are supported; valid 5-digit ZIPs that are not present in our reference data return a 404.

OAuth Scopes: meta

## Path parameters

- `zip` string, required

## Response `200`

The timezone resource

- TimezoneResource: A timezone resource.
  - `id` string: The timezone ID.
  - `gmtOffset` string: The GMT offset label (e.g. "(GMT-07:00)").
  - `name` string: The display name of the timezone.
  - `utcName` string: The IANA/UTC timezone identifier.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: No timezone found for the provided ZIP code
- `422`: Invalid ZIP format
- `500`: Internal server error

---

[API](https://skmtc.dev/bamboohr/apis/bamboohr-api.md) - [All operations](https://skmtc.dev/bamboohr/apis/bamboohr-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bamboohr/apis/bamboohr-api/revisions/922fc15f43a7?raw)
