75trust / 100

Timestamp Timezone Convert Execute

by tradepilotusa.com in Weather & location

x402 APIPassing, checked 2 h ago

Convert an ISO timestamp with an explicit offset to UTC, Unix milliseconds and an IANA timezone display. Rejects ambiguous offset-free local times, invalid dates and leap seconds. Display uses runtime timezone data; years 1900–9999 only.

POST https://www.tradepilotusa.com/api/agent-commerce/v1/services/timestamp_timezone_convert/execute

Last 30 days

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

How to call it

# bash or zsh: see the payment challenge (nothing is charged)
curl -g -i -X POST 'https://www.tradepilotusa.com/api/agent-commerce/v1/services/timestamp_timezone_convert/execute' \
  -H 'content-type: application/json' \
  --data-raw '{"iso":"2026-01-15T12:00:00Z","time_zone":"America/Chicago"}'
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%2Fwww.tradepilotusa.com%2Fapi%2Fagent-commerce%2Fv1%2Fservices%2Ftimestamp_timezone_convert%2Fexecute
const res = await pay("https://www.tradepilotusa.com/api/agent-commerce/v1/services/timestamp_timezone_convert/execute", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"iso\":\"2026-01-15T12:00:00Z\",\"time_zone\":\"America/Chicago\"}",
});
console.log(await res.json());

Example input

{
  "iso": "2026-01-15T12:00:00Z",
  "time_zone": "America/Chicago"
}

Example output

{
  "provenance": {
    "execution": "deterministic_local",
    "model_used": false,
    "network_request_performed": false
  },
  "request_id": "example_timestamp_timezone_convert",
  "result": {
    "assumptions": "Input offset defines the instant; display uses runtime IANA/ICU timezone data; leap seconds unsupported",
    "local_display": "15/01/2026, 06:00:00 GMT-06:00",
    "time_zone": "America/Chicago",
    "unix_milliseconds": 1768478400000,
    "utc": "2026-01-15T12:00:00.000Z"
  },
  "utility": "timestamp_timezone_convert"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402740 ms$0.01
6 h agoPassed402995 ms$0.01
10 h agoPassed402659 ms$0.01
14 h agoPassed402916 ms$0.01
18 h agoPassed402785 ms$0.01
21 h agoPassed402642 ms$0.01
24 h agoPassed402682 ms$0.01
28 h agoPassed402691 ms$0.01
31 h agoPassed402709 ms$0.01
35 h agoPassed402772 ms$0.01
38 h agoPassed4021.0 s$0.01
43 h agoPassed402621 ms$0.01
46 h agoPassed4021.1 s$0.01
2 days agoPassed402650 ms$0.01
2 days agoPassed402678 ms$0.01