{"uid":"cap_t-ILo_m7Ym54BtaC2GGNA","slug":"chainray-mev-detect-9e33a84a","name":"ChainRay MEV Detect","description":"ChainRay /mev-detect","url":"https://chainray.online/mev-detect/:var1","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object"},"queryParams":{"type":"object","required":["txHash"],"properties":{"chain":{"type":"string","description":"Blockchain network"},"txHash":{"type":"string","description":"Transaction hash"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aBveYKfvL7gnRRszkI52o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects Miner Extractable Value (MEV) activity in a blockchain transaction by analyzing its transaction hash","exampleAgentPrompt":"Can you check if this Ethereum transaction was hit by MEV — sandwich attack, frontrunning, or anything like that? The tx hash is 0xabc123...def456.","exampleUseCases":[{"title":"Sandwich attack detection for a DeFi trade","prompt":"I just made a swap on Uniswap and I think I got sandwiched — can you check this transaction hash 0x4f3a...9b12 on Ethereum to see if it was an MEV sandwich attack?"},{"title":"MEV audit for a suspicious arbitrage transaction","prompt":"This transaction 0xd7e2...c031 on the Polygon network looks like it might be an arbitrage MEV bot. Can you analyze it and tell me what type of MEV was involved?"},{"title":"Post-trade MEV monitoring for a DeFi protocol","prompt":"Our protocol flagged transaction 0x88fa...4401 on Ethereum as potentially malicious — can you run an MEV detection check on it and tell me if it's frontrunning, backrunning, or a sandwich?"}],"resultDescription":"Returns an analysis of the specified transaction indicating whether MEV activity was detected, the type of MEV involved (e.g. sandwich attack, frontrunning, backrunning, arbitrage), and relevant on-chain details that support the classification.","failureModes":["Invalid or malformed transaction hash returns an error","Transaction not found on the specified chain","Unsupported blockchain network specified in the chain parameter","Transaction is too recent and not yet confirmed, preventing analysis","Rate limiting or payment failure returns 402"],"whenToPreferThis":"Use this endpoint when you need to determine whether a specific blockchain transaction was subject to MEV exploitation, such as sandwich attacks, frontrunning, or backrunning. Prefer this over generic block explorers when you need a structured, machine-readable MEV classification rather than raw transaction data. Particularly valuable for DeFi protocols, trading bots, or auditing tools that need to programmatically flag MEV incidents.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:33.464Z","isFirstParty":false}