Pay per request
Get a free price for one RPC call or a batch. Pay with USDC using x402 batch settlement. You need a wallet and an approved budget. No account or RPC key is required.
What a call costs
The price depends on the method and the work you request. For example, asking Base for the latest block number, hash and timestamp with eth_getBlockByNumber("latest", false) costs 0.000004 USDC.
| Request | USDC per call |
|---|---|
| Chain ID or block number | 0.000003 |
| Block with transaction hashes | 0.000004 |
| Filtered logs over 10,000 blocks, where supported | 0.000013 |
A batch costs the sum of its calls. The HTTP 402 quote gives the exact total in millionths of USDC. A quoted amount of 4 means 0.000004 USDC.
Get a free quote
Send the JSON-RPC body without a payment. The chain ID in the URL selects the network to query. Check capabilities for supported methods, log ranges and batch limits on that network.
curl -sS 'https://rpc.solidrpc.io/x402/batch/evm/8453' \
-H 'Content-Type: application/json' \
--data '{"jsonrpc":"2.0","id":1,"method":"eth_getBlockByNumber","params":["latest",false]}'Fund once and pay per call
- Check the quote, its expiry, and the payment terms. Approve a spending limit.
- Reuse a funded channel or deposit USDC into escrow on the quoted payment network. The suggested deposit is 0.01 USDC. Funding needs ETH for gas. The deposit is separate from the RPC fee.
- Sign the voucher for the new cumulative amount with your wallet. Send the same RPC body with the signed payment and one payment identifier. A completed call costs its quoted price, including normal blockchain errors. A completed batch costs the full quote, including failed members.
To withdraw unused USDC, request a withdrawal and finalize it after 72 hours. Both transactions require gas.
Use SolidRPC pay-per-request with x402 batch settlement.
Read https://rpc.solidrpc.io/x402/batch/guide.md.
Get a free quote for my request. Show me the RPC fee and any deposit and gas needed before spending.
Keep signing local. Reuse the same signed payment if a response is lost.Recover a payment
Save the original request, payment identifier and signed payment privately. If the response is lost or pending, retry with those same details or check the receipt listed in the API reference. A new identifier starts a new purchase. Results are available for 24 hours.
For a supported signed transaction, approve the blockchain transaction separately and keep the original signed bytes for recovery.
For reusable RPC keys and account management, see agent account setup.