---
title: "Timezone from GPS coordinates"
method: GET
path: "/api/timezone"
tags: ["Location"]
---

# Timezone from GPS coordinates

`GET /api/timezone`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/timezone`
- Auth: API key in header `X-PAYMENT`

Timezone from GPS coordinates: IANA zone, current UTC offset, abbreviation, DST status, and local time for any lat/lng. Fast offline lookup (approximate near borders). Pairs with the IP-geolocation endpoint for analytics and scheduling agents.

Price: $0.001 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `lat` number, required
- `lng` number, required

## Response `200`

Success

- object
  - `timezone` string
  - `utc_offset` string
  - `utc_offset_minutes` number
  - `abbreviation` string
  - `dst_in_effect` boolean
  - `local_time` string

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
