81trust / 100

Business Time

by ChronoSure in Weather & location

x402 APIPassing, checked 1 h ago

Resolve a local time to an exact UTC instant with explicit DST ambiguity handling, business-day arithmetic, public-holiday status, and working-hour overlap across timezones. Detects ambiguous and nonexistent local times instead of silently shifting them. Declares its IANA tzdb release and per-jurisdiction holiday provenance.

POST https://chrono.schemasure.com/v1/business-time

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
395 ms typical, 395 ms slowest 5%
Last check
1 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://chrono.schemasure.com/v1/business-time" \
  -H "content-type: application/json" \
  -d '{"ambiguity_policy":"reject","local_time":"2026-11-01T01:30:00","timezone":"America/New_York"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fchrono.schemasure.com%2Fv1%2Fbusiness-time
const res = await pay("https://chrono.schemasure.com/v1/business-time", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"ambiguity_policy":"reject","local_time":"2026-11-01T01:30:00","timezone":"America/New_York"}),
});
console.log(await res.json());

Example input

{
  "ambiguity_policy": "reject",
  "local_time": "2026-11-01T01:30:00",
  "timezone": "America/New_York"
}

Example output

{
  "confidence": 1,
  "data_versions": {
    "holidays": "2026.08.03",
    "temporal_source": "polyfill",
    "tzdb": "2026c"
  },
  "evidence": [],
  "ok": true,
  "policy_version": "2026-08-03.1",
  "request_hash": "sha256:7c1e...b904",
  "result": {
    "ambiguity": "unique",
    "business_days_result": null,
    "candidates": [],
    "comparisons": [
      {
        "local_time": "2026-06-15T14:30:00",
        "offset": "+01:00",
        "timezone": "Europe/London"
      }
    ],
    "coverage": {
      "calendar": "US-NY",
      "provenance": "US OPM (public domain)",
      "years": [
        2026,
        2027
      ]
    },
    "is_holiday": false,
    "is_weekend": false,
    "is_working_day": true,
    "next_valid_working_instant": "2026-06-15T13:30:00Z",
    "offset": "-04:00",
    "overlap": {
      "has_overlap": true,
      "windows": [
        {
          "end": "2026-06-15T16:00:00Z",
          "start": "2026-06-15T13:00:00Z"
        }
      ]
    },
    "timezone": "America/New_York",
    "utc_instant": "2026-06-15T13:30:00Z"
  },
  "risk_codes": [],
  "verdict": "resolved",
  "warnings": []
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402456 ms$0.02
6 h agoPassed402395 ms$0.02