{"uid":"cap_DICSrKRlW7GZRfiAVhkrN","slug":"solmachina-slippage-map-c7c68afc","name":"SolMachina Slippage Map","description":"Before an AI agent executes on Solana, it asks SolMachina: risk + a decision (EXECUTE/REVIEW/REJECT) + an SMRI score + a signed receipt, paid per call over x402 in USDC. Trust-first — cites every source, says 'unknown' over guessing. No account, no API key.","url":"https://api.solmachina.com/v1/slippage-map","method":"GET","headers":{},"bodySchema":{"type":"object","required":["amount","inputMint","outputMint"],"properties":{"mults":{"type":"string","description":"Optional comma-separated size multipliers of the base amount (default 0.1,1,10,100; up to 8)."},"amount":{"type":"string","description":"Base units of inputMint for the 1x reference size (lamports for SOL, 1e6 per USDC)."},"inputMint":{"type":"string","description":"Base58 mint you are selling, e.g. So11111111111111111111111111111111111111112 (SOL)."},"outputMint":{"type":"string","description":"Base58 mint you are buying, e.g. EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v (USDC)."},"slippageBps":{"type":"integer","description":"Slippage tolerance in basis points for min-received, 0-5000 (default 50)."}}},"responseSchema":{"type":"object","properties":{"pair":{"type":"object","properties":{"inputMint":{"type":"string"},"outputMint":{"type":"string"}}},"depth":{"type":"object","properties":{"under1pct":{"type":"object","properties":{"maxUsd":{"type":"integer"}}},"under5pct":{"type":"object","properties":{"maxUsd":{"type":"integer"}}}}},"points":{"type":"array","items":{"type":"object","properties":{"band":{"type":"string"},"mult":{"type":"integer"},"swapUsdValue":{"type":"integer"},"sizeBaseUnits":{"type":"string"},"priceImpactPct":{"type":"number"}}}},"baseAmount":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JztKE0LcQ3QGnEQ4ULybh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a liquidity depth map for a Solana token pair, showing price impact at multiple trade sizes to reveal market depth and slippage risk.","exampleAgentPrompt":"Before I swap 1,000,000 lamports of SOL (So11111111111111111111111111111111111111112) for USDC (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), can you pull the SolMachina slippage map with size multipliers 0.1, 1, 10, and 100 so I can see how price impact scales up and whether there's enough depth to stay under 1%?","exampleUseCases":[{"title":"Pre-trade slippage check for large swap","prompt":"I'm about to swap 5,000,000,000 lamports of SOL into USDC on Solana — can you get the slippage map for that pair at multipliers 0.1, 1, 10, and 100 so I can see if the market depth is good enough to avoid more than 1% price impact?"},{"title":"Liquidity depth scan for a memecoin exit","prompt":"I hold a large bag of this Solana token (mint: DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) and want to sell into USDC — pull the SolMachina slippage map using a base amount of 1000000 with multipliers 1, 10, 100 so I can see how much I can offload before slippage blows past 5%."},{"title":"Automated agent trade-size optimizer","prompt":"My trading agent is deciding how much BONK to sell for USDC right now — fetch the slippage map for BONK (DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) to USDC with a base amount of 1000000 lamports and slippage tolerance of 100 bps, so it can pick the largest size that still falls under 1% price impact."}],"resultDescription":"Returns a structured slippage map with a 'pair' object identifying inputMint and outputMint, a 'depth' object showing the maximum USD tradeable under 1% and 5% price impact thresholds, a 'points' array with per-size-band entries (multiplier, swap USD value, size in base units, price impact percentage, and band label), and the baseAmount used as reference. This gives the agent a full picture of market depth and cost of liquidity at multiple trade sizes.","failureModes":["Unknown or illiquid mint address returns empty depth or error","Amount specified in wrong units (e.g. whole SOL instead of lamports) causes misleading results","Unsupported token pair with no on-chain DEX routes returns no data","Stale or low-liquidity pool data may cause inaccurate price impact estimates","Payment failure over x402 (insufficient USDC balance) blocks the request","Invalid Base58 mint address returns a 400 validation error","Too many multipliers (>8) causes request rejection"],"whenToPreferThis":"Use SolMachina Slippage Map when an AI agent or trader needs to assess Solana DEX liquidity depth before committing to a trade — especially for large or multi-size swaps where price impact risk is material. Prefer this over a simple quote endpoint when you need to understand the full slippage curve across trade sizes, not just a single quote. Ideal for pre-trade risk gating, position sizing, and automated agent decision-making on Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:44:29.855Z","isFirstParty":false}