# PowaHub Public Holidays

> PowaHub Public Holidays is a paid API for AI agents from api.powahub.ai, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Returns a dated list of public holidays for a given country and year, optionally filtered by holiday type.

## Facts

- Endpoint: GET https://api.powahub.ai/CertainData/holidays/:iso2/:year?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/powahub-public-holidays-190b9d06
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LfvHT_v0XKfXsyyl0-YVB

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 powahub-public-holidays-190b9d06
```

Example prompt: Can you give me the full list of public holidays in Germany for 2026? Just the official public ones, not bank holidays.

## When to prefer this

Choose this endpoint when you need a machine-readable, dated list of official public or bank holidays for a specific country and year — especially for scheduling, payroll, travel planning, or calendar integrations. It is ideal when you have the country ISO-2 code and year readily available and need structured output per holiday.

## Known failure modes

- Invalid or unsupported ISO-2 country code returns an error or empty list
- Year outside supported range may return no results or an error
- Unknown holiday type filter value may return empty results
- Network or upstream data unavailability returns a service error

## How this service works

Dated public-holiday list for a country and year.

## Output

A structured list of public holidays for the specified country and year, each entry including the holiday date, name, and type (e.g. public or bank). Optionally filtered to a specific holiday type if the query parameter is provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "iso2",
      "year"
     ],
     "properties": {
      "iso2": {
       "type": "string",
       "description": "Country ISO-2 code, e.g. GB."
      },
      "year": {
       "type": "string",
       "description": "Four-digit year, e.g. 2026."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "type": {
       "type": "string",
       "description": "Optional. Filter by holiday type, e.g. public or bank. Omit for all."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/powahub-public-holidays-190b9d06/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.powahub.ai](https://www.zero.xyz/host/api.powahub.ai/llms.txt)
