{"uid":"cap_QaKfHQ3dF1RWdpjUYHWmm","slug":"mev-history-mcp-mtree-workers-dev-a8bf0eb7","name":"MEV History Sandwich Check API","description":"Paid mev history mcp route for autonomous agents. Returns JSON with provenance, route-specific evidence, and machine-readable fields. Buyer-intent match: sandwich check API, transaction MEV risk. Price 0.05 USDC on Base via x402. Demo/preview: https://mev-history-mcp.mtree.workers.dev/demo/sandwich_check. Contact: https://mev-history-mcp.mtree.workers.dev/contact.","url":"https://mev-history-mcp.mtree.workers.dev/v1/tx/sandwich_check","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"url":{"type":"string"},"query":{"type":"string"}},"additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.050000","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.050000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_b-v7vUc_8v6lzEBslHep8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a specific Ethereum transaction was sandwiched or exposed to MEV (Maximal Extractable Value) attack, returning structured JSON evidence with provenance.","exampleAgentPrompt":"Can you check if transaction 0xabc123...def456 was sandwiched or hit by any MEV attack? I want to see the evidence and risk assessment.","exampleUseCases":null,"resultDescription":"Returns a JSON object with MEV sandwich detection result, route-specific evidence, provenance metadata, and machine-readable fields indicating whether the transaction was sandwiched, front-run, or back-run by MEV bots.","failureModes":["Transaction hash not found or invalid — returns error with no MEV data","Transaction too recent to have indexed MEV history — may return empty or pending result","Network/chain not supported — error indicating unsupported chain","Payment not completed via x402 — 402 Payment Required response","Rate limit exceeded — HTTP 429 response","Malformed POST body — 400 Bad Request"],"whenToPreferThis":"Use this endpoint when you need to determine whether a specific on-chain transaction was subjected to a sandwich attack or other MEV exploitation, especially when you need structured, machine-readable evidence with provenance for autonomous agent workflows. Prefer this over generic block explorers when you need a deterministic yes/no MEV verdict with supporting data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:40:38.287Z","isFirstParty":false}