{"uid":"cap_-JoElsUsGUQ-zd3aOq-8J","slug":"ethereum-json-rpc-proxy-via-x402-micropayment-454b3aa2","name":"Ethereum JSON-RPC Proxy via x402 Micropayment","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/api/v1/rpc/eth?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_qg1yhRkkyMTfJcV7Fu9Tl","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 JSON-RPC calls (e.g. eth_blockNumber, eth_getBalance, eth_call) via a pay-per-call proxy authenticated with x402 USDC micropayments on Base — no API key required.","exampleAgentPrompt":"What's the current ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? Use eth_getBalance with the latest block tag and pay the tiny per-call fee automatically.","exampleUseCases":[{"title":"Check wallet balance for trading bot","prompt":"What's the current ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 on Ethereum mainnet? I need this for my trading agent — use eth_getBalance at the latest block."},{"title":"Get latest Ethereum block number","prompt":"What's the latest Ethereum block number right now? Call eth_blockNumber with no params and pay the micropayment automatically."},{"title":"Read smart contract on-chain state","prompt":"Can you call eth_call on Ethereum to read the totalSupply of the USDC contract at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 — use the latest block and auto-pay the fee."}],"resultDescription":"A JSON-RPC 2.0 response object containing the result field (e.g. hex block number, hex balance, or call output), plus metadata: chain name, chain_id (1 for Ethereum mainnet), the upstream RPC URL used, and latency in milliseconds.","failureModes":["Invalid JSON-RPC method name returns an error result field","Malformed params array causes a parse error or invalid params response","x402 payment failure or insufficient USDC balance blocks the call with a 402 response","Upstream RPC node unavailable causes a gateway timeout or upstream error","Unsupported methods not proxied by this endpoint return method not found"],"whenToPreferThis":"Choose this endpoint when your AI agent needs to query Ethereum mainnet on-chain data (balances, block numbers, contract calls) without managing API keys, and can pay $0.002 USDC per call via x402 on Base. Ideal for lightweight trading or DeFi agents that need occasional RPC lookups without subscribing to a full RPC provider.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:39.281Z","isFirstParty":false,"canonicalSlug":"ethereum-json-rpc-proxy-via-x402-micropayment-454b3aa2"}