{"uid":"cap_kFZFywJGNWIjbpzsMo_Gf","slug":"plexa-pre-trade-safety-check-eb9f53c6","name":"Plexa Pre-Trade 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. risk_profile: token age, holder concentration, liquidity, transfer limits. Not financial advice.","url":"https://api.getplexa.com/v1/pretrade/check","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_GToDsEZYk7mLxwHLH0yfF","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":"Returns an economic-safety verdict (ok/caution/avoid) for a Base-chain ERC-20 token, covering liquidity, holder concentration, honeypot/fee-on-transfer detection, oracle sanity, and an executable quote.","exampleAgentPrompt":"Before I buy, can you run a Plexa pre-trade safety check on this Base token — 0x1234567890abcdef1234567890abcdef12345678 — for a $2000 position, and tell me if it's ok, caution, or avoid?","exampleUseCases":null,"resultDescription":"A structured verdict object containing: a top-level safety rating (ok/caution/avoid), breakdown of liquidity structure, holder concentration metrics, token age, honeypot and fee-on-transfer detection flags, oracle price sanity result, and an executable swap quote for the requested USD notional size.","failureModes":["Invalid or non-Base ERC-20 address returns a 400/422 error","Token too new or insufficient on-chain data may yield an inconclusive verdict","Oracle data unavailable for illiquid tokens","Network congestion on Base may delay quote freshness","Payment failure (insufficient USDC or x402 protocol error) blocks the call"],"whenToPreferThis":"Use this endpoint when an AI agent or user wants to vet an unknown or suspicious ERC-20 token on Base before executing a trade — especially when honeypot detection, holder concentration, liquidity depth, and an actionable price quote are all needed in a single call. Prefer this over generic price feeds or DEX aggregators when safety/risk assessment is the primary concern, not just price discovery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:38:50.824Z","isFirstParty":false}