{"uid":"cap_PVhKL_KBipGicR6zTHP3z","slug":"netintel-holiday-check-api-58b026dc","name":"NetIntel Holiday Check API","description":"Look up public holidays for any country and year, check whether a specific date is a holiday, and calculate the next business day — so agents can handle scheduling, SLA calculations, deadline setting, and date-aware workflows without hardcoding country-specific holiday rules.","url":"https://netintel.dev/holidays/check","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":["country_code"],"properties":{"date":{"type":"string","description":"YYYY-MM-DD specific date to check — populates date_check with {date, is_holiday, is_weekend, is_business_day, holiday_name, next_business_day}; omitted → date_check is null"},"year":{"type":"integer","description":"4-digit year (default: current year, range 2000-2099)"},"country_code":{"type":"string","description":"ISO 3166-1 alpha-2 country code (e.g. US, GB, DE)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"year":{"type":"number"},"grade":{"type":"string"},"score":{"type":"number"},"findings":{"type":"array"},"holidays":{"type":"array"},"date_check":{"type":["object","null"]},"country_code":{"type":"string"},"total_holidays":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"year":2026,"grade":"A","score":100,"findings":[],"holidays":[{"date":"2026-01-01","name":"New Year's Day","types":["Public","Bank"],"is_global":true,"local_name":"New Year's Day"}],"date_check":{"date":"2026-07-03","is_holiday":true,"is_weekend":false,"holiday_name":"Independence Day","is_business_day":false,"next_business_day":"2026-07-06"},"country_code":"US","total_holidays":17}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qpi65MNI19hQXEXfQoxwl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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, with optional check for whether a specific date is a holiday","exampleAgentPrompt":"Can you check whether June 19, 2025 is a public holiday in the US, and also list all US public holidays for 2025?","exampleUseCases":null,"resultDescription":"Returns a JSON object with the country code, year, full list of holidays (each with date, name, local name, types, and global flag), optional date_check result for a specific date query, total holiday count, and a quality score and grade for the data.","failureModes":["Missing or invalid country_code returns an error — must be a valid ISO 3166-1 alpha-2 code","Year out of range (outside 2000–2099) returns an error","Invalid date format for the date parameter (must be YYYY-MM-DD) causes rejection","Payment failure or insufficient USDC balance blocks the call via x402 protocol","Unknown country code with no holiday data may return an empty holidays array"],"whenToPreferThis":"Use this endpoint when you need structured, scored public holiday data for a specific country and year, especially when you also want to verify whether a particular date falls on a holiday. Prefer this over generic calendar APIs when you need holiday type classification (Public, Bank, etc.) and a data quality grade. Ideal for scheduling, compliance, payroll, and travel use cases.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:35:14.419Z","isFirstParty":false}