{"uid":"cap_M8HxhxORWxHuMrtsd0pNy","slug":"glianaai-swap-quote-509b5668","name":"GlianaAI Swap Quote","description":"One endpoint for 90+ generative AI models, live market data, SEC filings and identity APIs — image, video, music, speech, LLM chat, crypto and FX rates, DEX liquidity, gas, US company fundamentals and insider trades, document OCR and face matching. Pay per request in USDC on Tempo, Base, Solana, Algorand or BNB Chain with no signup, or top up a prepaid balance in rupiah.","url":"https://api.glianalabs.com/x402/tools/swap-quote?utm_source=zero.xyz","method":"GET","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":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"tool":"tools/swap-quote"}},"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_su_K06wRYw-SU_t12YiIu","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":"Fetches a real-time DEX swap quote for a token pair, returning price, route, and liquidity data","exampleAgentPrompt":"Can you get me a live swap quote for trading 1 ETH into USDC on a DEX right now — I want to see the expected output amount and price impact before I do anything.","exampleUseCases":[{"title":"Pre-trade slippage check","prompt":"Before I execute this trade, can you pull a swap quote for 500 USDC into WBTC and tell me the expected output and price impact so I know if the slippage is acceptable?"},{"title":"Arbitrage opportunity scan","prompt":"Fetch me a swap quote for 10 ETH to DAI right now — I want to compare the rate against what I'm seeing on a CEX to see if there's an arbitrage opportunity."},{"title":"Portfolio rebalancing estimate","prompt":"I want to rebalance my portfolio — can you get me a swap quote showing how much SOL I'd get for swapping 1000 USDT so I can decide if now is a good time?"}],"resultDescription":"Returns a JSON object containing the DEX swap quote details including expected output token amount, exchange rate, price impact, liquidity route, and any fee estimates for the specified token pair and input amount.","failureModes":["Unsupported token pair returns error or empty quote","Insufficient liquidity on requested route returns no quote","Missing required input parameters returns validation error","Network or chain not supported returns error response","Stale or unavailable market data may return outdated quote"],"whenToPreferThis":"Choose this endpoint when you need a real-time DEX swap quote without signing up for a separate service, especially when you want to pay per-call in USDC via x402 on chains like Base, Solana, or BNB Chain. It is ideal for agents that need on-chain price discovery, pre-trade analysis, or arbitrage checks as part of a broader workflow that may also use GlianaAI's other financial data APIs (crypto rates, gas, liquidity).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T06:45:01.218Z","isFirstParty":false,"canonicalSlug":"glianaai-swap-quote-509b5668"}