# Timezone by Coordinates

> Timezone by Coordinates is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-11).

Returns the IANA time zone, current local time, UTC offset, DST flag, and abbreviation for any latitude/longitude on Earth, computed locally.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/timezone-by-coordinates?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/timezone-by-coordinates-e38bd2a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g-RPAgx1JpFxFvSZ1FWQi

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-by-coordinates-e38bd2a0 -d '<json body>'
```

Example prompt: What's the current local time and timezone at coordinates 35.68 latitude, 139.69 longitude? I also need to know the UTC offset and whether daylight saving time is active there.

## When to prefer this

Prefer this endpoint when you need a fast, single-call resolution of IANA timezone and current local time from raw GPS coordinates, especially when you need the DST flag and UTC offset in one response without relying on a third-party geolocation database or a Google Maps API key. Ideal for enriching sensor data, scheduling across time zones, or validating user location timezone without round-trips to multiple services.

## Known failure modes

- Missing lat or lon fields returns a validation error
- Coordinates outside valid ranges (lat > 90 or lat < -90, lon > 180 or lon < -180) may return an error or unexpected result
- Coordinates over open ocean far from any land may return an ambiguous or null timezone
- Network timeouts if the service is temporarily unavailable

## How this service works

IANA time zone of any point on Earth from its coordinates, computed locally, with the current local time there, UTC offset and daylight saving flag.

## Output

A JSON object containing the input coordinates (lat, lon), the IANA timezone zone name (e.g. 'Asia/Tokyo'), the current local time as an ISO 8601 timestamp, the UTC offset as a string (e.g. '+09:00'), the timezone abbreviation (e.g. 'JST'), and a boolean indicating whether daylight saving time is currently in effect.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "lat": {
       "type": [
        "number",
        "null"
       ]
      },
      "lon": {
       "type": [
        "number",
        "null"
       ]
      },
      "zone": {
       "type": [
        "string",
        "null"
       ]
      },
      "local_time": {
       "type": [
        "string",
        "null"
       ]
      },
      "utc_offset": {
       "type": [
        "string",
        "null"
       ]
      },
      "abbreviation": {
       "type": [
        "string",
        "null"
       ]
      },
      "daylight_saving": {
       "type": [
        "boolean",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 35.68,
  "lon": 139.69,
  "zone": "Asia/Tokyo",
  "local_time": "2026-10-03T04:47:48+09:00",
  "utc_offset": "+09:00",
  "abbreviation": "JST",
  "daylight_saving": false
 }
}
```

## More

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