{"uid":"cap_VgBjwWr_JRFkzA_j-itgo","slug":"agent402-uk-public-holidays-lookup-10450ff0","name":"Agent402 UK Public Holidays Lookup","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/data/holidays","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":{"year":{"type":"string","description":"Calendar year"},"country":{"type":"string","description":"ISO alpha-2 (default GB)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"year":2026,"count":11,"source":"date.nager.at","country":"DE"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nY9GdeR45AxBFx8G2bgAZ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns public holidays for a given country and year using the Nager.Date data source, with no API key required.","exampleAgentPrompt":"Can you get all public holidays in Germany for 2026? I need the full list with the count so I can plan around them.","exampleUseCases":[{"title":"Schedule meetings around national holidays","prompt":"Pull up all public holidays in France for 2025 — I need to avoid scheduling client calls on those days."},{"title":"HR payroll compliance calendar","prompt":"What are the official public holidays in Spain for 2024? I'm setting up a payroll calendar and need every holiday for the year."},{"title":"Travel itinerary planning","prompt":"List all public holidays in Japan in 2025 so I can figure out which dates to avoid for business travel."}],"resultDescription":"A JSON object containing the target year, country (ISO alpha-2), total holiday count, and the data source (date.nager.at). The example response includes fields: year, count, source, and country.","failureModes":["Invalid or unsupported ISO alpha-2 country code returns an error or empty result","Year out of supported range may return no data","Missing required query parameters may result in default fallback to GB","Network timeout from upstream Nager.Date service"],"whenToPreferThis":"Use this endpoint when you need public holiday data for any country by ISO alpha-2 code and year, without requiring an API key. For UK-specific bank holidays specifically, prefer the dedicated /v1/uk/bank-holidays endpoint on the same provider for more authoritative results. Choose this over manual calendars or web scraping when you need structured, machine-readable holiday data for scheduling, compliance, or travel planning.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:40.663Z","isFirstParty":false}