Free Public API · Remote MCP · Calendar Feed

Developers & AI Agents

Every core time.io instrument — exact world time, NOAA solar geometry, Clock vs. Sun offset, solid-Earth tide, DST drift windows, and universal /at/ permalinks — is available free with CORS enabled and no API key required.

REST API (/api/v1)

Read-only JSON endpoints with Access-Control-Allow-Origin: *. Attribution to https://time.io is requested for public displays.

GET/api/v1/now
Try live

Exact UTC ISO, Unix epoch, local date/time/ISO, UTC offset, DST state, subsolar zenith, and sublunar coordinates. Accepts ?tz= or ?city=.

curl -s "https://time.io/api/v1/now?tz=America/Denver"
GET/api/v1/solar
Try live

Sunrise, sunset, civil twilight, solar noon, day length, Clock vs. Sun offset breakdown (longitude, DST, equation of time), and live solid-Earth tide (cm + trend). Accepts ?city=, ?tz=, or ?lat=&lon=&tz=&date=.

curl -s "https://time.io/api/v1/solar?city=Denver"
GET/api/v1/dst-gap
Try live

Check if two zones or cities are currently in a DST drift window and when the next shift occurs. Omit from/to for the global summary of drifting and upcoming pairs.

curl -s "https://time.io/api/v1/dst-gap?from=America/New_York&to=Europe/London"
GET/api/v1/convert
Try live

Convert an ISO 8601 instant or Unix epoch across up to 12 IANA zones and receive a universal https://time.io/at/... permalink and 1200×630 Earth terminator OG image URL.

curl -s "https://time.io/api/v1/convert?at=2026-12-15T1700Z&to=America/New_York,Europe/London,Asia/Tokyo&label=Launch"
GET/api/v1/places
Try live

Search GeoNames world cities (up to 25 results) with coordinates, IANA timezone, population, and canonical https://time.io/city/... URLs.

curl -s "https://time.io/api/v1/places?q=boulder&limit=5"

Remote MCP Server (/api/mcp)

Connect any MCP-compatible AI client (Claude, Cursor, Antigravity, or custom agents) over JSON-RPC 2.0 HTTP POST. Exposes five read-only tools: get_current_time, get_solar_and_tide, get_dst_gap, convert_moment, and search_places.

MCP Client Config

{
  "mcpServers": {
    "time-io": {
      "url": "https://time.io/api/mcp"
    }
  }
}

Direct JSON-RPC Test

curl -s https://time.io/api/mcp \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "get_solar_and_tide",
      "arguments": { "city": "Denver" }
    }
  }'

Zero-Code Distribution: DST .ics Feed & Embeds

  • Global DST Gap Feed: webcal://time.io/dst-gap.ics (or filter with ?pairs=new-york-to-london,los-angeles-to-london). View DST Gap hub →
  • Universal Moment Permalinks: https://time.io/at/2026-12-15T1700Z?label=Product%20Launch — opens in every viewer's local timezone with a live Earth terminator OG preview card. Build a moment link →
  • Embeddable Clock Faces: Five faces (braun, nocturne, swiss, terminator, minimal) for Notion, Miro, Genially, OBS, and websites. Open Embed Gallery →