{"uid":"cap_pr2yb-37cn6EhuZdRLhG0","slug":"aayat-ai-uk-bank-holidays-c889a1bc","name":"Aayat AI UK Bank Holidays","description":"Official UK bank holidays (England & Wales, Scotland, Northern Ireland) from GOV.UK. Is a date a working day, the next holidays, working days between two dates, or the date N working days after a date (deadlines, SLAs, delivery estimates).","url":"https://aayatai.com/uk/bank-holidays?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"]}}}}}}},"responseSchema":{"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}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__uYm_ctfs8cXUG7YLcqHg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks UK bank holidays and working days for England & Wales, Scotland, or Northern Ireland using official GOV.UK data","exampleAgentPrompt":"Is 26 December 2025 a working day in England and Wales, and what are the next 5 bank holidays after that date?","exampleUseCases":[{"title":"SLA deadline calculation for support tickets","prompt":"A customer filed a complaint on 20 March 2026 — what date is 10 working days later in England and Wales so I know the legal response deadline?"},{"title":"Delivery estimate for Scottish orders","prompt":"We're dispatching an order from Edinburgh today, 15 April 2026 — what date will it arrive if it takes 3 working days, accounting for Scottish bank holidays?"},{"title":"Contract working-day count","prompt":"How many working days are there between 1 June 2026 and 30 June 2026 in England and Wales? I need it for a contract milestone calculation."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:45:31.835Z","isFirstParty":false,"canonicalSlug":"aayat-ai-uk-bank-holidays-c889a1bc"}