{"uid":"cap_XiXdR7gJhvE6Zo_4EBD4v","slug":"forge-x402-solana-spread-route-quality-baa45d48","name":"forge-x402 Solana Spread & Route Quality","description":"Live Solana DEX data for trading agents: Jupiter route quality, venue spreads in bps, liquidity snapshots, new pairs, trending tokens. Pay per call via x402 with USDC on Base or Solana. No API keys.","url":"https://temporary-brisk-indigo-3tes07o.vercel.app/api/v1/solana/spread","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"amount":{"type":"string","description":"Input amount in raw units"},"inMint":{"type":"string","description":"Input token mint"},"outMint":{"type":"string","description":"Output token mint"}}},"responseSchema":{"at":"2026-09-01T00:00:00.000Z","legs":2,"amount":"100000000","inMint":"So11111111111111111111111111111111111111112","bestOut":"10391592","outMint":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","worstLegOut":"10388001","venueSpreadBps":3.46},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Fq7bUIHZD7FggKxsYc6Ty","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live Solana DEX venue spread in basis points and best/worst route output for a given token pair and amount via Jupiter aggregation","exampleAgentPrompt":"What's the current venue spread in basis points for swapping 100 SOL (mint So11111111111111111111111111111111111111112) to USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v), and is the Jupiter route quality good right now — amount is 100000000 raw units?","exampleUseCases":[{"title":"Pre-trade slippage check for large swap","prompt":"Before I swap 500 SOL to USDC, can you check the current Jupiter route spread in basis points and tell me the best versus worst leg output so I know if now is a good time to execute? Input mint is So11111111111111111111111111111111111111112, output mint is EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v, amount 500000000000 raw units."},{"title":"Automated trading bot spread monitor","prompt":"Every 30 seconds, check the venue spread in bps for swapping BONK (mint DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263) to USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) for an amount of 1000000000 raw units, and alert me if the spread exceeds 10 bps."},{"title":"Arbitrage opportunity detection","prompt":"Compare the Jupiter route spread for swapping mSOL (mint mSoLzYCxHdYgdzU16g5QSh3i5K3z3KZK7ytfqcJm7So) to USDC (mint EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) with an input of 50000000 raw units — I want to know how many legs the route uses and whether the spread is tight enough to make arbitrage worthwhile."}],"resultDescription":"Returns a JSON object with a timestamp, number of route legs, input amount, input and output mint addresses, best output amount, worst single-leg output amount, and the venue spread in basis points (e.g. 3.46 bps for SOL/USDC). The spread value indicates the cost of routing across DEX venues on Solana.","failureModes":["Invalid or unknown mint address returns an error or empty route","Illiquid token pairs may return no route or extremely high spread values","Very large amounts may fail if liquidity is insufficient for the requested size","Stale data if Jupiter aggregator is temporarily unavailable","Payment failure via x402 if USDC balance on Base or Solana is insufficient"],"whenToPreferThis":"Use this endpoint when you need real-time Solana DEX spread and route quality data for a specific token pair before executing a swap, or when monitoring market microstructure on Solana. It is ideal for trading agents that need pay-per-call pricing without API key management. Prefer this over generic price feeds when you specifically need venue spread in basis points and multi-leg route comparison via Jupiter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:39:56.991Z","isFirstParty":false}