$0.01
per call · USD Coin on Base
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.
Endpoint
GET https://anomaly.forgemesh.io/api/mempool-anomaly8
Calls / 30d
6
Unique payers / 30d
Sep 9
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://anomaly.forgemesh.io/api/mempool-anomaly", {
method: "GET",
});
const data = await res.json();curl -X GET \
"https://anomaly.forgemesh.io/api/mempool-anomaly?chain=ethereum" \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"chain": "ethereum",
"domain": "mempool",
"gas": {
"base_fee_gwei": 12.1,
"current_gwei": 45.2,
"median_20block_gwei": 14.5,
"ratio_vs_median": 3.12
},
"novelty": "high",
"peak_window": [
"GAS_SPIKE",
"BIG_SWAP",
"WHALE_PENDING",
"MEV_SIGNAL",
"PENDING_NORMAL"
],
"pending_count": 247,
"pending_stats": {
"big_swaps": 3,
"contract_deploys": 2,
"total_value_eth": 1823.5,
"whale_pending": 1
},
"sequence_score": 72,
"story": "MEV Attack"
}Payment details
0xe295b6641b32998537ae0f8e61babf729eaed6e5USD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Onchain Data and the homepage with a featured placement.
More from Forgemesh & similar services
Forgemesh · TTS Base
voice.forgemesh.io
Text-to-speech synthesis in 1 of 10 standard voices (5 male M1-M5, 5 female F1-F5) across 31 languages, up to 500 characters, returned as inline WAV audio. Use it to: give an agent a spoken reply, read an alert aloud, narrate a short UI prompt, add voice to a chatbot response, speak a confirmation message. Cheapest tier. USDC on Base via x402, no API key, no signup.
Forgemesh · Network Stats
ads.forgemesh.io
Returns network-wide totals: total x402 events, service count, and a UA classification breakdown (agent vs browser vs bot). Use it to benchmark your service's agent-traffic share against the network.
Forgemesh · Services
router.forgemesh.io
Search x402 service registry — broad q search plus health, score, category, tag, and tags filters