77trust / 100

Convert

by Convert timezone in Documents & files

x402 APIPassing, checked 3 h ago

Convert an ISO datetime into another timezone, with offset, weekday and Unix time.

POST https://datetime.openverbs.com/v1/convert

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
579 ms typical, 652 ms slowest 5%
Last check
3 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://datetime.openverbs.com/v1/convert' \
  -H 'content-type: application/json' \
  --data-raw '{"datetime":"2024-01-15T10:30:00Z","to":"Europe/Madrid"}'
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%2Fdatetime.openverbs.com%2Fv1%2Fconvert
const res = await pay("https://datetime.openverbs.com/v1/convert", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: "{\"datetime\":\"2024-01-15T10:30:00Z\",\"to\":\"Europe/Madrid\"}",
});
console.log(await res.json());

Example input

{
  "datetime": "2024-01-15T10:30:00Z",
  "to": "Europe/Madrid"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed402652 ms$0.002
7 h agoPassed402568 ms$0.002
10 h agoPassed402554 ms$0.002
14 h agoPassed402652 ms$0.002
18 h agoPassed402554 ms$0.002
22 h agoPassed402582 ms$0.002
25 h agoPassed402579 ms$0.002
29 h agoPassed402604 ms$0.002
32 h agoPassed402592 ms$0.002
36 h agoPassed402633 ms$0.002
40 h agoPassed402564 ms$0.002
43 h agoPassed402609 ms$0.002
47 h agoPassed402679 ms$0.002
2 days agoPassed402578 ms$0.002
2 days agoPassed402559 ms$0.002