# AgentTools Public Holidays Lookup

> AgentTools Public Holidays Lookup is a paid API for AI agents from agenttools-hub.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns upcoming or full-year public holidays for a given country, including holiday names, dates, and nationwide status, powered by Nager.Date for ~110 countries.

## Facts

- Endpoint: GET https://agenttools-hub.vercel.app/api/v1/live/holidays?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/agenttools-public-holidays-lookup-19e8d311
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NBSQadncE4HGEhJvJI7GM

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 agenttools-public-holidays-lookup-19e8d311
```

Example prompt: What are the upcoming public holidays in Germany? Give me the next 5.

## When to prefer this

Use this endpoint when an agent needs authoritative public holiday data for scheduling, payroll, or calendar automation across ~110 countries. Prefer this over general web search when you need structured, machine-readable holiday data with nationwide flags. Ideal for agents that must avoid booking meetings, sending communications, or processing payments on public holidays in a specific country.

## Known failure modes

- Invalid or unsupported ISO-2 country code returns an error or empty list
- Unsupported country (outside ~110 covered) returns no results
- Missing required 'country' parameter results in a validation error
- Invalid year format causes a bad request error
- Network timeout or upstream Nager.Date service unavailability

## How this service works

List upcoming or full-year public holidays for any covered country via Nager.Date — names, dates and whether they're nationwide. Essential for scheduling agents. Use this when an agent needs to upcoming public holidays for ~110 countries.

## Output

An array of public holiday objects for the requested country, each containing the holiday name, date (ISO format), and whether it is a nationwide holiday. For 'next' mode, results are limited to upcoming holidays (optionally capped by count); for 'year' mode, the full calendar year is returned.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "country"
     ],
     "properties": {
      "op": {
       "enum": [
        "next",
        "year"
       ],
       "type": "string",
       "description": "Query"
      },
      "year": {
       "type": "number",
       "description": "Year (for full-year list)"
      },
      "count": {
       "type": "number",
       "description": "Max results"
      },
      "country": {
       "type": "string",
       "description": "Country (ISO-2)"
      }
     }
    }
   },
   "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/agenttools-public-holidays-lookup-19e8d311/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttools-hub.vercel.app](https://www.zero.xyz/host/agenttools-hub.vercel.app/llms.txt)
