82trust / 100

Convert Time

by api.aventtech.com in Documents & files

x402 APIPassing, checked 1 h ago

Timezone conversion between IANA zones: convert a datetime (or now) from one zone to another, returning UTC instant and local wall times.

GET https://api.aventtech.com/convert/time

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
273 ms typical, 432 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 GET "https://api.aventtech.com/convert/time?dt=2026-07-23T14%3A00%3A00&from=Europe%2FAthens&to=America%2FNew_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%2Fapi.aventtech.com%2Fconvert%2Ftime
const res = await pay("https://api.aventtech.com/convert/time?dt=2026-07-23T14%3A00%3A00&from=Europe%2FAthens&to=America%2FNew_York");
console.log(await res.json());

Example input

{
  "dt": "2026-07-23T14:00:00",
  "from": "Europe/Athens",
  "to": "America/New_York"
}

Example output

{
  "instantUtc": "2026-07-23T11:00:00.000Z",
  "to": {
    "local": "2026-07-23 07:00:00 EDT",
    "zone": "America/New_York"
  }
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
1 h agoPassed402617 ms$0.01
5 h agoPassed402163 ms$0.01
9 h agoPassed402274 ms$0.01
12 h agoPassed402432 ms$0.01
17 h agoPassed402273 ms$0.01
20 h agoPassed402264 ms$0.01
23 h agoPassed402139 ms$0.01
28 h agoPassed402306 ms$0.01