{"uid":"cap_dz7jgCEadijrJTOgbIt2A","slug":"svm402-quote-gate-fcb6cfa5","name":"svm402 Quote Gate","description":"Analyze-then-quote gate for a swap an agent is about to make: runs the full deterministic analysis on the output mint (and the input mint when it is not SOL/USDC) — authorities, honeypot, taxes, liqu…","url":"https://svm402.com/quote-gate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","description":"Positive integer amount in base units"},"input_mint":{"type":"string","maxLength":44,"minLength":32,"description":"Solana token mint address (base58, 32-44 chars)"},"amount_side":{"enum":["in","out"],"type":"string"},"output_mint":{"type":"string","maxLength":44,"minLength":32,"description":"Solana token mint address (base58, 32-44 chars)"},"slippage_bps":{"type":"integer","maximum":500,"minimum":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.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_Jc93KnOc74lK4gmcBoIev","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Runs full on-chain safety analysis (honeypot, authorities, taxes, liquidity) on swap mints before returning a quote, blocking unsafe trades before execution.","exampleAgentPrompt":"Before I swap 1000000 USDC (input side) into the token at mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v with up to 50 bps slippage, run the full safety gate on that output mint and give me a quote only if it passes.","exampleUseCases":[{"title":"Pre-swap honeypot screening for meme token","prompt":"I want to swap 500000000 base units of SOL (input side) into the meme token at mint 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU with 100 bps slippage — run the safety analysis on that output mint first and only give me a quote if it's clean."},{"title":"Agent auto-trading guard rail","prompt":"My trading bot is about to buy the token at mint 4k3Dyjzvzp8eMZWUXbBCjEvwSkkk59S5iCNLY3QrkX6R using 2000000 USDC on the input side with 30 bps slippage — gate the quote through the full honeypot and authority check before returning it."},{"title":"Liquidity and tax verification before swap","prompt":"Check whether the token at output mint 9n4nbM75f5Ui33ZbPYXn59EwSgE8CGsHtAeTH5YFeJ9E is safe to swap into — I'm putting in 100000000 base units from the input side with 200 bps slippage — flag any tax traps or locked liquidity issues before quoting."}],"resultDescription":"Returns a swap quote contingent on passing the deterministic safety analysis — includes the quote details (price, route, expected output) alongside the full token analysis report covering authority flags, honeypot detection result, buy/sell tax rates, liquidity depth, and an overall risk score for the output mint (and input mint if non-SOL/USDC). If the token fails the safety gate, the quote is withheld.","failureModes":["Invalid or unrecognized mint address (non-base58, wrong length) returns validation error","Token with no on-chain liquidity data causes analysis failure","Slippage_bps outside 0-500 range rejected","Amount of zero or non-positive integer rejected","Output mint fails safety gate — quote withheld with risk details returned","Jupiter routing unavailable for the requested pair","Payment of 0.05 USDC not received — 402 response blocking the call"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to execute or propose a Solana token swap and must screen for honeypots, malicious authorities, hidden taxes, or illiquid rugs before committing. It combines safety analysis and swap quoting into one atomic call, eliminating the need to chain a separate risk-check endpoint with a quoting endpoint. Prefer it over raw Jupiter quotes whenever the output token is unknown, newly listed, or not SOL/USDC, and you need a trust gate in the critical path of trade execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:33:07.055Z","isFirstParty":false,"canonicalSlug":"svm402-quote-gate-fcb6cfa5"}