{"uid":"cap_Nlg2lyO8l44mKaa2t29zo","slug":"x402-chain-intel-mempool-sandwich-detector-59ef6caa","name":"x402 Chain Intel – Mempool Sandwich Detector","description":"27 paid endpoints for trading bots","url":"https://x402-chain-intel.vercel.app/api/mempool/sandwich?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KrIEuD-aa0aU8KodhZAGP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects sandwich attack opportunities or sandwich attacks targeting a given transaction in the mempool","exampleAgentPrompt":"Check the mempool right now for any sandwich attacks targeting transaction 0xabc123... on Ethereum — I want to know the attacker address, the front-run and back-run txs, and how much profit they extracted.","exampleUseCases":[{"title":"Pre-trade sandwich risk check","prompt":"Before I submit this swap on Uniswap, scan the mempool and tell me if my transaction 0xdef456... is likely to get sandwiched — I want the risk score and any bot addresses lurking around it."},{"title":"Post-trade MEV forensics","prompt":"My trade went through at a terrible price. Can you check if transaction 0x789abc... was sandwiched, and if so, who attacked it, what were the front-run and back-run transactions, and how much did the attacker profit?"},{"title":"Token-level sandwich monitoring","prompt":"I'm building a trading bot for token 0xTokenAddress... — can you scan the mempool for sandwich attack patterns on this token and tell me which MEV bots are most active against it?"}],"resultDescription":"Returns structured data about detected sandwich attacks including attacker wallet addresses, front-run and back-run transaction hashes, estimated MEV profit extracted, and a risk or severity score for the targeted transaction.","failureModes":["Transaction hash not found in mempool or already confirmed — returns empty result or 404","Invalid transaction hash format — returns 400 validation error","Mempool data unavailable due to node connectivity issues — returns 503","Payment not received or insufficient USDC — returns 402 payment required","Rate limit exceeded — returns 429 too many requests"],"whenToPreferThis":"Use this endpoint when you need real-time or near-real-time sandwich attack detection for specific transactions or tokens in the Ethereum mempool, especially for trading bots that need to protect swaps from MEV exploitation or conduct post-trade forensics on suspicious price impact.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:43:34.229Z","isFirstParty":false,"canonicalSlug":"x402-chain-intel-mempool-sandwich-detector-59ef6caa"}