# x402-toolbox Next Weekday Occurrence

> x402-toolbox Next Weekday Occurrence 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).

Returns the next calendar date on which a specified weekday occurs, relative to today or a given reference date.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/time/next-weekday-occurrence?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-next-weekday-occurrence-18bc4840
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Lxe_1_KMEAp96U_hhoKgR

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-next-weekday-occurrence-18bc4840
```

Example prompt: When is the next Monday from today?

## When to prefer this

Use this endpoint when you need a deterministic, serverless, pay-per-call computation of the next occurrence of a specific weekday without any signup, API key management, or rate limits. Ideal for AI agents that need lightweight calendar arithmetic on-demand, especially in automated scheduling or reminder workflows.

## Known failure modes

- Invalid weekday name returns an error response
- Malformed reference date format causes a 400-like error
- Missing required schema/weekday parameter returns an error
- Payment failure via x402 results in 402 response and no computation

## 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 indicating success, payment confirmation, and the computed next calendar date for the requested weekday (e.g. {ok: true, paid: true, date: '2025-07-14', weekday: 'Monday'}).

## 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-next-weekday-occurrence-18bc4840/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)
