{"uid":"cap_QviEKC03nUskcwd-gkVXc","slug":"plexa-token-safety-check-5752cc82","name":"Plexa Token Safety Check","description":"Plexa /v1/pretrade/check — pre-trade token safety check on Base: can you still sell this token? avoid fires only on a trap proven on-chain now: no pool to exit into, an exit pot under 5% of your size, or the trading gate off (the honeypot shape). A drained pot is what a rug leaves behind — measured, not predicted. clear = no provable trap, NOT safe. Alias: same engine and price as /v1/pretrade/check.","url":"https://api.getplexa.com/v1/token-safety","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"chain":{"enum":["base","polygon","matic","arbitrum","arbitrum-one","arb","eip155:8453","eip155:137","eip155:42161"],"type":"string","description":"Optional, default \"base\". One of: base | polygon | matic | arbitrum | arbitrum-one | arb | eip155:8453 | eip155:137 | eip155:42161 — case-sensitive (see `enum`). The safety flags are Base-tuned, so a non-base value currently answers 422 rather than returning Base-calibrated flags for another chain."},"token":{"type":"string","pattern":"^0x[0-9a-fA-F]{40}$","description":"ERC-20 to vet before buying. 0x + 40 hex (see `pattern`) — a symbol like \"WETH\" is rejected with 400."},"sizeUSD":{"type":"string","pattern":"^(?:0\\.\\d*[1-9]\\d*|[1-9]\\d*(?:\\.\\d+)?)$","maxLength":78,"description":"Optional USD notional for the executable-quote sub-result, default \"1000\". A STRING, not a number; positive, no thousands separator (\"1,000\" is rejected) — see `pattern`."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/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_MQbBZKNE4iSIqtSEVmmLQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a token on Base can be sold by detecting on-chain exit traps such as empty liquidity pools, insufficient exit liquidity, or disabled trading gates (honeypot patterns).","exampleAgentPrompt":"Before I buy, can you run a Plexa token safety check on 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed on Base with a $2000 trade size to make sure I can actually sell it and there's no honeypot or liquidity trap?","exampleUseCases":[{"title":"Pre-buy honeypot check on Base","prompt":"I'm about to buy this Base token at 0x4ed4E862860beD51a9570b96d89aF5E1B0Efefed — can you check if it's a honeypot or if there's no way to sell it once I'm in? My position would be around $500."},{"title":"DeFi bot pre-trade gate","prompt":"My trading bot is about to execute a $10000 buy of 0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA on Base — run a pre-trade token safety check first to confirm I can exit and the trading gate isn't locked."},{"title":"Rug pull detection for new token","prompt":"This new token just launched on Base at address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 — can you check if the liquidity pool is already drained or if trading is disabled so I don't get rugged on a $250 buy?"}],"resultDescription":"Returns structured safety flags indicating whether a provable on-chain exit trap exists: no liquidity pool to exit into, exit liquidity under 5% of the requested trade size, or trading gate disabled (honeypot). Also returns an executable quote for the specified USD size. A 'clear' result means no provable trap was detected — not a guarantee of safety.","failureModes":["400 error if token address is a symbol (e.g. 'WETH') instead of a 0x hex address","422 error if a non-Base chain is specified (Base-tuned flags only, other chains unsupported)","400 error if sizeUSD uses a thousands separator like '1,000' instead of '1000'","Token address fails 0x + 40 hex pattern validation","Chain enum value is not exactly as specified (case-sensitive)"],"whenToPreferThis":"Use this endpoint when an AI agent or trading bot needs to verify on-chain exit conditions for a Base ERC-20 token before executing a buy, especially to detect honeypots, drained liquidity pools, or disabled trading gates. Prefer this over general token analytics when you need a definitive, measured (not predicted) on-chain trap check with an executable quote for a specific USD size.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:38:25.570Z","isFirstParty":false}