Skip to content
    direct API / v1

    A World Time API for software that has to be right.

    TimeLogic API is a fast, signed World Time API for current time, timezone resolution, DST, conversion, and date math from the edge. One key. Signed JSON when you need proof.

    No card for Free Direct bearer auth 400+ edge locations
    Install with npm
    npm install @timelogic/direct-apiSee SDKs
    GET /v1/time/current?tz=America/New_York200 OK
    Example response
    Authorization: Bearer <your key>
    Accept: application/json
    {
      "unix": 1786054569,
      "unix_ms": 1786054569741,
      "utc": "2026-08-06T22:16:09Z",
      "iso_local": "2026-08-06T18:16:09-04:00",
      "rfc2822": "Thu, 06 Aug 2026 18:16:09 -0400",
      "human": "August 6, 2026, 6:16 PM America/New_York",
      "day_number": 5,
      "day_short": "Thu",
      "day_full": "Thursday",
      "timezone": "America/New_York"
    }
    https://api.timelogicapi.com
    <50ms

    typical edge response

    Signed

    verifiable JSON option

    IANA

    timezone data model

    Bearer

    simple direct auth

    quick start

    A real request, then the response shape.

    The tabs are executable GET requests. The response example uses the same fields returned by the API; current-time values change on every call.

    curl "https://api.timelogicapi.com/v1/time/current?tz=America/New_York" \
      -H "Authorization: Bearer $TIMELOGIC_API_KEY"
    Example 200 response
    {
      "unix": 1786054569,
      "unix_ms": 1786054569741,
      "utc": "2026-08-06T22:16:09Z",
      "iso_local": "2026-08-06T18:16:09-04:00",
      "rfc2822": "Thu, 06 Aug 2026 18:16:09 -0400",
      "human": "August 6, 2026, 6:16 PM America/New_York",
      "day_number": 5,
      "day_short": "Thu",
      "day_full": "Thursday",
      "timezone": "America/New_York"
    }
    TypeScript example

    Make a World Time API request from npm.

    Install the package, keep your key in an environment variable, and call the same endpoints documented in the API reference.

    Browse SDKs and documentation
    npm install @timelogic/direct-api
    
    import { TimeApi, createConfiguration } from '@timelogic/direct-api';
    
    const api = new TimeApi(createConfiguration({
      apiKey: process.env.TIMELOGIC_API_KEY!,
    }));
    
    const now = await api.getCurrentTime({ tz: 'America/New_York' });
    why direct

    The useful parts are infrastructure.

    Read integration notes

    Edge latency

    Route from the nearest Cloudflare location instead of adding another central hop.

    Response integrity

    A cryptographic signature protects the response body from tampering and helps confirm it came from TimeLogic. Verify it locally against the public signing key.

    Timezone depth

    IANA zones, DST transitions, coordinates, IP selectors, and business calendars.

    Key control

    Create, rotate, and revoke direct keys from one account surface.

    two transports

    Direct is the default. RapidAPI stays available.

    Use the direct base URL for first-party keys, predictable auth, and account-level control. Existing RapidAPI consumers keep their marketplace transport and examples.

    DIRECT / PRIMARY

    api.timelogicapi.com

    Bearer key · direct quotas · SDK default

    Get a key
    RAPIDAPI / COMPATIBLE

    Marketplace transport

    RapidAPI headers · existing subscription · preserved docs

    Open RapidAPI guide
    pricing

    Start free. Scale when traffic is real.

    View plans

    Free

    A real key for prototypes, side projects, and evaluation.

    Freeforever

    10,000 requests / month

    Starter

    A small production allowance with every direct endpoint included.

    $5/month

    250,000 requests / month

    Growth

    Room for growing applications and higher-volume integrations.

    $15/month

    1,000,000 requests / month

    Scale

    A large fixed monthly allowance for serious production traffic.

    $149/month

    20,000,000 requests / month

    FAQ

    Common questions about the World Time API.

    Get an API key and make the first request before the coffee gets cold.

    A verified email is all the Free plan needs. Your account console keeps the key lifecycle explicit.

    Create a free key