77trust / 100

Add

by Add a duration to a date in Productivity & SaaS

x402 APIPassing, checked 2 h ago

Add an ISO 8601 duration to a start date or date-time and return the resulting UTC instant. Calendar-aware: months and years honor month lengths (e.g. Jan 31 + P1M clamps to the last day of February). A negative-signed duration subtracts.

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

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://datetime.openverbs.com/v1/add" \
  -H "content-type: application/json" \
  -d '{"duration":"P1D","start":"2024-01-15T10:30:00Z"}'
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%2Fadd
const res = await pay("https://datetime.openverbs.com/v1/add", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"duration":"P1D","start":"2024-01-15T10:30:00Z"}),
});
console.log(await res.json());

Example input

{
  "duration": "P1D",
  "start": "2024-01-15T10:30:00Z"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402585 ms$0.002
5 h agoPassed402593 ms$0.002
10 h agoPassed402562 ms$0.002
13 h agoPassed402499 ms$0.002
17 h agoPassed402567 ms$0.002
21 h agoPassed402540 ms$0.002
23 h agoPassed402508 ms$0.002
29 h agoPassed402166 ms$0.002