{"uid":"cap_Ot5CJqjTLX7oMtfr8HpTc","slug":"httpay-xyz-31df1def","name":"httpay.xyz MEV Scanner","description":"MEV Scanner — detects MEV activity (sandwich attacks, arbitrage) in recent blocks by analyzing swap density and transaction patterns. Params: ?chain=base&blocks=10. Demo: ?demo=true.","url":"https://httpay.xyz/api/mev-scanner","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"json","example":{"description":"MEV Scanner — detects MEV activity (sandwich attacks, arbitrage) in recent blocks by analyzing swap density and transaction patterns. Params: ?chain=base&blocks=10. Demo: ?demo=true."}},"example":{"request":{"chain":"base","blocks":10},"response":{"tip":"MEV (Maximal Extractable Value) represents value extracted by block producers/searchers. High sandwich counts mean users are being front-run. Add ?demo=true for pre-computed sample.","meta":{"x402":true,"poweredBy":"Alfred Zhang 🫡"},"chain":"base","sources":["Base RPC (eth_getBlockByNumber)","Basescan Logs API"],"fetchedAt":"2026-06-13T04:05:53.922Z","blockRange":{"to":47267103,"from":47267094},"topMevBots":[],"mevActivity":{"totalMevTxs":0,"arbitrageTxs":0,"sandwichAttacks":0,"estimatedMevProfitUsd":"$0.00"},"flaggedBlocks":[],"blocksAnalyzed":10,"anomalyThreshold":10,"avgSwapsPerBlock":0,"totalSwapsScanned":0}},"exampleRequest":{"chain":"base","blocks":10},"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Mg983i8YPMx7qA8Dev026","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects MEV activity including sandwich attacks and arbitrage in recent blockchain blocks by analyzing swap density and transaction patterns","exampleAgentPrompt":"Scan the last 10 blocks on Base for MEV activity — I want to know if there are any sandwich attacks or arbitrage bots operating right now.","exampleUseCases":[{"title":"Investigate if my transaction got sandwiched","prompt":"I just made a swap on Base and it felt expensive. Can you look back at the last few blocks and tell me if my transaction was sandwiched by MEV bots?"},{"title":"Monitor competitor arbitrage strategies","prompt":"We're tracking what arbitrage bots are doing on Base. Scan the recent blocks and show me the patterns — what opportunities are they exploiting and how often?"},{"title":"Audit exchange for MEV extraction","prompt":"Our exchange wants to ensure we're not being hit by front-runners. Check the last 20 blocks on Base for sandwich attacks and tell us how frequently they're happening."}],"resultDescription":"Returns detected MEV events (sandwich attacks, arbitrage) found in the scanned blocks, along with swap density metrics and transaction pattern analysis that reveal MEV bot activity.","failureModes":["Invalid chain parameter returns error","Unsupported chain identifier","blocks parameter out of allowed range","RPC node unavailable for the target chain","Payment not processed (x402 payment required)","Demo mode may return synthetic/limited data"],"whenToPreferThis":"Use this endpoint when you need a quick retrospective scan of recent blocks for MEV activity on Base or supported chains. Prefer this over the pre-swap MEV risk scorer when you want historical/forensic analysis rather than pre-trade risk assessment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:41:46.332Z","isFirstParty":false}