Skip to content
onelayer.
All tools

Tool detail

2s

Resolves a latitude/longitude coordinate to its IANA timezone, current UTC offset, local time, and DST status.

Categories: Maps places

Use when

  • find the timezone for a coordinate
  • convert a timestamp to local wall time at a location
  • check whether a location currently observes daylight saving

Not for

  • not for resolving a city or place name; requires lat/lon input

Inputs

GET query params: lat (number -90..90, required), lon (number -180..180, required), at (ISO 8601 instant, optional)

Admitted input schema

{
  "type": "object",
  "properties": {
    "at": {
      "type": "string",
      "minLength": 0,
      "maxLength": 4096,
      "description": "Optional ISO 8601 instant. Defaults to the current server time."
    },
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90,
      "description": "Latitude in degrees, -90..90."
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180,
      "description": "Longitude in degrees, -180..180."
    }
  },
  "required": [
    "lat",
    "lon"
  ],
  "additionalProperties": false
}

Endpoint

Method
GET
URL
https://2s.io/api/timezone/lookup

Payment

Protocol
x402
Listed price
0.0025 USDC per call on Base
Payment method
exact
Network
eip155:8453
Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Listed terms are catalog metadata. The caller supplies inputs and calls the tool outside Onelayer. If payment is required, the caller uses a compatible wallet to pay.

Source

Record
GET https://2s.io/api/timezone/lookup
Retrieved
2026-09-30T20:37:07.382Z
Catalog file SHA-256
6837ccddf886f0007cf3727ea9d27faaa5047b51b4f425345c554ce1c271a524
Catalog built
2026-09-30T22:31:58.034Z