85trust / 100

Helligdager

by Public Holidays and Workdays in Developer tools

x402 APIPassing, checked 5 h ago

Public holidays and business-day check for Norway and 200+ other countries, from the open-source Nager.Date holiday database. Without dato: every public and bank holiday of a year with local and English name and whether it is nationwide or regional. With dato: whether that date is a holiday or weekend, plus the next business day. Use it for deadline and SLA maths, delivery and payroll scheduling, or opening-hours logic. Compact JSON.

GET
https://nordata.hihat.workers.dev/helligdager
Price
$0.001
per call in USDC
Uptime
100%
last 30 days
Response time
111 ms
271 ms slowest 5%
Last check
Passed
5 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 · Watch with other listings

How to call it

GET https://nordata.hihat.workers.dev/helligdager

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.

GET https://nordata.hihat.workers.dev/helligdager?aar=2026&land=NO

Parameters

ParameterTypeRequiredDescription
aarstringYesYear as YYYY (optional, default current year; ignored when dato is given). Upstream covers roughly 1976-2074.
datostringNoDate as YYYY-MM-DD (optional). Instead of the year list you get whether that date is a public holiday or weekend (Sat/Sun) and neste_virkedag = the first Mon-Fri non-holiday date strictly after it.
landstringYesISO 3166-1 alpha-2 country code (NO, SE, DK, DE, GB, US, ... 200+ countries). Default NO.
regionstringNoISO 3166-2 subdivision code such as DE-BY or GB-SCT (optional). Regional holidays count as days off only for the given region; without it only nationwide holidays stop a business day.

Example response

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

Example response, 58 lines
{
  "aar": 2026,
  "antall": 13,
  "format": "helligdager = [dato, navn, navn_en, landsdekkende, regioner?]",
  "helligdager": [
    [
      "2026-01-01",
      "Første nyttårsdag",
      "New Year's Day",
      true
    ],
    [
      "2026-04-02",
      "Skjærtorsdag",
      "Maundy Thursday",
      true
    ],
    [
      "2026-04-03",
      "Langfredag",
      "Good Friday",
      true
    ],
    [
      "2026-04-05",
      "Første påskedag",
      "Easter Sunday",
      true
    ],
    [
      "2026-04-06",
      "Andre påskedag",
      "Easter Monday",
      true
    ],
    [
      "2026-05-01",
      "Første mai",
      "Labour Day",
      true
    ],
    [
      "2026-05-14",
      "Kristi himmelfartsdag",
      "Ascension Day",
      true
    ],
    [
      "2026-05-17",
      "Syttende mai",
      "Constitution Day",
      true
    ]
  ],
  "hentet": "2026-10-22T12:00:00.000Z",
  "kilde": "date.nager.at",
  "land": "NO"
}

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 'https://nordata.hihat.workers.dev/helligdager?aar=2026&land=NO'

# 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 - 'https://nordata.hihat.workers.dev/helligdager?aar=2026&land=NO' \
  | 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%2Fnordata.hihat.workers.dev%2Fhelligdager
const res = await pay("https://nordata.hihat.workers.dev/helligdager?aar=2026&land=NO");
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.get("https://nordata.hihat.workers.dev/helligdager?aar=2026&land=NO")
    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
5 h agoPassed40296 ms$0.001
11 h agoPassed402108 ms$0.001
17 h agoPassed402118 ms$0.001
23 h agoPassed402134 ms$0.001
29 h agoPassed402105 ms$0.001
Show 10 older checks
35 h agoPassed40289 ms$0.001
42 h agoPassed402131 ms$0.001
2 days agoPassed402128 ms$0.001
2 days agoPassed402463 ms$0.001
3 days agoPassed402107 ms$0.001
3 days agoPassed402112 ms$0.001
3 days agoPassed40297 ms$0.001
3 days agoPassed402138 ms$0.001
4 days agoPassed402139 ms$0.001
4 days agoPassed402123 ms$0.001