TimeLogic API | World Time, Timezones & Time Calculations
TimeLogic API provides world time lookup, timezone resolution, DST status, calendar projection, timestamp conversion, arithmetic, elapsed and diff calculations, signed JSON responses, and embeddable clock views. Key capabilities: - Resolve time using exactly one selector family per request: `tz`, `ip`, `lat` + `lon`, or `offset`. - Use bulk mode only on `/v1/time/current` and `/v1/time/convert`…
TimeLogic API | World Time, Timezones & Time Calculations endpoints
| Method | Endpoint | Description |
|---|---|---|
| Time | ||
| GET |
getCurrentTime /v1/time/current |
Returns current time data for a single target, or a bulk array when exactly one of `tz`, `ip`, or `offset` is supplied as a comma-separated list. Target selector rules: - Use at… |
| GET |
diffTime /v1/time/diff |
Computes the duration between `from` and `to`. `from` and `to` are embedded specifier strings. Accepted specifier forms: - `from=now` - `from=unix=1711300000` -… |
| GET |
addTime /v1/time/add |
Adds `seconds`, `minutes`, `hours`, and `days` to an optional base timestamp. Input timestamp forms: - `unix=1711300000` - `unix_ms=1711300000000` - `iso=2026-04-16T09:00:00Z` -… |
| GET |
convertTime /v1/time/convert |
Converts one required input timestamp into a single target or a bulk array. Input timestamp forms: - `unix=1711300000` - `unix_ms=1711300000000` - `iso=2026-04-16T09:00:00Z` -… |
| GET |
getDst /v1/time/dst |
Returns daylight-saving status for the selected target. Target selector rules: - Use at most one selector family: `tz`, `ip`, `lat` + `lon`, or `offset`. - If no selector is… |
| GET |
getCalendar /v1/time/calendar |
Returns calendar fields for an optional timestamp and target. Input timestamp forms: - `unix=1711300000` - `unix_ms=1711300000000` - `iso=2026-04-16T09:00:00Z` -… |
| GET |
getTimezone /v1/timezone |
Resolves timezone metadata for a single target. Target selector rules: - Use exactly one selector family: `tz`, `ip`, `lat` + `lon`, or `offset`. - Bulk is not supported on this… |
| GET |
getClock /v1/time/clock |
Returns an embeddable HTML clock fragment. Input timestamp forms: - `unix=1711300000` - `unix_ms=1711300000000` - `iso=2026-04-16T09:00:00Z` -… |
| GET |
getElapsed /v1/time/elapsed |
Computes elapsed or remaining duration relative to one required reference timestamp. Reference timestamp forms: - `unix=1711300000` - `unix_ms=1711300000000` -… |
| Utility | ||
| GET |
getPublicSigningKey /.well-known/time-api-public-key |
Unauthenticated JWKS endpoint for verifying signed JSON responses. This route publishes the active Ed25519 public key set used by the gateway for detached JSON response signing. |
TimeLogic API | World Time, Timezones & Time Calculations pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | — |
|
| PRO | $4.25 / month | 100 / second |
|
| ULTRA Recommended | $7.5 / month | 1000 / second |
|
| MEGA | $45 / month | — |
|