Jp Business Days
by Mart402 in Documents & files
Japan business days + statutory deadlines: holidays (equinox + substitute), business-day arithmetic, tax filing deadlines with holiday shift, wareki conversion. 1980-2099. $0.003/call.
https://mart402.com/v1/jp-business-days- Price
- $0.003
- per call in USDC
- Uptime
- 100%
- last 30 days
- Response time
- 427 ms
- 507 ms slowest 5%
- Last check
- Passed
- 39 min ago, next any minute now
Reliability
How to call it
POST https://mart402.com/v1/jp-business-days
Each call costs $0.003 in USDC on Base, paid with the request over x402.
Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.
Example request
From the listing.
POST https://mart402.com/v1/jp-business-days
content-type: application/json
{
"base_date": "2026-03-31",
"kind": "corporate_tax",
"mode": "deadline"
}Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
base_date | string | No | |
kind | string | No | |
mode | string | No |
Example response
The provider's example. We can't check it without paying.
Example response, 34 lines
{
"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": []
}Call it from code
The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.003.
curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://mart402.com/v1/jp-business-days' \
-H 'content-type: application/json' \
--data-raw '{"base_date":"2026-03-31","kind":"corporate_tax","mode":"deadline"}'
# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://mart402.com/v1/jp-business-days' \
-H 'content-type: application/json' \
--data-raw '{"base_date":"2026-03-31","kind":"corporate_tax","mode":"deadline"}' \
| grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decodeJavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
// Pays at most $0.003 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.003" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.003 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmart402.com%2Fv1%2Fjp-business-days&method=POST
const res = await pay("https://mart402.com/v1/jp-business-days", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({
"base_date": "2026-03-31",
"kind": "corporate_tax",
"mode": "deadline"
}),
});
console.log(res.status, await res.text());Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
# Pays at most $0.003 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.003"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))
with x402_requests(client) as session:
res = session.post(
"https://mart402.com/v1/jp-business-days",
json={
"base_date": "2026-03-31",
"kind": "corporate_tax",
"mode": "deadline",
},
)
print(res.status_code, res.text)Security scan
No findings
We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 39 min ago | Passed | 402 | 597 ms | $0.003 |
| 5 h ago | Passed | 402 | 446 ms | $0.003 |
| 9 h ago | Passed | 402 | 499 ms | $0.003 |
| 13 h ago | Passed | 402 | 482 ms | $0.003 |
| 18 h ago | Passed | 402 | 476 ms | $0.003 |
Show 10 older checks
| 22 h ago | Passed | 402 | 473 ms | $0.003 |
| 26 h ago | Passed | 402 | 476 ms | $0.003 |
| 30 h ago | Passed | 402 | 198 ms | $0.003 |
| 34 h ago | Passed | 402 | 507 ms | $0.003 |
| 37 h ago | Passed | 402 | 483 ms | $0.003 |
| 41 h ago | Passed | 402 | 420 ms | $0.003 |
| 45 h ago | Passed | 402 | 492 ms | $0.003 |
| 2 days ago | Passed | 402 | 454 ms | $0.003 |
| 2 days ago | Passed | 402 | 335 ms | $0.003 |
| 2 days ago | Passed | 402 | 382 ms | $0.003 |