{"uid":"cap_l3BKGObXmHF5hY3u55qQr","slug":"evm-latest-block-and-gas-price-8e211e0c","name":"EVM Latest Block and Gas Price","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-block?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":{"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,"block":52559420,"chain":"base","chainId":8453,"txCount":130,"blockTime":"2026-10-13T16:16:27.000Z","ageSeconds":2,"baseFeeGwei":"0.005","gasPriceGwei":"0.006"},"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_-cJAOY5hy-TpeIPQqzlOc","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":"Returns the latest block number, transaction count, block time, and gas price for a specified EVM chain (Ethereum, Base, Arc, or BNB).","exampleAgentPrompt":"What's the current block number and gas price on Base right now?","exampleUseCases":[{"title":"Gas price check before transaction","prompt":"What's the current base fee and gas price on Ethereum in gwei? I want to know if it's cheap enough to send a transaction right now."},{"title":"Monitor block freshness on Arc","prompt":"Check the latest block on Arc and tell me how old it is in seconds — I need to know if the chain is producing blocks normally."},{"title":"BNB chain network snapshot","prompt":"Pull the latest block info for BNB chain — block number, transaction count, and current gas price."}],"resultDescription":"A JSON object with ok status, and a data object containing: block number, chain name, chain ID, transaction count in the latest block, block timestamp (ISO 8601), block age in seconds, base fee in gwei, and gas price in gwei. Also includes the amount paid (0.001 USDC).","failureModes":["Unsupported chain value returns an error (only ethereum, base, arc, bnb are valid)","RPC node unavailability for the requested chain may cause failure or stale data","Payment failure via x402 protocol will block the response","Network timeout if the underlying EVM node is slow to respond"],"whenToPreferThis":"Use this endpoint when you need real-time EVM chain state — specifically latest block number, gas price, and block freshness — across Ethereum, Base, Arc, or BNB chains in a single cheap call ($0.001 USDC). Prefer this over free public RPC calls when you need a hosted, reliable, payable API that integrates with the x402 payment protocol and covers multiple chains with a single interface.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T12:44:15.526Z","isFirstParty":false,"canonicalSlug":"evm-latest-block-and-gas-price-8e211e0c"}