# Timezone Lookup by Coordinate

> Timezone Lookup by Coordinate is a paid API for AI agents from api.x402node.dev, paid per call via x402, $0.0022/call, status unknown (last checked 2026-09-14).

Returns IANA timezone name, current local time, UTC offset, and DST status for a given latitude/longitude coordinate pair.

## Facts

- Endpoint: GET https://api.x402node.dev/maps/timezone
- Price: $0.0022/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-x402node-dev-4adae4df
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Z77FL9Bgg9bJZWqjLgOii

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 api-x402node-dev-4adae4df
```

Example prompt: What timezone is at coordinates 37.78 latitude, -122.42 longitude — I need the IANA name, current local time, UTC offset, and whether DST is active right now.

## When to prefer this

Use this endpoint when you need authoritative IANA timezone data for a specific geographic coordinate, especially for AI agent workflows that need to schedule events or convert times across regions without maintaining a local timezone database. It is ideal when you have a lat/lng and need both the timezone name and real-time local clock info in a single call.

## Known failure modes

- Invalid or out-of-range latitude/longitude values return an error
- Coordinates over open ocean or uninhabited areas may return unexpected or null timezone data
- Upstream timeapi.io outage causes request failure
- Missing lat/lng parameters result in a 400-level error
- Payment not included or insufficient USDC causes x402 payment required error

## How this service works

Timezone lookup for a coordinate via timeapi.io. Returns IANA timezone, current local time, UTC offset, DST status. Use ?lat=37.78 and lng=-122.42. Built for AI agents scheduling across regions. Accepts payment on Base or Solana — either network works.

## Output

Returns an object containing the IANA timezone identifier (e.g. 'America/Los_Angeles'), the current local time at that location, the UTC offset in hours, and a boolean or flag indicating whether daylight saving time is currently in effect.

## Example request

```json
{
 "lat": 37.7749,
 "lng": -122.4194
}
```

## 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",
     "properties": {
      "lat": {
       "type": "string",
       "description": "Lat (optional)"
      },
      "lng": {
       "type": "string",
       "description": "Lng (optional)"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-x402node-dev-4adae4df/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.x402node.dev](https://www.zero.xyz/host/api.x402node.dev/llms.txt)
