{"slug":"anomaly-forgemesh-io-api-mempool-anomaly-c9da75","title":"Returns a real-time mempool anomaly score with current gas price vs 20-block med","host":"anomaly.forgemesh.io","method":"GET","resource":"https://anomaly.forgemesh.io/api/mempool-anomaly","category":"market","description":"Returns a real-time mempool anomaly score with current gas price vs 20-block median, pending whale swaps, and contract deploy counts. Poll every 5s to monitor mempool for MEV or sandwich attacks and catch gas spikes or large pending swaps as they happen, before they land on-chain.","price_listed":0.01,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":6,"reported_payers_30d":3,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"chain":"ethereum"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"chain":{"description":"Blockchain: ethereum or base (default: ethereum)","type":"string"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"properties":{"chain":{"type":"string"},"gas":{"type":"object"},"novelty":{"enum":["low","medium","high","extreme"],"type":"string"},"peak_window":{"items":{"type":"string"},"type":"array"},"pending_count":{"type":"integer"},"pending_stats":{"type":"object"},"sequence_score":{"description":"0=normal mempool, 100=highly anomalous","type":"integer"},"story":{"description":"Human-readable mempool anomaly label","type":"string"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Returns a real-time mempool anomaly score with current gas price vs 20-block median, pending whale swaps, and contract deploy counts. Poll every 5s to monitor mempool for MEV or sandwich attacks and catch gas spikes or large pending swaps as they happen, before they land on-chain.","last_updated":"2026-09-23T02:10:18.247Z","schemes":["exact"]}