Api Endpoint

Asiaref - Asia reference data

Working days / next working day in a date range: weekends + gazetted public holidays

Open interactive test console

Offering

Provider
asiaref.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://asiaref.dev/v1/answers/working-days
MIME type
Not provided
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
working-days, public-holidays, calendar, asia

Payment pricing

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

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

Observed health

Status
Reachable
Latest latency
2292 ms
Average latency
1287 ms
HTTP status
403
Last checked
Reachability
100% over 14 checks

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

Input schema

{
  "additionalProperties": false,
  "properties": {
    "body": {
      "properties": {
        "country": {
          "description": "ISO country code",
          "enum": [
            "ae",
            "bd",
            "bh",
            "cn",
            "hk",
            "id",
            "il",
            "in",
            "iq",
            "jo",
            "jp",
            "kr",
            "kw",
            "kz",
            "lk",
            "my",
            "np",
            "om",
            "ph",
            "pk",
            "qa",
            "sa",
            "sg",
            "th",
            "tr",
            "tw",
            "uz",
            "vn"
          ],
          "type": "string"
        },
        "from": {
          "description": "Range start, inclusive",
          "format": "date",
          "type": "string"
        },
        "receipt": {
          "description": "Optional. true adds an Ed25519 answer receipt on a paid 200, included in this price. Not a certified extract.",
          "type": "boolean"
        },
        "subdivision": {
          "description": "Optional. Apply a sub-national statutory holiday calendar (national + that region's days) instead of national-only. ISO 3166-2 code, e.g. 'DE-BY'. Countries that offer regions expose them as `subdivisions` on GET /:country/public-holidays. Unknown code is refused free with the list.",
          "type": "string"
        },
        "to": {
          "description": "Range end, inclusive (max 366 days)",
          "format": "date",
          "type": "string"
        }
      },
      "required": [
        "country",
        "from",
        "to"
      ],
      "type": "object"
    },
    "bodyType": {
      "enum": [
        "json",
        "form-data",
        "text"
      ],
      "type": "string"
    },
    "method": {
      "enum": [
        "POST"
      ],
      "type": "string"
    },
    "type": {
      "const": "http",
      "type": "string"
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "type": "object"
}

Output schema

{
  "properties": {
    "example": {
      "properties": {
        "caveats": {
          "type": "array"
        },
        "disclaimer": {
          "type": "string"
        },
        "next_working_day": {
          "format": "date",
          "type": "string"
        },
        "provenance": {
          "description": "The statutory instrument the answer rests on: effective_from, last_confirmed, official source URL, notes",
          "type": "object"
        },
        "public_holidays": {
          "description": "Statutory holidays falling on weekdays in the range",
          "type": "array"
        },
        "receipt": {
          "description": "Only when receipt=true on a paid 200. kind answer_receipt. Verify at /certified/public-key.",
          "type": "object"
        },
        "status": {
          "type": "string"
        },
        "subdivision": {
          "description": "The sub-national calendar applied (code, name, source, the region's added days), or null when the national calendar was used",
          "type": [
            "object",
            "null"
          ]
        },
        "total_days": {
          "type": "integer"
        },
        "weekend": {
          "description": "This country's weekly rest days (Egypt: Fri–Sat)",
          "type": "array"
        },
        "weekend_days": {
          "type": "integer"
        },
        "working_days": {
          "type": "integer"
        }
      },
      "required": [
        "status",
        "total_days",
        "working_days",
        "next_working_day"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}