Globendar
Developers

Globendar API

A free, read-only JSON API for world time, time-zone conversion, sun times and geo distance — the same engine that powers this site.

Base URL
/api/v1
Auth
Open by default. When keys are enabled, send X-API-Key.
Format
JSON · CORS enabled · rate-limited per client.

Machine-readable spec: /api/v1/openapi.json · All responses include X-RateLimit-* headers.

GET /api/v1/time

Current (or specified) local time in a place.

place required IANA zone, capital city, or country
datetime optional ISO instant to evaluate (defaults to now)
curl https://globendar.com/api/v1/time?place=Asia/Tokyo
GET /api/v1/convert

Convert a wall-clock time from one place to many.

from required source place
to required comma-separated target places
datetime optional wall time in `from` (e.g. 2026-06-27T15:00)
curl https://globendar.com/api/v1/convert?from=London&to=Asia/Tokyo,America/New_York
GET /api/v1/timezone

Time-zone info for a place, or the nearest capital to a coordinate.

place either zone / city / country
lat,lng either coordinate (approximate → nearest capital)
curl https://globendar.com/api/v1/timezone?lat=48.85&lng=2.35
GET /api/v1/sun

Sunrise, sunset, solar noon, day length & subsolar point.

place either zone / city / country
lat,lng either coordinate
tz optional zone for local times when using lat/lng
date optional YYYY-MM-DD (defaults to today)
curl https://globendar.com/api/v1/sun?place=Oslo
GET /api/v1/distance

Great-circle distance between two points.

from,to either place names
from_lat…to_lng either raw coordinates
curl https://globendar.com/api/v1/distance?from=London&to=Tokyo
GET /api/v1/capitals

The capital-city reference dataset.

search optional filter by city/country/ISO2
limit optional max results
curl https://globendar.com/api/v1/capitals?search=tok