{"uid":"cap_jB6Tq4obhPbK_TVWWvbb8","slug":"x402-tools-holiday-check-a0763209","name":"x402-tools Holiday Check","description":"Pay-per-call utility APIs for AI agents, settled in USDC via the x402 protocol.","url":"https://x402.nichospt.net/holiday-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","format":"date","description":"YYYY-MM-DD"},"region":{"type":"string","description":"Sub-region code (e.g. 'CA' for California)"},"country":{"type":"string","pattern":"^[A-Z]{2}$","description":"ISO 3166-1 alpha-2 (e.g. 'US', 'GB', 'DE')"}}},"responseSchema":{"type":"json","example":{"date":"2026-07-04","country":"US","holidays":[{"name":"Independence Day","type":"public","public":true}],"is_holiday":true}},"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":{"p10Cents":"1.0000","medianCents":"1.0000","p90Cents":"1.0000","minCents":"1.0000","maxCents":"1.0000","p95Cents":"1.0000","sampleCount":1,"varies":false,"failureChargeRate":1},"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_HZfdnq8zN9IiZQiC6-Af_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given date is a public holiday in a specified country (and optional sub-region), returning holiday details and a boolean flag.","exampleAgentPrompt":"Is July 4th 2026 a public holiday in the US, specifically in California?","exampleUseCases":null,"resultDescription":"A JSON object containing the queried date, country code, a boolean is_holiday flag, and an array of matching holidays with their name, type, and whether they are public holidays.","failureModes":["Invalid date format (not YYYY-MM-DD) returns validation error","Unsupported or unknown country code returns empty or error response","Payment failure via x402 protocol returns 402 status","Sub-region code not recognized for given country","No holidays found returns is_holiday: false with empty holidays array"],"whenToPreferThis":"Use this endpoint when you need a fast, lightweight, per-call check on whether a specific date is a public holiday in a given country or sub-region, especially in agentic workflows that need to avoid scheduling on holidays or flag non-working days.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:40:47.837Z","isFirstParty":false,"canonicalSlug":"x402-tools-holiday-check-a0763209"}