{"uid":"cap_WEfZJXfBMTHd51ryDZ_mK","slug":"market-and-holiday-calendar-next-upcoming-public-holidays-845440bd","name":"Market and Holiday Calendar – Next Upcoming Public Holidays","description":"The next upcoming public holidays in a country within the coming year, with days until each.","url":"https://market-calendar.x402tookit.com/next-holidays?utm_source=zero.xyz","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"],"properties":{"limit":{"type":"integer","description":"How many, 1 to 20 (default 5)"},"country":{"type":"string","description":"2-letter country code"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"source":{"type":["null","string"]},"country":{"type":["null","string"]},"reasons":{"type":["array","null"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"asOfDate":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"holidays":{"type":["array","null"],"items":{"type":"object","properties":{"date":{"type":["null","string"]},"name":{"type":["null","string"]},"regions":{"type":["array","null"],"items":{"type":"string"}},"daysUntil":{"type":["null","number"]},"localName":{"type":["null","string"]},"nationwide":{"type":["boolean","null"]}}}},"sourceUrl":{"type":["null","string"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y40DKzLNJnSbKd3cMAg0A","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the next upcoming public holidays in a given country within the coming year, including the name, date, and days until each holiday.","exampleAgentPrompt":"What are the next 5 public holidays in France? Show me the name, date, and how many days away each one is.","exampleUseCases":[{"title":"Travel itinerary holiday awareness","prompt":"I'm planning a trip to Japan next month — what are the next 5 public holidays there and how many days away are they?"},{"title":"Workforce scheduling around holidays","prompt":"Can you show me the next 10 public holidays in Germany so I can plan my team's sprint schedule around them?"},{"title":"Countdown to holiday for marketing campaign","prompt":"What's the next public holiday in the United States and how many days away is it? I need to plan a campaign launch around it."}],"resultDescription":"Returns a list of upcoming public holidays for the specified country, each with the holiday name, local name, date, number of days until the holiday, whether it is nationwide or regional, and which regions observe it. Also includes metadata such as the data source, as-of date, summary, and any disclaimer or degraded-data flags.","failureModes":["Invalid or unsupported 2-letter country code returns an error or empty holidays list","Limit parameter out of range (below 1 or above 20) may result in a validation error","No upcoming holidays found within the year window returns an empty array","Service degraded flag set to true indicates data may be incomplete or sourced from a fallback","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a quick, forward-looking list of upcoming public holidays for a specific country without specifying a year — ideal for scheduling, planning, or countdown use cases. Prefer this over the full-year holidays endpoint when you only need the next N holidays from today. Choose this over a manual calendar lookup when you need machine-readable output with days-until counts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T00:30:22.383Z","isFirstParty":false,"canonicalSlug":"market-and-holiday-calendar-next-upcoming-public-holidays-845440bd"}