{"uid":"cap_a278xkyth_Mb-CSCYwtvi","slug":"mev-recent-blocks-via-flashbots-relay-4802232b","name":"MEV Recent Blocks via Flashbots Relay","description":"Last N MEV-Boost-built blocks via the Flashbots relay. For each block: slot, block number/hash, builder pubkey, proposer pubkey, gas used/limit, ETH paid to the proposer, and tx count. Use to monitor block-builder market share, proposer revenue, or to correlate an arbitrage opportunity with the block it landed in.","url":"https://agent402.tools/api/mev-recent-blocks","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"number","description":"Number of recent blocks (1-100, default 20)."}}},"responseSchema":{"type":"json","example":{"count":1,"relay":"flashbots","blocks":[{"slot":12345678,"numTx":187,"gasUsed":14987654,"gasLimit":30000000,"valueEth":0.072345,"valueWei":"72345000000000000","blockHash":"0xabc...","parentHash":"0xdef...","blockNumber":22345678,"builderShort":"0x90000000…abcdef","builderPubkey":"0x9000...","proposerPubkey":"0xa000...","proposerFeeRecipient":"0x1234..."}],"avgEthPerBlock":0.072345,"totalEthToProposers":0.072345}},"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_9g5Eci-6g8gbpYFPFqPSt","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":"Returns the last N MEV-Boost-built blocks from the Flashbots relay, including slot, block metadata, builder/proposer pubkeys, gas stats, ETH paid, and tx count.","exampleAgentPrompt":"Pull the last 50 MEV-Boost blocks from the Flashbots relay so I can see which builders are most active, how much ETH proposers are earning, and the gas usage trends.","exampleUseCases":null,"resultDescription":"A list of up to 100 recent MEV-Boost-built blocks, each containing: slot number, block number and hash, builder pubkey, proposer pubkey, gas used, gas limit, ETH paid to proposer, and transaction count.","failureModes":["limit out of range (must be 1-100) returns validation error","Flashbots relay API unavailable causes upstream timeout","no recent blocks available returns empty list","invalid request body returns 400 error","payment not included or insufficient returns 402"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time data on recent MEV-Boost blocks from the Flashbots relay — especially for monitoring builder market share, proposer revenue trends, gas utilization, or block-by-block MEV activity on Ethereum. Prefer over block explorers when you need structured, machine-readable relay-specific metadata in bulk.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:44:20.989Z","isFirstParty":false}