Api Endpoint

Public Holidays and Workdays

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.

Open interactive test console

Offering

Provider
nordata.hihat.workers.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://nordata.hihat.workers.dev/helligdager
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
norway public holidays, helligdager, business day calculator, public holiday api, next working day

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xF00679CD8B440C8bd541fB2AAB1382E6fFd65A51"
  }
]

Observed health

Status
Healthy
Latest latency
48 ms
Average latency
72 ms
HTTP status
402
Last checked
Reachability
100% over 16 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "additionalProperties": false,
  "required": [
    "type",
    "method",
    "queryParams"
  ],
  "properties": {
    "type": {
      "const": "http"
    },
    "method": {
      "const": "GET"
    },
    "queryParams": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "land",
        "aar"
      ],
      "properties": {
        "land": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code (NO, SE, DK, DE, GB, US, ... 200+ countries). Default NO."
        },
        "aar": {
          "type": "string",
          "description": "Year as YYYY (optional, default current year; ignored when dato is given). Upstream covers roughly 1976-2074."
        },
        "dato": {
          "type": "string",
          "description": "Date 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."
        },
        "region": {
          "type": "string",
          "description": "ISO 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."
        }
      }
    }
  }
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "const": "GET"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "aar": {
              "description": "Year as YYYY (optional, default current year; ignored when dato is given). Upstream covers roughly 1976-2074.",
              "type": "string"
            },
            "dato": {
              "description": "Date 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.",
              "type": "string"
            },
            "land": {
              "description": "ISO 3166-1 alpha-2 country code (NO, SE, DK, DE, GB, US, ... 200+ countries). Default NO.",
              "type": "string"
            },
            "region": {
              "description": "ISO 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.",
              "type": "string"
            }
          },
          "required": [
            "land",
            "aar"
          ],
          "type": "object"
        },
        "type": {
          "const": "http"
        }
      },
      "required": [
        "type",
        "method",
        "queryParams"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "aar": {
              "type": "number"
            },
            "antall": {
              "type": "number"
            },
            "format": {
              "type": "string"
            },
            "helligdager": {
              "items": {
                "items": {},
                "type": "array"
              },
              "type": "array"
            },
            "hentet": {
              "type": "string"
            },
            "kilde": {
              "type": "string"
            },
            "land": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "json"
        }
      },
      "required": [
        "type",
        "example"
      ],
      "type": "object"
    }
  },
  "required": [
    "input",
    "output"
  ],
  "type": "object"
}