{"uid":"cap_d2-jIQyVA9aYzoA4EfPJg","slug":"x402-seller-onchain-liquidity-drain-detector-3dd6fa03","name":"x402-seller Onchain Liquidity Drain Detector","description":"Rug protection and decision-ready intelligence for autonomous trading agents. Keyless by design: no signup, no API key — pay a cent per request in USDC (x402). The /alpha/launches LAUNCH RADAR discovers what just launched AND rug-screens every candidate in one call, ranked per-token verdicts — the proactive 'give me safe alpha' call. /vet gives a single-token go/no-go in ONE call by fusing a COMPOSITE rug score (GoPlus static analysis + a LIVE Honeypot.is buy/sell simulation + serial-rugger check) with our SELF-COLLECTED liquidity-drain trend — a rug-in-progress signal that exists nowhere for free because it requires collecting reserves over time. One call is cheaper than the inference tokens you'd burn stitching 4 free APIs, and it stops your agent losing its whole position to a honeypot. Also: /onchain/liquidity drain detector, /screen batch watchlist check, /brief market regime, and raw feeds (prices, stocks, DEX pools, launches, perp funding/OI).","url":"https://x402-seller-m8nx.onrender.com/onchain/liquidity","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["address"],"properties":{"chain":{"enum":["base","eth","bsc","polygon","arbitrum","optimism"],"type":"string","default":"base"},"address":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"note":"liquidity falling fast — possible rug/exit in progress","chain":"base","address":"0x4ed4…","verdict":"draining_fast","data_points":63,"change_pct_1h":-31.4,"window_minutes":190,"change_pct_window":-44.2,"liquidity_usd_now":812000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mPofQylJRrYcK_xhPzVP3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Monitors and returns real-time liquidity reserve trends for a DEX token contract to detect in-progress rug pulls via liquidity drainage signals.","exampleAgentPrompt":"Check if liquidity is actively being drained from this token on Ethereum — contract address 0xABC123... — I want to know if a rug pull is happening right now.","exampleUseCases":[{"title":"Real-time rug pull detection for held position","prompt":"I'm holding a position in token 0xDEF456... on Base — can you check the onchain liquidity trend right now and tell me if reserves are draining or if it looks safe?"},{"title":"Watchlist token safety check before entry","prompt":"Before I buy into 0x789ABC... on Ethereum, can you pull the liquidity drain signal to see if anyone is already pulling reserves out of the pool?"},{"title":"Autonomous agent position protection","prompt":"Monitor the liquidity reserves on 0x1A2B3C... on BSC and alert me immediately if the drain trend looks like a rug is in progress — I need to know before my position is wiped."}],"resultDescription":"Returns a time-series of onchain liquidity reserve snapshots for the given token contract, with a derived drain trend signal indicating whether reserves are declining in a pattern consistent with an active rug pull. Because this data is self-collected over time, it surfaces a rug-in-progress signal unavailable from static APIs.","failureModes":["Invalid or non-existent contract address returns error or empty result","Unsupported chain identifier may return an error or fallback to default chain","Newly launched token with insufficient historical reserve data may return limited trend signal","Network latency or Render.com cold-start may cause slow first response","Contract address not associated with a DEX pool may return no liquidity data"],"whenToPreferThis":"Choose this endpoint when you need to detect an active, in-progress liquidity drain (rug pull) for a specific token contract in real time. Unlike static rug-check APIs (GoPlus, Honeypot.is), this endpoint uses self-collected reserve time-series data to identify declining liquidity trends as they happen — a signal that cannot be obtained from free one-shot APIs. Prefer this when you already hold or are monitoring a specific token and need continuous or on-demand drain detection, rather than a comprehensive multi-signal rug screen (use /vet for that).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:44.968Z","isFirstParty":false}