# Aayat AI UK Bank Holidays

> Aayat AI UK Bank Holidays is a paid API for AI agents from aayatai.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-29).

Checks UK bank holidays and working days for England & Wales, Scotland, or Northern Ireland using official GOV.UK data

## Facts

- Endpoint: GET https://aayatai.com/uk/bank-holidays?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aayat-ai-uk-bank-holidays-c889a1bc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pr2yb-37cn6EhuZdRLhG0

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 aayat-ai-uk-bank-holidays-c889a1bc
```

Example prompt: Is 26 December 2025 a working day in England and Wales, and what are the next 5 bank holidays after that date?

## When to prefer this

Use this endpoint when you need authoritative UK bank holiday data sourced directly from GOV.UK for any of England & Wales, Scotland, or Northern Ireland. Ideal for SLA deadline calculations, delivery estimates, contract milestone counting, or any agent workflow that must respect UK public holidays. Prefer this over generic calendar APIs when UK-specific official holidays and working-day arithmetic in a single call are needed.

## Known failure modes

- Missing required date format — date must be YYYY-MM-DD or request will fail
- Date range exceeds 5-year limit between from and to — returns error
- addWorkingDays value must be between 1 and 1000 — out-of-range integers rejected
- Invalid division enum value — must be exactly england-and-wales, scotland, or northern-ireland
- No response if GOV.UK upstream data is temporarily unavailable

## How this service works

Pay-per-use data and tools for AI agents: crypto token safety, prices and wallets, an LLM gateway, web search and documents to Markdown, library docs, package safety and AI model prices for coding agents, company research, news, UK/EU open data and an x402 market guide. Pay per call in USDC on Base or Solana with x402. No account or API key.

## Output

Returns a JSON object with: whether the queried date is a bank holiday (isBankHoliday) and a working day (isWorkingDay), the name of the holiday if applicable, the next 5 upcoming bank holidays with names and dates, optionally a range object with working-day count and holiday list between two dates, and optionally an addedWorkingDays object with the resulting date after adding N working days. Also includes the division and data licence string.

## 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",
     "properties": {
      "to": {
       "type": "string",
       "description": "End of the range (YYYY-MM-DD, at most 5 years after `from`)."
      },
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD to check (default today, UK)."
      },
      "from": {
       "type": "string",
       "description": "Start of a range (YYYY-MM-DD); with `to`, counts working days and lists holidays."
      },
      "division": {
       "enum": [
        "england-and-wales",
        "scotland",
        "northern-ireland"
       ],
       "type": "string",
       "description": "Default england-and-wales."
      },
      "addWorkingDays": {
       "type": "integer",
       "maximum": 1000,
       "minimum": 1,
       "description": "Return the date this many working days after `date`."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "division",
      "date",
      "isBankHoliday",
      "isWorkingDay",
      "next",
      "licence"
     ],
     "properties": {
      "date": {
       "type": "string"
      },
      "next": {
       "type": "array",
       "items": {
        "type": "object"
       },
       "description": "The next 5 bank holidays after `date`."
      },
      "range": {
       "type": [
        "object",
        "null"
       ],
       "description": "Working days and holidays between `from` and `to`."
      },
      "holiday": {
       "type": [
        "object",
        "null"
       ]
      },
      "licence": {
       "type": "string"
      },
      "division": {
       "type": "string"
      },
      "isWorkingDay": {
       "type": "boolean"
      },
      "isBankHoliday": {
       "type": "boolean"
      },
      "addedWorkingDays": {
       "type": [
        "object",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-12-24",
  "next": [
   {
    "date": "2026-12-25",
    "title": "Christmas Day"
   },
   {
    "date": "2026-12-28",
    "notes": "Substitute day",
    "title": "Boxing Day"
   }
  ],
  "range": null,
  "holiday": null,
  "licence": "Contains public sector information licensed under the Open Government Licence v3.0.",
  "division": "england-and-wales",
  "isWorkingDay": true,
  "isBankHoliday": false,
  "addedWorkingDays": {
   "date": "2026-12-31",
   "days": 3
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aayat-ai-uk-bank-holidays-c889a1bc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aayatai.com](https://www.zero.xyz/host/aayatai.com/llms.txt)
