MA
AI Inference · x402 · early usage

Japan business days + statutory deadlines: holidays (equinox + substitute), business-da…

Japan business days + statutory deadlines: holidays (equinox + substitute), business-day arithmetic, tax filing deadlines with holiday shift, wareki conversion. 1980-2099. $0.003/call.

by mart402.com · discovered, not yet claimed by its owner · updated 2026-10-11

30d calls5
30d payers4
MethodPOST
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

Japan business days + statutory deadlines: holidays (equinox + substitute), business-day arithmetic, tax filing deadlines with holiday shift, wareki conversion. 1980-2099. $0.003/call.

Tags: bazaar · offer-receipt

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-11
Input example from Bazaar metadata
{
  "base_date": "2026-03-31",
  "kind": "corporate_tax",
  "mode": "deadline"
}
Output example
{
  "as_of": null,
  "assumptions": [
    "春分/秋分は近似式(1980-2099のみ有効)。官報の暦要項と一致することを年次で確認する運用が必要"
  ],
  "billable": true,
  "breakdown": [],
  "carried_forward": [],
  "disclaimer": "仮定条件に基づく概算試算。税務相談・手続代行・法律相談ではない。申告・届出への使用不可。確定額は官公署または税理士・社会保険労務士等に確認のこと。",
  "not_covered": [
    "1980年より前・2100年以降",
    "臨時の祝日(即位礼等)は個別追加が必要"
  ],
  "note": "SAMPLE RESPONSE generated by the exact deterministic engine that serves production (jp-statutory has no LLM: same input always produces this byte-identical result, carrying the same rules_version and cited primary sources). Served free at /samples/{product} so you can verify the response shape, the rules_version field and the source citations before paying. No payment was taken. The sample_input shown is the catalog example input that produced this output.",
  "ok": true,
  "result": {
    "adjusted_due": "2026-06-01",
    "shifted": true,
    "statutory_due": "2026-05-31"
  },
  "rules_version": "2026.08.18",
  "sample": true,
  "sample_input": {
    "base_date": "2026-03-31",
    "kind": "corporate_tax",
    "mode": "deadline"
  },
  "sources": [
    "https://laws.e-gov.go.jp/law/323AC0000000178 (国民の祝日に関する法律)"
  ],
  "summary": "法定期限 2026-05-31 -> 休日のため 2026-06-01 に繰下げ",
  "tool": "jp-business-days",
  "unverified_rules": []
}

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/31250.json for the price and payment options.
  3. Pay. Call GET https://mart402.com/v1/jp-business-days. 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, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.003 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
5 calls · 4 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0030xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188120s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xE3244a21D0d68bFa78b7CAd8C3b8777aDFbB3188",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 120
  }
]

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 "https://mart402.com/v1/jp-business-days"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://mart402.com/v1/jp-business-days");
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.get("https://mart402.com/v1/jp-business-days")
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
mart402.com
Endpoint
https://mart402.com/v1/jp-business-days
Machine-readable
/resources/31250.json