{"uid":"cap_8K7dXPFPERQbzYbjU6TrQ","slug":"emc2ai-io-fd169451","name":"EMC2 AI MEV Detection","description":"Detect MEV activity: sandwich attacks, front-running, toxic flow analysis.","url":"https://emc2ai.io/x402/bitquery/mevdetection/raw","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","ethereum","bsc","arbitrum","polygon","optimism","solana"],"type":"string","description":"Blockchain to query (e.g., base, ethereum, bsc, solana)"},"limit":{"type":"string","description":"Maximum number of results to return (default: 10, max: 500)"},"timeperiod":{"enum":["1h","4h","24h","7d","30d"],"type":"string","description":"Time period for analysis (e.g., 1h, 24h, 7d, 30d)"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","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":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.45","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.45","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eMTYICp317O1Jymo5HVzt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.45","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects MEV activity on-chain including sandwich attacks, front-running, and toxic order flow analysis for a given transaction or block context.","exampleAgentPrompt":"Check if this Ethereum transaction 0xabc123... was a victim of a sandwich attack or front-running, and give me a toxic flow analysis for the token swap involved.","exampleUseCases":null,"resultDescription":"Returns structured MEV activity data including detected attack types (sandwich, front-running), involved bot addresses, affected transaction hashes, toxic flow scores, and timing/block-level context for the identified predatory activity.","failureModes":["Transaction hash not found or invalid returns 404 or empty result","Unsupported chain or DEX returns an error or empty dataset","Rate limiting or payment failure returns 402 or 429","Block too recent may not yet be indexed, returning incomplete data","Malformed request body returns 400 with validation error"],"whenToPreferThis":"Use this endpoint when you need to identify whether specific on-chain transactions were targeted by MEV bots, particularly sandwich attacks or front-running. Ideal for post-trade forensics, wallet risk auditing, or monitoring DEX activity for predatory behavior. Prefer this over generic blockchain explorers when you need structured MEV classification powered by Bitquery's indexing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:05:01.812Z","isFirstParty":false}