JA
Developer Tool · x402 · early usage

Tell whether a given date is a Japanese business day

Tell whether a given date is a Japanese business day. Japanese national holidays and business-day calculations derived from the Cabinet Office official CSV. Returns holidays for a given year, plus business-day arithmetic used by invoicing, logistics and HR sy…

by torii-gateway-staging.ichis-lab.workers.dev · discovered, not yet claimed by its owner · updated 2026-09-23

30d calls1
30d payers1
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Tell whether a given date is a Japanese business day. Japanese national holidays and business-day calculations derived from the Cabinet Office official CSV. Returns holidays for a given year, plus business-day arithmetic used by invoicing, logistics and HR systems in Japan.

Tags: japan · holidays · business-days · calendar · wareki · bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-09-23
Input example from Bazaar metadata
{
  "date": "2026-01-05"
}
Output example
{
  "data": {
    "date": "2026-01-05",
    "is_business_day": true
  },
  "meta": {
    "attribution": "出典:内閣府ウェブサイト(https://www8.cao.go.jp/chosei/shukujitsu/gaiyou.html)を加工して作成",
    "fetched_at": "2026-09-21T03:00:00.000Z",
    "freshness_class": "static",
    "license_id": "PDL-1.0",
    "source_id": "jp-biz-calendar",
    "source_name": "内閣府「国民の祝日について」",
    "stale": false,
    "terms_url": "https://www.cao.go.jp/notice/rule.html"
  }
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/31589.json for the price and payment options.
  3. Pay. Call GET https://torii-gateway-staging.ichis-lab.workers.dev/v1/jp-biz-calendar/is-business-day. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base Sepolia, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
see accepts
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base Sepolia
Demand
1 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase Sepolia
eip155:84532
USDC100000x1C4f8d631e25061EBD6a5079a8C32Ed3568cDf76300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "payTo": "0x1C4f8d631e25061EBD6a5079a8C32Ed3568cDf76",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "10000",
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl -X GET 'https://torii-gateway-staging.ichis-lab.workers.dev/v1/jp-biz-calendar/is-business-day'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATURE
JavaScript
const res = await fetch("https://torii-gateway-staging.ichis-lab.workers.dev/v1/jp-biz-calendar/is-business-day", {
  "method": "GET"
});
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.request("GET", "https://torii-gateway-staging.ichis-lab.workers.dev/v1/jp-biz-calendar/is-business-day")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
torii-gateway-staging.ichis-lab.workers.dev
Endpoint
https://torii-gateway-staging.ichis-lab.workers.dev/v1/jp-biz-calendar/is-business-day
Machine-readable
/resources/31589.json