{"uid":"cap_vElqfw4VYMME28ncRYxKM","slug":"dopaminedesk-solana-route-finder-e9755998","name":"DopamineDesk Solana Route Finder","description":"Fetch a current Jupiter route quote for Solana token mints and a base-unit amount. This does not sign or broadcast a transaction.","url":"https://ai-data-marketplace-1042299154756.us-central1.run.app/api/v1/solana_route","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"],"type":"string"},"queryParams":{"type":"object","required":["input_mint","output_mint","amount"],"properties":{"amount":{"type":"integer","description":"Amount of input token in its native decimals."},"input_mint":{"type":"string","description":"Mint address of the token to sell."},"output_mint":{"type":"string","description":"Mint address of the token to buy."},"slippage_bps":{"type":"integer","description":"Maximum allowed slippage in basis points."}},"additionalProperties":true}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["success","source","source_url","fetched_at","broadcast","quote","marketplace_metadata"],"properties":{"quote":{"type":"string"},"source":{"type":"string"},"success":{"type":"boolean"},"broadcast":{"type":"boolean"},"fetched_at":{"type":"string"},"source_url":{"type":"string"},"marketplace_metadata":{"type":"string"}},"additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{"quote":"[object with keys: inputMint, inAmount, outputMint, outAmount, otherAmountThreshold, swapMode; full example in /openapi.json]","source":"Jupiter Lite Quote API","success":true,"broadcast":false,"fetched_at":"2026-08-07T07:32:33.864Z","source_url":"https://dev.jup.ag/api-reference/swap/quote","marketplace_metadata":"[object with keys: data_mode, billable, availability, source; full example in /openapi.json]"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_oj3iSJ-V8o6HvWZvRLtou","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the optimal DEX swap route on Solana for a given token pair, expected output amount, and price impact.","exampleAgentPrompt":"Find the best Solana DEX swap route for selling 1000000000 lamports of SOL (mint So111...) to USDC (mint EPjFW...) with a maximum slippage of 50 basis points — show me which DEX, the expected output, and price impact.","exampleUseCases":[{"title":"Pre-trade route check before swapping","prompt":"Before I swap 500000000 units of SOL to BONK on Solana, find me the best DEX route with no more than 100 basis points slippage — I want to see which exchange handles it and what output to expect."},{"title":"Comparing price impact across token pairs","prompt":"What's the expected output and price impact if I sell 2000000 units of USDC (mint EPjFW...) for mSOL on Solana with 30 basis points slippage? I want to know which DEX will route it."},{"title":"Agent-driven DeFi rebalancing decision","prompt":"My portfolio agent needs to rebalance: find the best Solana swap route for converting 750000000 lamports of wBTC (mint 9n4nb...) into USDC (mint EPjFW...) with a max slippage of 200 basis points, and tell me the price impact percentage."}],"resultDescription":"Returns a JSON object containing an array of route steps (each with DEX name, token path, and allocation percentage), the total expected output amount in native decimals, and the estimated price impact percentage for the swap.","failureModes":["Invalid mint address returns error — ensure both input_mint and output_mint are valid Solana SPL token mint addresses","No liquidity route found for exotic token pairs — returns empty or error if no DEX supports the pair","Slippage too tight — if slippage_bps is very low, no viable route may be returned","Amount of zero or negative integer causes validation error","x402 payment failure — USDC settlement on Base must succeed before response is returned"],"whenToPreferThis":"Use this endpoint when you need a read-only, pre-trade route preview on Solana (no execution) — ideal for agents that want to compute optimal swap paths, estimate output amounts, or evaluate price impact before committing to a trade. Prefer over on-chain RPC calls when you need an aggregated multi-DEX view with minimal setup. Not suitable if you want to actually execute the swap or need Ethereum/EVM routing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:50:23.397Z","isFirstParty":false}