{"uid":"cap_Ke7J5ozUnJSc9BlOinssQ","slug":"agishub-public-holiday-checker-df0a6eae","name":"AGISHub Public Holiday Checker","description":"Check whether a given date is a public holiday in a country (identified by its ISO 3166-1 alpha-2 code), and return the holiday name if so. Backed by an authoritative public-holiday dataset.","url":"https://api.agishub.com/paid/time-holiday","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["date","country_code"],"properties":{"date":{"type":"string","description":"Date \"YYYY-MM-DD\"."},"country_code":{"type":"string","description":"ISO country code, e.g. \"US\", \"ES\", \"IN\"."}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Dlm1QGYC2yUoa-R2xoXJj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Check whether a given date is a public holiday in a specified country and return the holiday name if applicable.","exampleAgentPrompt":"Is July 4th 2025 a public holiday in the US? If so, what's it called?","exampleUseCases":[{"title":"Skip payroll processing on holidays","prompt":"Before I run payroll for our US employees on 2025-11-27, can you check if that date is a public holiday in the US so I know whether to delay it?"},{"title":"Travel planning around local holidays","prompt":"I'm visiting Japan from November 3rd — is 2025-11-03 a national public holiday there, and if so what's it called?"},{"title":"Automated meeting scheduler holiday guard","prompt":"I'm scheduling a client call for 2025-08-25 with our team in the UK — is that date a public holiday in GB?"}],"resultDescription":"A JSON response indicating whether the queried date is a public holiday in the given country, along with the name of the holiday if it is one. Typically includes fields such as is_holiday (boolean), holiday_name (string or null), date, and country_code.","failureModes":["Invalid date format returns an error (must be YYYY-MM-DD)","Unsupported or unrecognized country code returns an error or empty result","Date far in the future may not be covered by the dataset","Missing required parameters (date or country_code) returns a validation error","Non-public-holiday observances or regional/state holidays may not be included"],"whenToPreferThis":"Choose this endpoint when you need a quick, authoritative check on whether a specific date is a nationally recognized public holiday in a given country, especially in automated scheduling, payroll, compliance, or travel-planning workflows. Prefer it over manual calendar lookups or general-purpose date libraries when you need consistent, up-to-date, multi-country coverage via a simple API call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:52:07.481Z","isFirstParty":false}