# Timezone Lookup by GPS Coordinates

> Timezone Lookup by GPS Coordinates is a paid API for AI agents from api.webbersites.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-13).

Returns IANA timezone name, UTC offset, abbreviation, DST status, and local time for any latitude/longitude coordinate pair.

## Facts

- Endpoint: GET https://api.webbersites.com/api/timezone
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/timezone-lookup-by-gps-coordinates-f19dc707
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RDhv6JrI9Q_MIxK6OjmWX

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability timezone-lookup-by-gps-coordinates-f19dc707
```

Example prompt: What timezone and current local time is it at latitude 48.8566, longitude 2.3522 — give me the IANA zone name, UTC offset, and whether DST is currently in effect.

## When to prefer this

Prefer this endpoint when you have GPS coordinates (lat/lng) and need timezone data, especially for scheduling, displaying local times, or analytics pipelines. It is fast and offline-approximate, making it suitable for real-time agent workflows. Pairs naturally with the sibling IP geolocation endpoint when you have an IP address instead of coordinates. Choose this over a full geocoding service when timezone is the only needed output.

## Known failure modes

- Missing lat or lng query parameter — returns a 4xx error indicating required fields
- Latitude out of range (-90 to 90) or longitude out of range (-180 to 180) — validation error
- Coordinates in open ocean or uninhabited area may return approximate or null timezone
- Payment not provided or insufficient — x402 payment required error
- Service unavailable — 5xx error if upstream lookup fails

## How this service works

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.

## Output

Returns a JSON object containing: IANA timezone string (e.g. 'America/New_York'), current local time as a string, UTC offset as a formatted string (e.g. '+05:30'), timezone abbreviation (e.g. 'EST'), a boolean indicating whether DST is currently in effect, and the UTC offset expressed in minutes as a number.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lng"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude, -90 to 90"
      },
      "lng": {
       "type": "number",
       "description": "Longitude, -180 to 180"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "timezone": {
       "type": "string"
      },
      "local_time": {
       "type": "string"
      },
      "utc_offset": {
       "type": "string"
      },
      "abbreviation": {
       "type": "string"
      },
      "dst_in_effect": {
       "type": "boolean"
      },
      "utc_offset_minutes": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 40.7128,
  "lng": -74.006,
  "timezone": "America/New_York",
  "local_time": "Jun 30, 2026, 13:05:33",
  "utc_offset": "-05:00",
  "abbreviation": "EST",
  "dst_in_effect": false,
  "utc_offset_minutes": -300
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/timezone-lookup-by-gps-coordinates-f19dc707/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.webbersites.com](https://www.zero.xyz/host/api.webbersites.com/llms.txt)
