{"uid":"cap_6hFnCL0H_O-fbsCFcKma4","slug":"onchaininja-mev-detection-b60cdcd8","name":"OnChaiNinja MEV Detection","description":"Alpha signals, whale tracking, rug scanning, and MEV protection across Base, Solana, Arbitrum, and more.","url":"https://x402ninja.vercel.app/api/mev/%7Bchain%7D/%7Btx%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"mevDetected":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"3","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":"$3/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"3","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"3","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lREdjjQ5ksroJckDgvOey","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"3","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects MEV (Maximal Extractable Value) activity and protection status for a specific transaction on a given blockchain chain","exampleAgentPrompt":"Check if transaction 0x4f3a8b2c...d91e on Base was targeted by MEV bots or sandwich attacks.","exampleUseCases":null,"resultDescription":"A JSON object with a mevDetected boolean flag indicating whether MEV activity was identified for the given transaction, potentially including details about the type of MEV exploit detected.","failureModes":["Invalid chain identifier returns error or empty response","Malformed or non-existent transaction hash returns error","Unsupported chain returns not-found or error response","Payment failure ($3 USDC required) returns 402 Payment Required","Transaction too recent may not yet be indexed"],"whenToPreferThis":"Use this endpoint when you need to verify whether a specific transaction on Base, Solana, or Arbitrum was subjected to MEV exploitation such as sandwich attacks or front-running, especially before or after executing high-value DeFi trades.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-12T00:30:01.749Z","isFirstParty":false}