# StatePulse Calendar Holidays Lookup

> StatePulse Calendar Holidays Lookup is a paid API for AI agents from statepulse-api.hahavoid0.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns public holidays for a given country and year with date, name, and confidence score

## Facts

- Endpoint: POST https://statepulse-api.hahavoid0.workers.dev/calendar/holidays
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/statepulse-calendar-holidays-lookup-2cec0e0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GAIcdb46lafCY_laXQk2y

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 statepulse-calendar-holidays-lookup-2cec0e0e -d '<json body>'
```

Example prompt: Can you get me the full list of public holidays in Germany for 2026 so I can block them out in our scheduling system?

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call holiday lookup without account setup, especially in agentic workflows that already use x402/USDC micropayments on Base. Ideal for scheduling agents, compliance checks, or calendar enrichment where a quick per-country holiday list is sufficient.

## Known failure modes

- Unsupported country returns supported:false with empty holidays array
- Invalid year or country code may return a 400 error or low-confidence result
- Payment failure via x402/USDC on Base results in 402 response blocking the request
- Network timeout if Cloudflare Worker is under load

## How this service works

Retrieves local bank and public holidays across 100+ countries to verify business days.

## Output

Returns a JSON object containing an array of holiday entries each with a date (YYYY-MM-DD) and holiday name, plus a 'supported' boolean indicating if the country is covered and a 'confidence' field (e.g. 'high') indicating data reliability.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "holidays": [
    {
     "date": "2026-01-01",
     "name": "New Year's Day"
    }
   ]
  },
  "supported": true,
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/statepulse-calendar-holidays-lookup-2cec0e0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from statepulse-api.hahavoid0.workers.dev](https://www.zero.xyz/host/statepulse-api.hahavoid0.workers.dev/llms.txt)
