{"uid":"cap_tSJn2ppuhvg6BEY70vc4u","slug":"solana-token-pre-trade-safety-check-fce7edc8","name":"Solana Token Pre-Trade Safety Check","description":"All-in-one Solana pre-trade decision in ONE call: BUY-SAFE/CAUTION/AVOID fusing four scored modules — token security, EXECUTABLE liquidity depth (estimated slippage at $100/$1k/$10k), deployer history/control and holder concentration. Should I buy or avoid this Solana token? Full token due-diligence in one call — replaces 3-4 lookups; built for a trading / sniping agent's risk-review pipeline. Solana trading safety decision and buy/avoid verdict.","url":"https://x402-endpoints.onrender.com/solana/pre-trade","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["mint"],"properties":{"mint":{"type":"string","description":"SPL token mint address (base58) to evaluate before buying"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"error":null,"query":{"mint":"EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm"},"cached":false,"market":{"dex":"raydium","symbol":"WIF","fdv_usd":9000000,"liquidity_usd":320000,"pool_age_hours":5200,"volume_24h_usd":1200000,"price_change_24h_pct":4.1},"modules":{"token_security":{"status":"ok","sub_score":70,"static_flags":[],"behavioral_flags":[],"behavioral_status":"ok"},"liquidity_depth":{"note":"Estimated from pooled liquidity via a constant-product model; real slippage depends on routing.","status":"ok","reasons":[{"code":"MODERATE_DEPTH","label":"~0.6% impact on a $1k trade","weight":0.2}],"sub_score":70,"liquidity_usd":320000,"slippage_estimates":[{"trade_usd":100,"est_price_impact_pct":0.06},{"trade_usd":1000,"est_price_impact_pct":0.62},{"trade_usd":10000,"est_price_impact_pct":5.88}]},"deployer_history":{"note":"Deployer no longer controls the mint.","status":"renounced","reasons":[{"code":"AUTHORITIES_RENOUNCED","label":"Mint & freeze authority renounced","weight":-0.4}],"sub_score":80,"controller":null},"holder_concentration":{"note":"Largest account may be an AMM/LP pool, not a malicious whale.","status":"ok","reasons":[{"code":"MODERATE_CONCENTRATION","label":"Top account 34%","weight":0.2}],"sub_score":60,"top1_share":0.34,"top5_share":0.58}},"reasons":[{"code":"MODERATE_DEPTH","label":"~3.1% impact on a $1k trade","weight":0.2},{"code":"AUTHORITIES_RENOUNCED","label":"Mint & freeze authority renounced — deployer retains no control","weight":-0.4}],"verdict":"CAUTION","timestamp":"2026-06-29T12:00:00Z","confidence":0.75,"disclaimer":"All-in-one pre-trade decision (security + executable depth + deployer + concentration). Heuristic, not advice. Always DYOR.","data_freshness":{"as_of":"2026-06-29T12:00:00Z","sources":["Solana RPC","DexScreener"],"age_seconds":0,"kill_switch":false,"retrieved_at":"2026-06-29T12:00:00Z","deterministic":false,"behavioral_status":"ok"},"module_weights":{"token_security":0.4,"liquidity_depth":0.25,"deployer_history":0.2,"holder_concentration":0.15},"composite_score":64}},"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_FncyR7mQKxeZW9dzUdIDA","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":"Evaluates a Solana SPL token mint address for rug pull risk, honeypot flags, liquidity depth, deployer history, and holder concentration before buying, returning a structured PROCEED/CAUTION/AVOID verdict.","exampleAgentPrompt":"Before I buy any of this token, run a full pre-trade safety check on Solana mint EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm — I want to know if it's a rug or honeypot, what the slippage looks like on a $1k trade, and whether the deployer still controls the mint.","exampleUseCases":null,"resultDescription":"Returns a structured JSON verdict (PROCEED, CAUTION, or AVOID) with a confidence score (0-1), per-module sub-scores and flags for token security (rug/honeypot static and behavioral flags), liquidity depth with slippage estimates at $100/$1k/$10k trade sizes, deployer authority status (renounced or not), holder concentration (top-1 and top-5 share), and market data (DEX, symbol, FDV, liquidity USD, pool age, 24h volume, price change). Also includes timestamped data freshness metadata and source provenance.","failureModes":["Invalid or non-existent mint address returns an error field with a descriptive message","Token not found on supported DEXes (Raydium etc.) may return incomplete market module data","Very new or illiquid tokens may have insufficient on-chain data for full scoring","Network/RPC unavailability may cause stale or missing data freshness fields","Payment failure (insufficient USDC or wrong chain) prevents endpoint access entirely"],"whenToPreferThis":"Use this endpoint when an AI agent needs a single all-in-one pre-trade risk verdict for a Solana SPL token — covering security, liquidity, deployer, and concentration in one call — rather than assembling individual signals from separate APIs. Prefer this over generic blockchain explorers when you need structured machine-readable verdicts with weighted scoring rather than raw on-chain data. Ideal for autonomous trading agents, DeFi copilots, or wallet UIs that need to gatekeep token purchases based on risk level.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:34.218Z","isFirstParty":false}