16trust / 100

Festivos Pais Pago

by Vextorium in Productivity & SaaS

x402 APIFailing, checked 3 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/festivos-pais-pago

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
0.0%
Response time
- typical, - slowest 5%
Last check
3 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/festivos-pais-pago" \
  -H "content-type: application/json" \
  -d '{"anio":2026,"pais":"ES","region":"MD"}'
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%2Ffestivos-pais-pago
const res = await pay("https://api.vextorium.com/festivos-pais-pago", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"anio":2026,"pais":"ES","region":"MD"}),
});
console.log(await res.json());

Example input

{
  "anio": 2026,
  "pais": "ES",
  "region": "MD"
}

Example output

{
  "anio": 2026,
  "festivos": [
    {
      "dia_semana": "Thursday",
      "fecha": "2026-01-01",
      "nombre": "New Year's Day"
    },
    {
      "dia_semana": "Tuesday",
      "fecha": "2026-01-06",
      "nombre": "Epiphany"
    },
    {
      "dia_semana": "Thursday",
      "fecha": "2026-04-02",
      "nombre": "Maundy Thursday"
    },
    {
      "dia_semana": "Friday",
      "fecha": "2026-04-03",
      "nombre": "Good Friday"
    },
    {
      "dia_semana": "Friday",
      "fecha": "2026-05-01",
      "nombre": "Labor Day"
    },
    {
      "dia_semana": "Saturday",
      "fecha": "2026-05-02",
      "nombre": "Madrid Day"
    },
    {
      "dia_semana": "Saturday",
      "fecha": "2026-08-15",
      "nombre": "Assumption Day"
    },
    {
      "dia_semana": "Monday",
      "fecha": "2026-10-12",
      "nombre": "National Day"
    },
    {
      "dia_semana": "Monday",
      "fecha": "2026-11-02",
      "nombre": "Monday following All Saints' Day"
    },
    {
      "dia_semana": "Monday",
      "fecha": "2026-12-07",
      "nombre": "Monday following Constitution Day"
    },
    {
      "dia_semana": "Tuesday",
      "fecha": "2026-12-08",
      "nombre": "Immaculate Conception"
    },
    {
      "dia_semana": "Friday",
      "fecha": "2026-12-25",
      "nombre": "Christmas Day"
    }
  ],
  "fuente": "Librería abierta python-holidays (festivos oficiales nacionales y regionales)",
  "pais": "ES",
  "proximo": {
    "dias": 10,
    "fecha": "2026-10-12",
    "nombre": "National Day"
  },
  "region": "MD",
  "regiones_disponibles": [
    "AN",
    "AR",
    "AS",
    "CB",
    "CE",
    "CL",
    "CM",
    "CN",
    "CT",
    "EX",
    "GA",
    "IB",
    "MC",
    "MD",
    "ML",
    "NC",
    "PV",
    "RI",
    "VC"
  ],
  "total": 12
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
3 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
7 h agoAmount "0.003" is not in atomic token units40279 ms$0.003
12 h agoAmount "0.003" is not in atomic token units40296 ms$0.003
15 h agoAmount "0.003" is not in atomic token units40295 ms$0.003
20 h agoAmount "0.003" is not in atomic token units40282 ms$0.003
23 h agoAmount "0.003" is not in atomic token units40277 ms$0.003
28 h agoAmount "0.003" is not in atomic token units40278 ms$0.003
32 h agoAmount "0.003" is not in atomic token units40280 ms$0.003
35 h agoAmount "0.003" is not in atomic token units40286 ms$0.003
40 h agoAmount "0.003" is not in atomic token units40290 ms$0.003