{"uid":"cap_guFsKrtaYj_WuUZQuIaGy","slug":"eth-call-read-only-evm-contract-call-1bc2c2c8","name":"eth_call Read-Only EVM Contract Call","description":"Free APEX on X1, and free USDC plus APEX on Arc, three times a day. No gas, no sign-up. Plus a swap, a screener, APEX City and token checks.","url":"https://apexfaucet.xyz/api/x402/evm-call?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["to","data"],"properties":{"to":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Contract to call."},"data":{"type":"string","pattern":"^0x[0-9a-fA-F]{8,}$","description":"Hex calldata: 4-byte selector plus ABI-encoded arguments."},"from":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"Optional caller address."},"chain":{"enum":["ethereum","base","arc","bnb"],"type":"string","description":"Chain to read: ethereum, base, arc or bnb. Default ethereum."}}}}},"output":{"type":"object"}}},"responseSchema":{"type":"json","schema":{"type":"object","properties":{"ok":{"type":"boolean"},"data":{"type":"object"},"paid":{"type":"number"}}},"example":{"ok":true,"data":{"ok":true,"to":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","block":52559424,"chain":"base","result":"0x0000000000000000000000000000000000000000000000000000000000000006","reverted":false,"blockTime":"2026-10-13T16:16:35.000Z"},"paid":0.001}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nsDmEEwkNbZQpXJWwjrhs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes a read-only (view/pure) smart contract call on Ethereum, Base, Arc, or BNB Chain and returns the raw result","exampleAgentPrompt":"Call the balanceOf function on the USDC contract at 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 on Base for wallet 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 — give me the raw hex result.","exampleUseCases":[{"title":"Check ERC-20 token balance on-chain","prompt":"Read the USDC balance of address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045 by calling balanceOf on the USDC contract 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — give me the raw result."},{"title":"Query DeFi pool reserves on Base","prompt":"Call getReserves on the Uniswap V2 pair contract 0x4C36388bE6F416A29C8d8Eee81C771cE6bE14B18 on Base with calldata 0x0902f1ac so I can see the current liquidity pool reserves."},{"title":"Verify NFT ownership via contract call","prompt":"Check who owns token ID 1 on the NFT contract 0xBC4CA0EdA7647A8aB7C2061c2E118A18a936f13D on Ethereum — use ownerOf with the appropriate calldata and return the raw hex address."}],"resultDescription":"A JSON object with 'ok' boolean, and a 'data' object containing: 'ok' status, 'to' (contract address), 'block' (block number), 'chain' (network name), 'result' (raw hex return value), 'reverted' (boolean indicating if the call reverted), and 'blockTime' (ISO timestamp of the block). Also includes 'paid' showing the USDC amount charged (0.001).","failureModes":["Invalid contract address format returns validation error","Malformed or too-short calldata hex rejected by schema pattern","Contract call reverts — returned with reverted:true and empty result","Unsupported chain value (not ethereum/base/arc/bnb) causes request rejection","Contract does not exist at the specified address on the chosen chain","Payment of 0.001 USDC not completed — x402 payment required error","RPC node timeout or network congestion causes delayed or failed response"],"whenToPreferThis":"Use this endpoint when you need to read on-chain contract state across Ethereum, Base, Arc, or BNB Chain without running your own node or paying gas. It is ideal for agents that need to query ERC-20 balances, DeFi reserves, NFT ownership, or any other view/pure Solidity function. Prefer it over a full Web3 provider integration when you want a simple pay-per-call REST interface. Not appropriate for state-changing transactions — this is strictly read-only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:09:52.217Z","isFirstParty":false,"canonicalSlug":"eth-call-read-only-evm-contract-call-1bc2c2c8"}