{"uid":"cap_lFpMrB82wzqPW36RKhyTj","slug":"defi-oracle-mev-scanner-01bbf15e","name":"DeFi Oracle MEV Scanner","description":"DeFi data for AI agents — yield rates, swap routes, IL calculator, liquidation risk, MEV scanner, TVL tracking. Powered by DeFiLlama + on-chain RPC data. Pay with USDC on Base via x402.","url":"https://defi-oracle-two.vercel.app/api/mev-scan","method":"POST","headers":{},"bodySchema":{"type":"object","required":["chain"],"properties":{"chain":{"type":"string","description":"Chain to scan"},"blocks":{"type":"number","description":"Number of recent blocks (default 10)"}}},"responseSchema":{"type":"object","properties":{"chain":{"type":"string"},"block_range":{"type":"string"},"blocks_scanned":{"type":"number"},"mev_indicators":{"type":"array"},"potential_mev_blocks":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.15","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.15/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.15","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mYv7ogYLvmUn1RptCcZpW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.15","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans recent blocks on a specified blockchain for MEV (Miner Extractable Value) activity indicators and potential MEV blocks","exampleAgentPrompt":"Scan Ethereum for MEV activity over the last 20 blocks and tell me how many blocks showed signs of sandwich attacks or frontrunning.","exampleUseCases":null,"resultDescription":"Returns the chain scanned, block range covered, number of blocks analyzed, an array of MEV indicators (e.g. sandwich attacks, frontrunning events, arbitrage patterns), and a count of blocks flagged as potentially containing MEV extraction.","failureModes":["Unsupported chain name returns error or empty results","RPC node unavailability causes timeout or partial data","Very high block count requests may time out","Chain parameter missing returns validation error","Payment failure via x402 blocks the request"],"whenToPreferThis":"Use this endpoint when you need on-chain MEV detection for a specific blockchain over a recent block window, especially when you want structured indicator data per block rather than aggregate protocol-level statistics. Prefer this over general block explorers when you need MEV-specific classification and scoring across multiple block types.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:45:09.003Z","isFirstParty":false}