{"uid":"cap_IBBRj8ews1e9eTpy5ChoD","slug":"vextorium-pre-trade-check-9ac660f4","name":"Vextorium Pre-Trade Check","description":"Before buying or selling a token: risk verdict (contract powers, honeypot pattern, age), main pool liquidity, estimated price impact for your USD amount, recommended slippage and a decision (ok, caution, avoid). Base, Ethereum, Arbitrum, Optimism, Polygon or Solana.","url":"https://api.vextorium.com/v1/pre-trade-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["token"],"properties":{"side":{"enum":["buy","sell"],"type":"string"},"token":{"type":"string"},"network":{"enum":["base","ethereum","arbitrum","optimism","polygon","solana"],"type":"string"},"amount_usd":{"type":"number"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":["object","null"],"properties":{"note":{"type":["string","null"]},"risk":{"type":["object","null"],"properties":{"level":{"type":["string","null"]},"score":{"type":["number","null"]},"signals":{"type":["array","null"],"items":{}}}},"side":{"type":["string","null"]},"token":{"type":["string","null"]},"symbol":{"type":["string","null"]},"network":{"type":["string","null"]},"reasons":{"type":["array","null"],"items":{"type":["null","string"]}},"decision":{"type":["string","null"]},"main_pool":{"type":["object","null"],"properties":{"dex":{"type":["string","null"]},"link":{"type":["string","null"]},"pair":{"type":["string","null"]},"price_usd":{"type":["number","null"]},"liquidity_usd":{"type":["number","null"]}}},"amount_usd":{"type":["number","null"]},"estimated_impact_pct":{"type":["number","null"]},"recommended_slippage_pct":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"note":"Impact estimated with a constant-product model on the main pool; aggregators that split the order can improve it. Not investment advice.","risk":{"level":"low","score":100,"signals":[]},"side":"buy","token":"0x532f27101965dd16442E59d40670FaF5eBB142E4","symbol":"BRETT","network":"base","reasons":["no relevant alerts"],"decision":"ok","main_pool":{"dex":"aerodrome","link":"https://dexscreener.com/base/0x4e829f8a5213c42535ab84aa40bd4adcce9cba02","pair":"0x4e829F8A5213c42535AB84AA40BD4aDCCE9cBa02","price_usd":0.00587,"liquidity_usd":873403},"amount_usd":5000,"estimated_impact_pct":1.132,"recommended_slippage_pct":2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lr9QSqwutfls2IdnHkbJF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates a token trade before execution, returning a risk score, decision, price impact estimate, recommended slippage, and main liquidity pool details for buy or sell orders on EVM chains and Solana.","exampleAgentPrompt":"Before I buy $5000 worth of BRETT (0x532f27101965dd16442E59d40670FaF5eBB142E4) on Base, can you run a pre-trade check to tell me the risk score, estimated price impact, and what slippage I should set?","exampleUseCases":[{"title":"Safe swap check before DEX trade","prompt":"I want to buy $2000 of this token at address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum — can you check if the trade looks safe, what the price impact will be, and what slippage I should use?"},{"title":"Large sell order risk assessment","prompt":"I'm about to sell $50,000 worth of a token on Arbitrum at address 0x912CE59144191C1204E64559FE8253a0e49E6548 — run a pre-trade check and tell me if it's high risk and what impact that size will have on the pool."},{"title":"DeFi bot pre-trade validation","prompt":"Before my trading bot executes a buy of $1000 of 0x4d224452801ACEd8B2F0aebE155379bb5D594381 on Polygon, check the risk signals, liquidity on the main pool, and give me the recommended slippage so I don't get rekt."}],"resultDescription":"Returns a structured JSON object containing: a trade decision (e.g. 'ok' or a warning), risk level (low/medium/high), numeric risk score (0-100), array of risk signals, list of reasons or alerts, the main liquidity pool info (DEX name, pair address, price in USD, liquidity in USD, DexScreener link), estimated price impact percentage using a constant-product model, and recommended slippage percentage. Also echoes back the token, symbol, network, side, and amount_usd from the request.","failureModes":["Token address not found or not traded on specified network — returns null pool or error","Unsupported network provided — validation error on enum field","Missing required 'token' field — 400 bad request","Very low liquidity token where impact model cannot be computed — may return null impact fields","Network congestion causing stale pool data — impact estimates may be inaccurate","x402 payment failure — request rejected before processing"],"whenToPreferThis":"Use this endpoint when an AI agent or DeFi bot needs to assess trade safety and price impact before executing a swap on-chain. It is ideal for pre-trade validation workflows where you want a risk score, recommended slippage, and liquidity check in a single call across Base, Ethereum, Arbitrum, Optimism, Polygon, and Solana. Prefer this over generic token info APIs when you specifically need trade-execution-oriented outputs (impact %, slippage recommendation, go/no-go decision).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:51:54.434Z","isFirstParty":false,"canonicalSlug":"vextorium-pre-trade-check-9ac660f4"}