{"uid":"cap_8WlMphNxEtMByy-nQ9dT9","slug":"uk-open-data-next-bank-holiday-0df6edce","name":"UK Open Data – Next Bank Holiday","description":"Next UK bank holiday on or after a date (default today) for England and Wales, Scotland or Northern Ireland, plus the next two.","url":"https://uk-open-data.x402tookit.com/next-bank-holiday?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","required":[],"properties":{"from":{"type":"string","description":"YYYY-MM-DD to count from, default today (UTC)"},"division":{"enum":["england-and-wales","scotland","northern-ireland"],"type":"string","description":"england-and-wales (default), scotland or northern-ireland"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"from":{"type":["null","string"]},"next":{"type":["null","object"],"properties":{"date":{"type":["null","string"]},"notes":{},"title":{"type":["null","string"]},"weekday":{"type":["null","string"]},"daysAway":{"type":["null","number"]}}},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"division":{"type":["null","string"]},"feedEnds":{"type":["null","string"]},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"fromWeekday":{"type":["null","string"]},"followingTwo":{"type":["array","null"],"items":{"type":"object","properties":{"date":{"type":["null","string"]},"notes":{"type":["null","string"]},"title":{"type":["null","string"]},"weekday":{"type":["null","string"]},"daysAway":{"type":["null","number"]}}}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aThNoguUO4JsWeaGOOjzj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next UK bank holiday on or after a given date for England and Wales, Scotland, or Northern Ireland, plus the following two upcoming holidays.","exampleAgentPrompt":"What's the next bank holiday in Scotland after 1st June 2025, and what are the two after that?","exampleUseCases":[{"title":"Scheduling around UK public holidays","prompt":"I need to know the next bank holiday in England and Wales from today and the two after it — I'm trying to plan a delivery schedule that avoids public holidays."},{"title":"Travel planning for Northern Ireland","prompt":"What's the next public holiday in Northern Ireland coming up after the 15th of August 2025? I want to know the date, the name, and how many days away it is."},{"title":"Automated payroll date adjustment","prompt":"Can you check what the next three bank holidays are in Scotland starting from 1 March 2025? I need the exact dates and names so I can adjust our payroll run dates."}],"resultDescription":"Returns a structured object with the next bank holiday on or after the requested date for the specified UK division (england-and-wales by default), including its date, title, weekday, and number of days away, plus the following two upcoming bank holidays with the same fields. Also includes metadata such as the division queried, the from date, an as-of timestamp, feed end date, a plain-English summary and verdict, and a degraded flag indicating any data quality issues.","failureModes":["Invalid date format for 'from' parameter returns an error","Invalid division enum value returns an error","If the official GOV.UK bank holiday feed is unavailable, the response may be degraded (degraded: true) with reduced accuracy","Requests for dates beyond the end of the available government feed may return partial or no results (feedEnds field indicates coverage limit)"],"whenToPreferThis":"Use this endpoint when you need quick, structured access to the next 1–3 upcoming UK bank holidays for a specific region, especially when you need the number of days away or a human-readable summary. Prefer this over the full-year bank holiday listing endpoint when you only need near-future holidays and don't want to parse a full calendar. Ideal for scheduling, payroll, logistics, or any agent workflow that needs to check proximity to a public holiday.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-05T00:31:11.520Z","isFirstParty":false,"canonicalSlug":"uk-open-data-next-bank-holiday-0df6edce"}