x402 — Pay per Call
Use RPC on 18 chains and pay for each request in USDC or EURC. You need no RPC key or monthly plan.
Pay with
USDC on Solana
USDC on Base
EURC on Base
Whichever chain you call, you pay with a stablecoin on Solana or Base. You need no SOL or ETH for network fees.
bash
What you can do with x402
- Call 18 chains at one host, each at its own route.
- Pay for every chain's RPC with one stablecoin from one wallet.
- See the price before you pay. The 402 response states it, and /pricing lists each route's method prices for free.
- Pay nothing for a request x402.erpc.global refuses. It checks the method, the body and the batch size before it asks for payment.
- Check the transaction you paid with. Every request x402.erpc.global sends on to the chain comes back with a settlement receipt in the X-Payment-Response header, naming that transaction and the network it settled on, Solana or Base.
How a paid request works
- Send the RPC request as usual. x402.erpc.global answers 402 Payment Required, with the price and the payment options.
- Your x402 client, the software that turns the 402 into a payment signed from your wallet, signs a payment for that price: a USDC transfer on Solana, or a USDC or EURC transfer authorization on Base.
- Send the same request again, with the signed payment in the X-Payment header.
- Once the payment is verified and settled, x402.erpc.global sends the request on to the chain and returns the answer with the receipt in the X-Payment-Response header.
Whichever chain you call, the payment settles on Solana or Base.
Chains and routes
Every route takes HTTP POST at https://x402.erpc.global. JSON-RPC routes take a single call or a batch of up to 100 calls.
WebSocket subscriptions, such as
eth_subscribe, are not sold.Payment options
Each 402 response also carries a
howToPay block with the stablecoins that request accepts and their contract addresses, so an agent can pay from the response alone.Free endpoints
Scope of use
The paid routes on this page are for paying ERPC RPC usage fees through x402. They do not provide crypto asset exchange, brokerage, custody or wallet services.






