{"uid":"cap_oasOno9kF_-ck3gyfYOi9","slug":"base-block-explorer-search-48c45e95","name":"Base Block Explorer Search","description":"Pay-per-call x402 APIs for AI agents: OpenAI-compatible LLM chat, perp funding and arbitrage spreads, crypto prices, gas, FX, Solana SPL mint audit, token price by contract, x402 delivery-receipt verification, web search, clean page extraction, batch tools and deterministic code-security scanning. USDC on Base or Solana, no signup, no API key, from $0.0001 a call.","url":"https://scanpay-edge.alextaghiashvili.workers.dev/api/v1/base-block-explorer-search?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":{"block":{"anyOf":[{"type":"integer","maximum":999999999,"minimum":0},{"type":"string","pattern":"^[0-9]{1,10}$"}],"description":"Decimal block number >= 0 and < 1e9; omit both selectors for latest"},"block_hash":{"type":"string","pattern":"^0x[0-9a-fA-F]{64}$","description":"Block hash; takes precedence over block"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"hash":"0xabababababababababababababababababababababababababababababababab","size":15000,"found":true,"miner":"0x0000000000000000000000000000000000000000","cached":false,"number":20000000,"network":"eip155:8453","product":"scanpay.base_block","as_of_ms":1720000000000,"gas_used":10000000,"gas_limit":30000000,"price_usd":0.001,"timestamp":1720000000,"parent_hash":"0xcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd","explorer_url":"https://basescan.org/block/20000000","base_fee_gwei":0.001,"timestamp_iso":"2024-07-03T09:46:40+00:00","transactions_count":100}},"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_bZCVl7cNRTD0V_9841KVO","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":"Look up a Base (L2) block by number or hash to retrieve timestamp, transaction count, gas used/limit, base fee, and explorer link — or fetch the latest block if no selector is given.","exampleAgentPrompt":"Can you look up Base block number 20000000 and tell me its timestamp, how many transactions it included, and the gas used?","exampleUseCases":[{"title":"Verify block confirmation timing","prompt":"I need to know exactly when Base block 21500000 was mined — can you fetch its timestamp and give me a link to view it on BaseScan?"},{"title":"Audit gas usage in a block","prompt":"Can you pull up Base block 19800000 and tell me the gas used vs gas limit, and what the base fee was in gwei?"},{"title":"Inspect the latest Base block","prompt":"What's the most recent block on the Base network right now? Give me the block number, transaction count, and timestamp."}],"resultDescription":"A JSON object containing: block number, block hash, parent hash, miner address, block size, transaction count, gas used, gas limit, base fee in gwei, Unix timestamp, ISO timestamp, explorer URL (basescan.org), network identifier (eip155:8453), whether the result was cached, and price paid in USD.","failureModes":["Block number out of range (>= 1e9) returns validation error","Invalid block hash format (not 0x + 64 hex chars) returns schema error","Block not yet confirmed returns not found response","Network connectivity issues to Base RPC may result in timeout","Non-existent block hash returns found:false in response"],"whenToPreferThis":"Use this endpoint when you specifically need on-chain block metadata for the Base (Coinbase L2) network — timestamp, gas stats, base fee, or a direct BaseScan explorer link. Prefer it over generic Ethereum block lookers when targeting Base (eip155:8453) specifically. It accepts both block numbers and hashes, and defaults to the latest block with no input.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:12.463Z","isFirstParty":false,"canonicalSlug":"base-block-explorer-search-48c45e95"}