Api Endpoint

AIPayGen

Public and bank holidays for 100+ countries, any year from 1975 to 2075, with local names, regional holidays and the next upcoming one (in the year asked). Useful for scheduling, delivery dates and business-day math.

Open interactive test console

Offering

Provider
aipaygen.com
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://aipaygen.com/v1/public_holidays
MIME type
application/json
First seen
2026-11-16T17:39:40.763Z
Last seen
Tags
Data, reference, Research

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": "0xebA22e8CD05Cb72A2F913099D6cCA666DD6D35B0"
  }
]

Observed health

Status
Healthy
Latest latency
507 ms
Average latency
343 ms
HTTP status
402
Last checked
Reachability
100% over 5 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",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "minLength": 2,
          "maxLength": 2,
          "description": "ISO country code, e.g. \"US\", \"GB\", \"DE\", \"BR\"."
        },
        "year": {
          "description": "Year. Default: this year.",
          "type": "integer",
          "minimum": 1975,
          "maximum": 2075
        }
      },
      "required": [
        "country"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}