← Geografía y clima

Consulta de zona horaria

GET /geo/timezone

Look up timezone información by geographic coordenadas or timezone name. Returns the timezone identifier (e.g., Europe/Oslo), current local time, UTC offset, and DST status. Útil para programando aplicaciones that need to display times in a user's local timezone, meeting planners across time zones, and any feature that converts between UTC and local time.

Parametros

lat opcional

Latitude

lon opcional

Longitude

zone opcional

Timezone name

Ejemplos de solicitudes

Uso basico
curl "https://nordapi.ee/api/v1/geo/timezone?lat=59.9&lon=10.7"
Timezone for Oslo by coordinates
curl "https://nordapi.ee/api/v1/geo/timezone?lat=59.9&lon=10.7"
Timezone by name
curl "https://nordapi.ee/api/v1/geo/timezone?zone=America/New_York"
Timezone for Tokyo by coordinates
curl "https://nordapi.ee/api/v1/geo/timezone?lat=35.68&lon=139.69"

Respuesta en vivo

{
  "data": {
    "date": "04/05/2026",
    "datetime": "2026-04-05T19:22:05.0645072",
    "day_of_week": "Sunday",
    "time": "19:22",
    "timezone": "Europe/Oslo",
    "utc_offset": null
  },
  "success": true
}