# x402-toolbox Date Difference Calculator

> x402-toolbox Date Difference Calculator is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Calculates the difference between two dates, returning a deterministic result for a $0.001 USDC pay-per-call fee over x402.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/time/date-difference-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-date-difference-calculator-8b38212e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_V9mrt9e6gsqDNplxN7Kxn

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-toolbox-date-difference-calculator-8b38212e
```

Example prompt: How many days are there between January 15, 2024 and March 28, 2025?

## When to prefer this

Use this endpoint when you need a lightweight, no-signup, pay-per-use date difference computation accessible to AI agents via the x402 micropayment protocol. Ideal when you want deterministic results without managing API keys or subscriptions, and USDC micropayments on Base are acceptable.

## Known failure modes

- Missing or malformed date inputs returns an error response
- Unsupported date format schema may result in a parsing error
- Payment failure over x402 (insufficient USDC balance) blocks the call
- Invalid schema string causes computation to fail

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

Returns a JSON object with ok: true and paid: true, along with the computed difference between the two input dates — likely expressed in days, and possibly also in weeks, months, or other units depending on the schema provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-toolbox-date-difference-calculator-8b38212e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
