{"uid":"cap_MLtrzbQ3CSAYieWGzRMhA","slug":"agishub-public-holiday-checker-c70ac4a1","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/v1/time-holiday","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"enum":["http"],"type":"string"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"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}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":{"type":"json","example":{"result":"Check whether a given date is a public holiday in a country (identified by its ISO 3166-1 alpha-2 code), and return the "}},"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_deuKwFbYraGvBNgdH7q5Y","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 specific date is a public holiday in a given country and return the holiday name if it is","exampleAgentPrompt":"Is July 4th 2025 a public holiday in the US, and if so what is it called?","exampleUseCases":[{"title":"Scheduling around national holidays","prompt":"Before I schedule that client call for November 11 2025 in France, can you check if that date is a public holiday there and what it's called?"},{"title":"Automated payroll date validation","prompt":"We're processing payroll on January 26 2025 for our Australian team — is that a public holiday in Australia so we know whether to adjust the payment date?"},{"title":"Travel itinerary planning","prompt":"I'm visiting India on October 2nd 2025 — is that a public holiday in India? I want to know if things will be closed."}],"resultDescription":"A JSON response indicating whether the provided date is a public holiday in the specified country, along with the name of the holiday if applicable.","failureModes":["Invalid date format (not YYYY-MM-DD) returns an error","Unsupported or invalid ISO 3166-1 alpha-2 country code returns an error","Date is not a holiday returns a negative/false result with no holiday name","Missing required query parameters (date or country_code) returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a simple, authoritative yes/no answer about whether a specific date is a public holiday in a particular country, along with the holiday name. Ideal for scheduling, payroll, or travel planning workflows where a single date + country lookup is needed rather than listing all holidays in a range.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:14.116Z","isFirstParty":false}