# x402-toolbox Next Public Holiday

> x402-toolbox Next Public Holiday 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-09-29).

Returns the next upcoming public holiday for a given country or locale, paid per-call via x402 USDC micropayment.

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/time/next-public-holiday?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-toolbox-next-public-holiday-6c5f7880
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TJrXs3mt2yBLQPw-Jge1p

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-public-holiday-6c5f7880
```

Example prompt: What's the next public holiday in the United States?

## When to prefer this

Choose this endpoint when you need a quick, no-signup lookup of the next public holiday for a country or locale and are operating in an x402-enabled micropayment environment. Ideal for AI agents that need to factor public holidays into scheduling, travel planning, or business logic without managing API keys.

## Known failure modes

- Invalid or unsupported country/locale schema returns an error response
- Payment failure via x402 results in 402 status and no data returned
- Missing schema parameter may return a generic or default result
- No upcoming holiday found within a reasonable window may return empty or null holiday data

## 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 (ok: true, paid: true) along with the name, date, and relevant metadata for the next upcoming public holiday for the specified country or schema input.

## 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-public-holiday-6c5f7880/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)
