{"uid":"cap_9Km37dbWVkQcxBklwtkT4","slug":"losbeto-jupiter-swap-solana-token-swap-via-x402-5bae3c5d","name":"Losbeto Jupiter Swap — Solana Token Swap via x402","description":"OpenAI-compatible LLM gateway at $0.005/call — change base_url, pay in USDC. Plus pay-per-call market data: multi-oracle price consensus, sentiment, forex, equities, commodities, Brazil macro (BCB/B3) and crypto. No API keys, no accounts. USDC on Base, Solana and Algorand via x402.","url":"https://api.losbeto.xyz/jupiter-swap","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{"pair":{"type":"string","description":"Currency pair, e.g. EUR/USD, GBP/USD, USD/JPY"}}}}},"output":{"type":"object","properties":{"example":{"type":"object","description":"Jupiter swap quote with the best DEX route and expected slippage for a given pair and size, so an agent can price execution before committing."}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yigNsCgnekBWXE7V3re3W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Executes or quotes a token swap on Solana using Jupiter aggregator, paid per-call via USDC micropayment over x402 protocol.","exampleAgentPrompt":"Get me a Jupiter swap quote to exchange 10 SOL for USDC on Solana — I want the best route and to know the expected output amount and price impact.","exampleUseCases":[{"title":"Best route for SOL to USDC trade","prompt":"Can you quote me a swap of 5 SOL into USDC on Solana using Jupiter and tell me the best available route and how much USDC I'd get?"},{"title":"BONK to SOL micro-trade for AI agent","prompt":"I need to swap 1,000,000 BONK tokens for SOL on Solana — can you check Jupiter for the best price and route, including slippage?"},{"title":"Pre-trade price impact check","prompt":"Before I swap 50 USDC for JTO on Solana, can you check Jupiter to see what the price impact and expected output would be?"}],"resultDescription":"Returns a JSON object containing the optimal swap route, expected output token amount, price impact percentage, and transaction data or a quote from the Jupiter aggregator on Solana.","failureModes":["Missing or invalid token mint addresses causing a bad request","Insufficient liquidity for the requested token pair returning no route","Malformed input schema due to the loosely defined 'properties' property field","x402 payment failure preventing request from being processed","Token pair not supported on Jupiter returning an empty or error response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to obtain swap quotes or execute token swaps on the Solana blockchain via Jupiter aggregator, and is willing to pay $0.02 USDC per call using the x402 micropayment protocol. Prefer over alternatives when operating in a Solana-native context or when Jupiter's multi-route aggregation is desired.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:41:54.359Z","isFirstParty":false}