16trust / 100

Public Holidays

by Vextorium in Productivity & SaaS

x402 APIFailing, checked 4 h ago

Official public holidays of 150+ countries and their regions (Spanish autonomous communities, US states, German Länder...) for a year, whether a given date is a holiday, and the next holiday.

POST https://api.vextorium.com/v1/public-holidays

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
4 h ago: Amount "0.003" is not in atomic token units
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.vextorium.com/v1/public-holidays" \
  -H "content-type: application/json" \
  -d '{"country":"ES","region":"MD","year":2026}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.vextorium.com%2Fv1%2Fpublic-holidays
const res = await pay("https://api.vextorium.com/v1/public-holidays", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"country":"ES","region":"MD","year":2026}),
});
console.log(await res.json());

Example input

{
  "country": "ES",
  "region": "MD",
  "year": 2026
}

Example output

{
  "available_regions": [
    "AN",
    "AR"
  ],
  "country": "ES",
  "holidays": [
    {
      "date": "2026-01-01",
      "name": "New Year's Day",
      "weekday": "Thursday"
    },
    {
      "date": "2026-01-06",
      "name": "Epiphany",
      "weekday": "Tuesday"
    }
  ],
  "next": {
    "date": "2026-10-12",
    "days": 10,
    "name": "National Day"
  },
  "region": "MD",
  "source": "Open-source python-holidays library (official national and regional holidays)",
  "total": 12,
  "year": 2026
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoAmount "0.003" is not in atomic token units402105 ms$0.003
8 h agoAmount "0.003" is not in atomic token units40276 ms$0.003
12 h agoAmount "0.003" is not in atomic token units40277 ms$0.003
16 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
20 h agoAmount "0.003" is not in atomic token units402275 ms$0.003
24 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
29 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
33 h agoAmount "0.003" is not in atomic token units402163 ms$0.003
36 h agoAmount "0.003" is not in atomic token units40283 ms$0.003
40 h agoAmount "0.003" is not in atomic token units40288 ms$0.003