80trust / 100

Calendar Holidays

by FiatDock in Productivity & SaaS

x402 APIPassing, checked 3 h ago

A country's holidays for a year (1976-2076): date, local and English name, nationwide or regional, type; plus whether a given date is a nationwide public holiday and the next one. Covers the ~200 countries Nager.Date lists (not e.g. SA, AE, IN - 404). {country, year?, date?}; send {} for the published example. Not charged for an answer it cannot produce. Pay-per-call via x402.

POST
https://fiatdock.com/v1/calendar/holidays
Price
$0.001
per call in USDC
Uptime
100%
last 30 days
Response time
177 ms
233 ms slowest 5%
Last check
Passed
3 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Status and outage history · Atom feed

How to call it

POST https://fiatdock.com/v1/calendar/holidays

Each call costs $0.001 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://fiatdock.com/v1/calendar/holidays
content-type: application/json

{
  "country": "DE",
  "date": "2026-10-31"
}

Parameters

ParameterTypeRequiredDescription
countrystringNoCountry, ISO 3166-1 alpha-2 (US, DE, GB, BR, JP …). The covered list is https://date.nager.at/api/v3/AvailableCountries. An empty body answers for DE
datestringNoA date (YYYY-MM-DD) to check: is it a holiday, and which is the next one after it. Default: today (UTC) when the year is the current one
yearintegerNoYear, 1976-2076 (default: the year of `date`, else the current UTC year)

Example response

The provider's example. We can't check it without paying.

Example response, 275 lines
{
  "asOf": "2026-10-08T12:00:00.000Z",
  "count": 19,
  "country": "DE",
  "dateChecked": "2026-10-31",
  "holidays": [
    {
      "date": "2026-01-01",
      "global": true,
      "localName": "Neujahr",
      "name": "New Year's Day",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-01-06",
      "global": false,
      "localName": "Heilige Drei Könige",
      "name": "Epiphany",
      "regions": [
        "DE-BW",
        "DE-BY",
        "DE-ST"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-03-08",
      "global": false,
      "localName": "Internationaler Frauentag",
      "name": "International Women's Day",
      "regions": [
        "DE-BE",
        "DE-MV"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-04-03",
      "global": true,
      "localName": "Karfreitag",
      "name": "Good Friday",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-04-05",
      "global": false,
      "localName": "Ostersonntag",
      "name": "Easter Sunday",
      "regions": [
        "DE-BB"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-04-06",
      "global": true,
      "localName": "Ostermontag",
      "name": "Easter Monday",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-05-01",
      "global": true,
      "localName": "Tag der Arbeit",
      "name": "Labour Day",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-05-14",
      "global": true,
      "localName": "Christi Himmelfahrt",
      "name": "Ascension Day",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-05-24",
      "global": false,
      "localName": "Pfingstsonntag",
      "name": "Pentecost",
      "regions": [
        "DE-BB"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-05-25",
      "global": true,
      "localName": "Pfingstmontag",
      "name": "Whit Monday",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-06-04",
      "global": false,
      "localName": "Fronleichnam",
      "name": "Corpus Christi",
      "regions": [
        "DE-BW",
        "DE-BY",
        "DE-HE",
        "DE-NW",
        "DE-RP",
        "DE-SL"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-08-15",
      "global": false,
      "localName": "Mariä Himmelfahrt",
      "name": "Assumption Day",
      "regions": [
        "DE-SL"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-09-20",
      "global": false,
      "localName": "Weltkindertag",
      "name": "World Children's Day",
      "regions": [
        "DE-TH"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-10-03",
      "global": true,
      "localName": "Tag der Deutschen Einheit",
      "name": "German Unity Day",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-10-31",
      "global": false,
      "localName": "Reformationstag",
      "name": "Reformation Day",
      "regions": [
        "DE-BB",
        "DE-MV",
        "DE-SN",
        "DE-ST",
        "DE-TH",
        "DE-HB",
        "DE-HH",
        "DE-NI",
        "DE-SH"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-11-01",
      "global": false,
      "localName": "Allerheiligen",
      "name": "All Saints' Day",
      "regions": [
        "DE-BW",
        "DE-BY",
        "DE-NW",
        "DE-RP",
        "DE-SL"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-11-18",
      "global": false,
      "localName": "Buß- und Bettag",
      "name": "Repentance and Prayer Day",
      "regions": [
        "DE-SN"
      ],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-12-25",
      "global": true,
      "localName": "Erster Weihnachtstag",
      "name": "Christmas Day",
      "regions": [],
      "types": [
        "Public"
      ]
    },
    {
      "date": "2026-12-26",
      "global": true,
      "localName": "Zweiter Weihnachtstag",
      "name": "St. Stephen's Day",
      "regions": [],
      "types": [
        "Public"
      ]
    }
  ],
  "holidaysOnDate": [],
  "isHoliday": false,
  "nextHoliday": {
    "date": "2026-12-25",
    "global": true,
    "localName": "Erster Weihnachtstag",
    "name": "Christmas Day",
    "regions": [],
    "types": [
      "Public"
    ]
  },
  "note": "isHoliday is true only for a nationwide holiday the source types as Public; regional holidays are in regionalHolidaysOnDate.",
  "regionalHolidaysOnDate": [
    {
      "date": "2026-10-31",
      "global": false,
      "localName": "Reformationstag",
      "name": "Reformation Day",
      "regions": [
        "DE-BB",
        "DE-MV",
        "DE-SN",
        "DE-ST",
        "DE-TH",
        "DE-HB",
        "DE-HH",
        "DE-NI",
        "DE-SH"
      ],
      "types": [
        "Public"
      ]
    }
  ],
  "source": "Nager.Date public holiday API (date.nager.at, open source)",
  "year": 2026
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.001.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://fiatdock.com/v1/calendar/holidays' \
  -H 'content-type: application/json' \
  --data-raw '{"country":"DE","date":"2026-10-31"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://fiatdock.com/v1/calendar/holidays' \
  -H 'content-type: application/json' \
  --data-raw '{"country":"DE","date":"2026-10-31"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.001 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.001" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.001 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Ffiatdock.com%2Fv1%2Fcalendar%2Fholidays&method=POST
const res = await pay("https://fiatdock.com/v1/calendar/holidays", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "country": "DE",
    "date": "2026-10-31"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.001 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.001"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://fiatdock.com/v1/calendar/holidays",
        json={
            "country": "DE",
            "date": "2026-10-31",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

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

Recent checks

WhenResultHTTPTimePrice
3 h agoPassed40244 ms$0.001
7 h agoPassed402166 ms$0.001
11 h agoPassed402179 ms$0.001
15 h agoPassed402173 ms$0.001
19 h agoPassed402205 ms$0.001
Show 10 older checks
23 h agoPassed402228 ms$0.001
27 h agoPassed402975 ms$0.001
30 h agoPassed402196 ms$0.001
34 h agoPassed402146 ms$0.001
38 h agoPassed402142 ms$0.001
42 h agoPassed402177 ms$0.001
45 h agoPassed402182 ms$0.001
2 days agoPassed402159 ms$0.001
2 days agoPassed402157 ms$0.001
2 days agoPassed402230 ms$0.001