{"uid":"cap_KkAkx29TKFlcxRwhso4eR","slug":"ethereum-mainnet-json-rpc-via-x402-pay-per-call-e6053aa0","name":"Ethereum Mainnet JSON-RPC via x402 (Pay-per-call)","description":"Pay-per-call Ethereum mainnet (chain 1) JSON-RPC, no API key, no account, paid in Base USDC: GET ?method=eth_call&params=[...] or POST a standard JSON-RPC body; POST a batch of up to 10 calls for ONE $0.002 payment (vs ~$0.01 per call at other x402 mainnet RPC APIs). Methods: eth_blockNumber, eth_chainId, eth_call, eth_estimateGas, eth_getBalance, eth_getTransactionCount, eth_getCode, eth_getStorageAt, eth_getTransactionByHash, eth_getTransactionReceipt, eth_getBlockByNumber,...","url":"https://kr-x402-mvp.kgy5612.workers.dev/crypto/eth-rpc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"method":{"type":"string","examples":["eth_blockNumber","eth_getBalance","eth_call"],"description":"JSON-RPC method (default eth_blockNumber)"},"params":{"type":"string","examples":["[]","[\"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045\",\"latest\"]"],"description":"URL-encoded JSON array of params (default [])"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"id":1,"chain":"ethereum","result":"0x16a3f2b","jsonrpc":"2.0","chain_id":1,"upstream":"https://ethereum-rpc.publicnode.com","latency_ms":92}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_paEbms22ig9cD8LvTGz_i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes Ethereum mainnet JSON-RPC calls (eth_call, eth_getBalance, etc.) on a pay-per-call basis using Base USDC via the x402 protocol, with no API key required.","exampleAgentPrompt":"What's the current ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? Use eth_getBalance with 'latest' block — pay per call with USDC on Base.","exampleUseCases":[{"title":"Check wallet ETH balance onchain","prompt":"Look up the ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet right now using eth_getBalance."},{"title":"Read smart contract return value","prompt":"Call the balanceOf function on the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 for my address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 using eth_call on Ethereum mainnet."},{"title":"Confirm transaction was mined","prompt":"Can you fetch the transaction receipt for 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060 on Ethereum mainnet so I can confirm it was included in a block?"}],"resultDescription":"A JSON-RPC 2.0 response object containing: id, jsonrpc version, the result field (hex-encoded or structured data depending on method), chain name ('ethereum'), chain_id (1), the upstream RPC URL used, and latency in milliseconds.","failureModes":["Invalid JSON-RPC method name returns an error object with code and message","Malformed params array causes a parse error response","Calling a non-existent contract method may return 0x or revert","Payment not received or insufficient USDC results in 402 Payment Required","Rate limits or upstream node unavailability may cause transient 503 errors","eth_sendRawTransaction and write methods are not supported (read-only)"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to read Ethereum mainnet state (balances, contract data, receipts) without setting up an Alchemy/Infura account, especially in agentic pay-per-call workflows using x402/USDC micropayments. Batch up to 10 calls for a single $0.002 payment, making it significantly cheaper than comparable x402 RPC APIs at ~$0.01/call. Ideal for autonomous agents that need occasional Ethereum data without subscription overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:55.539Z","isFirstParty":false,"canonicalSlug":"ethereum-mainnet-json-rpc-via-x402-pay-per-call-e6053aa0"}