Api Endpoint

OnchainCheck Canadian Tax & Business Days

Statutory (general) holidays for a Canadian province or territory in a given year, using the province's local names, with the actual date and the weekday it is observed when it falls on a weekend. Errors return 4xx/5xx JSON and aren't charged.

Open interactive test console

Offering

Provider
ca-tax-api-mainnet.lxtap.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://ca-tax-api-mainnet.lxtap.workers.dev/holidays
MIME type
application/json
First seen
2026-10-23T22:13:16.843Z
Last seen
Tags
canada, sales-tax, gst-hst, Holidays, business-days

Payment pricing

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

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

Observed health

Status
Degraded
Latest latency
365 ms
Average latency
291 ms
HTTP status
404
Last checked
Reachability
100% over 15 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "province": {
          "type": "string",
          "enum": [
            "AB",
            "BC",
            "MB",
            "NB",
            "NL",
            "NS",
            "NT",
            "NU",
            "ON",
            "PE",
            "QC",
            "SK",
            "YT"
          ],
          "description": "Two-letter Canadian province or territory code"
        },
        "year": {
          "type": "string",
          "pattern": "^\\d{4}$",
          "description": "Year from 2000 to 2100"
        }
      },
      "required": [
        "province",
        "year"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "additionalProperties": false,
          "properties": {
            "province": {
              "description": "Two-letter Canadian province or territory code",
              "enum": [
                "AB",
                "BC",
                "MB",
                "NB",
                "NL",
                "NS",
                "NT",
                "NU",
                "ON",
                "PE",
                "QC",
                "SK",
                "YT"
              ],
              "type": "string"
            },
            "year": {
              "description": "Year from 2000 to 2100",
              "pattern": "^\\d{4}$",
              "type": "string"
            }
          },
          "required": [
            "province",
            "year"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}