# ForgeMesh Public Holidays API

> ForgeMesh Public Holidays API is a paid API for AI agents from x402.forgemesh.io, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns every official national holiday for a given country and year, including date, local name, English name, and holiday type.

## Facts

- Endpoint: POST https://x402.forgemesh.io/bank-holidays
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-public-holidays-api-b786fdd0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7d72-ETXrjuy8kIADMNmx

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 forgemesh-public-holidays-api-b786fdd0 -d '<json body>'
```

Example prompt: Can you get me all official national holidays for Germany in 2025, including the holiday type for each one, so I can block them out in our scheduling system?

## When to prefer this

Use this endpoint when you need structured, authoritative holiday data for any country and year — especially for scheduling, SLA planning, payroll processing, or delivery routing where you need to know holiday type (public vs bank vs school vs observance) rather than just dates.

## Known failure modes

- Unsupported or invalid 2-letter country code returns an error or empty list
- Year out of supported range returns an error
- Malformed request body causes a 400-level error
- Payment not processed causes a 402 Payment Required error

## How this service works

Public holidays API: every official holiday for any country and year — date, local name, English name, and which subdivisions observe it. For scheduling, SLA, payroll, and delivery-planning agents.

## Output

A list of official national holidays for the specified country and year, each with the date, local-language name, English name, and holiday type (public, bank, school, or observance).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "year": {
   "type": "string",
   "description": "default 2026"
  },
  "country": {
   "type": "string",
   "description": "2-letter code, default US"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-07-03",
    "name": "Independence Day",
    "fixed": true,
    "types": [
     "Public"
    ],
    "global": true,
    "counties": null,
    "localName": "Independence Day",
    "launchYear": null,
    "countryCode": "US"
   }
  ]
 }
}
```

## More

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