{"uid":"cap_n0dywVu3K-keH96HA6EtH","slug":"mach-base-block-lookup-2574ab4f","name":"MACH Base Block Lookup","description":"Fast, low-cost Base data for autonomous agents. No API keys, no subscriptions; pay per call with USDC over x402.","url":"https://api.mach.gallery/api/base/block?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"block":{"anyOf":[{"type":"string"},{"type":"integer","minimum":0}],"description":"Base block selector: block number or tag such as latest, safe, finalized, pending or earliest."}}},"responseSchema":{"type":"json","example":{"block":{},"found":true,"network":"eip155:8453","block_number":36000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_261q6EUldLeZgf4A5Hg9L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a specific block from the Base mainnet blockchain by block number or hash, returning full block data","exampleAgentPrompt":"Can you look up block 36000000 on Base mainnet and show me the block data?","exampleUseCases":[{"title":"Verify transaction block existence","prompt":"I need to confirm that block 35999500 exists on Base mainnet — can you fetch it and tell me if it was found?"},{"title":"On-chain audit trail lookup","prompt":"Pull the full block data for Base block number 36000000 so I can audit what happened at that point in the chain."},{"title":"Historical block research","prompt":"I'm researching Base L2 activity — can you retrieve the block at height 30000000 and give me its details?"}],"resultDescription":"Returns a JSON object containing the full block data object, a boolean 'found' flag indicating whether the block exists, the network identifier (eip155:8453 for Base mainnet), and the resolved block number.","failureModes":["Block not found: returns found=false if the block number or hash does not exist on Base","Invalid input: non-numeric string or negative integer may return an error","Payment failure: x402 micropayment of $0.005 USDC must succeed before the response is returned","Network issues: upstream Base node unavailability may cause timeouts or errors"],"whenToPreferThis":"Choose this endpoint when you need to fetch a specific Base mainnet block by number or hash without setting up your own RPC node or managing API keys. It is ideal for lightweight, pay-per-call agent workflows that need occasional block lookups without a subscription. Prefer alternatives (e.g., a full Ethereum node or Alchemy/Infura) if you need high-volume batch queries, real-time streaming, or data from chains other than Base (eip155:8453).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T04:31:30.122Z","isFirstParty":false,"canonicalSlug":"mach-base-block-lookup-2574ab4f"}