yen402
A free, open x402 facilitator for JPYC — the yen stablecoin. No API key. No account. No fees.
Point your x402 middleware at https://yen402.com and your
API can charge in yen. Buyers pay with an EIP-3009 signed authorization,
so they need no gas — yen402 sponsors the on-chain settlement.
Use it
FACILITATOR_URL=https://yen402.com
That is the whole setup. There is nothing to register: the recipient of a payment is the address the buyer signed, so the facilitator has no need to know who you are — and no ability to send your money anywhere else.
Endpoints
| Method | Path | What it does |
|---|---|---|
POST | /verify |
Validate an EIP-3009 payment authorization. Read-only. |
POST | /settle |
Validate, then broadcast transferWithAuthorization. yen402 pays the gas. |
GET | /supported |
Chains, asset, and every limit below — as JSON. |
GET | /health |
Health check. |
Chains
JPYC is deployed at the same address on every chain below —
0xe7c3d8c9a439fede00d2600032d5db0be71c3c29, 18 decimals,
EIP-3009.
| Chain | Network |
|---|---|
| Polygon | eip155:137 |
| Kaia | eip155:8217 |
| Polygon Amoy (testnet) | eip155:80002 |
Limits
yen402 pays the gas for every settlement, so the subsidy is bounded —
and the bounds are published here rather than hidden behind a signup.
Live values are in /supported.
- Rate limit — 4 requests/second, 480/minute, per IP and per payer.
-
Sponsored gas — 5,000 settlements/day on each of
Polygon and Kaia, resetting at 00:00 UTC. But the budget only caps the
rate: what actually bounds it is the gas in our wallet.
/supportedreports, read live from the chain, how many settlements we can still pay for — and says so plainly when we cannot. We will not let you find out at the moment money moves. - Minimum settlement — ¥1, so sponsored gas stays a small fraction of the payment.
Ethereum and Avalanche are not offered here. The code settles there fine, but L1 gas costs orders of magnitude more than the micropayments x402 exists for — sponsoring it is a leak, not a service.
Need more than that? Don't ask us for a quota — run your own. The facilitator is MIT-licensed and deploys to Vercel in a few minutes.
Source
github.com/kakedashi3/x402-jpyc — MIT. Issues and pull requests welcome.