{"uid":"cap_Bnt8m3AcfljQAPWqu7Vrb","slug":"lenscrypt-dex-quote-api-c54ec853","name":"LensCrypt DEX Quote API","description":"81 paid REST endpoints covering wallet analytics, DeFi yields, token safety, smart money tracking, whale alerts, sniper detection, GMX perps, Solana tools, protocol stats, gas tracking, DEX quotes, NFT analytics, social signals, and 8 AI-powered endpoints (MiMo V2.5). Pay USDC via x402 protocol on Base.","url":"https://tolens.vercel.app/api/quote/%7Bchain%7D/%7Bfrom%7D/%7Bto%7D","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{"amount":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_zs0-gQSTo6mkMGxq-hmdn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a DEX token swap quote for a given chain, from-token, and to-token pair with optional amount","exampleAgentPrompt":"Can you get me a DEX swap quote on Base for swapping 1000 USDC (0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48) to ETH (0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)?","exampleUseCases":null,"resultDescription":"Returns a DEX swap quote including estimated output token amount, exchange rate, and routing details for the specified chain and token pair. The quote reflects current on-chain liquidity conditions.","failureModes":["Invalid chain identifier returns 404 or error response","Unsupported token address returns empty or error quote","Token pair with no liquidity returns zero or null quote","Missing required path params returns 400 bad request","Service unavailability returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a real-time DEX swap quote for a specific token pair on a supported chain, especially when paying per-call via USDC x402 protocol. Prefer this over centralized exchange price feeds when you need actual on-chain DEX routing estimates.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T18:53:36.611Z","isFirstParty":false}