{"uid":"cap_8SnzpKIy0oVfwokSuWTb0","slug":"solana-token-swap-quote-via-jupiter-aggregator-9cd63f44","name":"Solana Token Swap Quote via Jupiter Aggregator","description":"Best route and price to swap one Solana token for another: how much you receive, the price impact and which DEXs the route goes through. Accepts symbols (SOL, USDC...) or mint addresses. Live from Jupiter, Solana's leading aggregator.","url":"https://api.vextorium.com/swap-solana-pago?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":["desde","hacia","cantidad"],"properties":{"desde":{"type":"string","description":"Token to sell (symbol or mint), e.g. SOL"},"hacia":{"type":"string","description":"Token to receive (symbol or mint), e.g. USDC"},"cantidad":{"type":"number","description":"Amount of the 'desde' token to swap (whole units)"}}},"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":{"nota":{"type":["string","null"]},"desde":{"type":["string","null"]},"hacia":{"type":["string","null"]},"fuente":{"type":["string","null"]},"precio":{"type":["number","null"]},"por_dex":{"type":["array","null"],"items":{"type":["null","string"]}},"cantidad_entrada":{"type":["number","null"]},"cantidad_recibida":{"type":["number","null"]},"impacto_precio_pct":{"type":["number","null"]}}}}}}},"responseSchema":{"type":"json","example":{"nota":"Mejor ruta estimada por Jupiter con 0,5% de slippage. La cantidad final puede variar al ejecutar. No es recomendación de inversión.","desde":"SOL","hacia":"USDC","fuente":"Jupiter (lite-api.jup.ag, datos abiertos de Solana)","precio":118.857385,"por_dex":["HumidiFi"],"cantidad_entrada":1,"cantidad_recibida":118.857385,"impacto_precio_pct":0.0309}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_niyQCm0jHOaTuFRS6N95S","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the best route and price to swap one Solana token for another, including amount received, price impact, and DEX routing, powered by Jupiter aggregator.","exampleAgentPrompt":"What's the best swap rate right now for 10 SOL to USDC on Solana — how much would I receive, what's the price impact, and which DEXs does the route go through?","exampleUseCases":[{"title":"Pre-trade slippage check for large swap","prompt":"I want to swap 500 SOL to USDC — before I do it, can you tell me how much USDC I'd receive, what the price impact is, and which DEXs the route would go through?"},{"title":"Compare token pair swap value","prompt":"How much JTO would I get if I swap 1000 USDC right now on Solana? Give me the price impact and routing details too."},{"title":"Arbitrage opportunity scan","prompt":"What's the current swap rate for 50 BONK to RAY on Solana via Jupiter? I want to know the exact output amount and price impact percentage."}],"resultDescription":"Returns a JSON object with: the source token (desde), destination token (hacia), input amount (cantidad_entrada), amount received (cantidad_recibida), price impact percentage (impacto_precio_pct), the DEXs in the route (por_dex), a price figure, the aggregator source (fuente), and any notes (nota).","failureModes":["Unknown or invalid token symbol returns null or error","Token mint address not recognized by Jupiter returns empty result","Extremely illiquid pairs may return null or very high price impact","Network latency from Solana RPC may cause timeouts","Amount of zero or negative values may return errors"],"whenToPreferThis":"Use this endpoint when you need a real-time, aggregated swap quote specifically on the Solana blockchain, especially when you want to compare routes across multiple DEXs via Jupiter. Prefer this over single-DEX price checks when minimizing slippage matters, or when you need to verify a swap's economic viability before execution. It accepts both human-readable symbols (SOL, USDC) and raw mint addresses, making it flexible for both user-facing agents and programmatic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:46:52.206Z","isFirstParty":false,"canonicalSlug":"solana-token-swap-quote-via-jupiter-aggregator-9cd63f44"}