TimeLogic API

TimeLogic API — Direct Customer Access

Direct API contract for client integrations. It documents authentication, endpoint parameters, response shapes, public signing keys, and signed JSON controls.…

Developer tools#development

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Direct API contract for client integrations. It documents authentication, endpoint parameters, response shapes, public signing keys, and signed JSON controls.

Authentication:

  • direct access supports Authorization: Bearer , X-API-Key, and api_key query credentials

Behavioral notes:

  • all documented operations are GET
  • only one selector family may be used at a time
  • current and convert support bulk only through one comma-separated tz, ip, or offset selector
  • bulk selectors accept at most 10 values, and every request URL is limited to 8192 characters
  • add, diff, calendar, dst, elapsed, timezone, and clock are single-target routes
  • credentials are extracted in Authorization, X-API-Key, then api_key query order; conflicting values are rejected
  • sign is available on supported JSON routes and is not supported on /v1/time/clock

Endpoints 10

Utility

  • GETPublic signing key set/.well-known/time-api-public-keyUnauthenticated JWKS endpoint for verifying signed JSON responses. The public gateway proxies this route to the dedicated time-signing worker. For…

Time

  • GETGet the current time for a target/v1/time/currentReturns 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…
  • GETConvert a timestamp into a target timezone or offset/v1/time/convertConverts one required input timestamp into a single target or a bulk array. Input timestamp forms: unix=1711300000 unix_ms=1711300000000…
  • GETDifference between two instants/v1/time/diff?from=string&to=stringComputes the duration between from and to. Required query fields: from and to only. Do not send every optional companion field. For each side, choose one…
  • GETAdd modifiers to a timestamp/v1/time/addAdds seconds, minutes, hours, and days to an optional base timestamp. Input timestamp forms: unix=1711300000 unix_ms=1711300000000 iso=2026-04-16T09:00:00Z…
  • GETCalendar projection for a target instant/v1/time/calendarReturns calendar fields for an optional timestamp and target. Input timestamp forms: unix=1711300000 unix_ms=1711300000000 iso=2026-04-16T09:00:00Z…
  • GETDaylight-saving status for a target/v1/time/dstReturns daylight-saving status for the selected target. Target selector rules: Use at most one selector family: tz, ip, lat + lon, offset, or auto_tz=true. If…
  • GETRender a live HTML clock/v1/time/clock?style=analog-stationReturns an embeddable HTML clock fragment. Input timestamp forms: unix=1711300000 unix_ms=1711300000000 iso=2026-04-16T09:00:00Z…
  • GETTime elapsed since or remaining until a reference instant/v1/time/elapsedComputes elapsed or remaining duration relative to one required reference timestamp. Reference timestamp forms: unix=1711300000 unix_ms=1711300000000…
  • GETResolve timezone information for a target/v1/timezoneResolves timezone metadata for a single target. Target selector rules: Use exactly one selector family: tz, ip, lat + lon, offset, or auto_tz=true. Bulk is…

API details

Base URL
https://{host}
Authentication
A bearer token in the Authorization header
An API key in the X-API-Key header
An API key in the api_key query parameter
Operations
10 operations on 10 pathsGET 10
Main resources
Time 9Utility 1
Response formats
application/json text/html
Description format
OpenAPI 3.0.3, API version 1.0.0

How to test the TimeLogic API — Direct Customer Access in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the TimeLogic API — Direct Customer Access collection, without the publisher's secrets.
  3. Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Public signing key set” (GET /.well-known/time-api-public-key), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the TimeLogic API — Direct Customer Access?

Direct API contract for client integrations. It documents authentication, endpoint parameters, response shapes, public signing keys, and signed JSON controls.… It is listed under Developer tools and has 10 endpoints.

Who publishes the TimeLogic API — Direct Customer Access?

It is listed from TimeLogic API's public API description (an OpenAPI document), not published by TimeLogic API on Swastik Codes. Anyone who controls timelogicapi.com can claim the profile by adding a DNS TXT record.

What is the base URL of the TimeLogic API — Direct Customer Access?

Requests go to https://{host}. Endpoint paths are added to this base URL.

How do I authenticate with the TimeLogic API — Direct Customer Access?

It accepts 3 methods: A bearer token in the Authorization header; an API key in the X-API-Key header; an API key in the api_key query parameter.

How many endpoints does the TimeLogic API — Direct Customer Access have?

10 operations on 10 paths (10 GET). The largest groups are Time, Utility.

Is forking the TimeLogic API — Direct Customer Access free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.