{"uid":"cap_aBZSRP6_FOTFBbc5oKP-L","slug":"legible-check-dex-quote-2ea4c937","name":"Legible Check DEX Quote","description":"Pay-per-call data endpoints on Base, settled in USDC over x402. No account, no API key, no signup. Unpaid calls answer HTTP 402 with the price and the receiving wallet.","url":"https://legible-check.ezealfa.workers.dev/dex/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object"}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"pairs":[{"dex":"uniswap","base":"WETH","chain":"base","quote":"USDC","price_usd":"3400.12","liquidity_usd":1200000,"volume_24h_usd":450000}],"query":"USDC","source":"dexscreener"}},"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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YD7pX7zWFt9VngbG619lk","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time DEX trading pair quotes including price, liquidity, and 24h volume for a given token, settled via x402 micropayment on Base","exampleAgentPrompt":"What's the current DEX price for WETH in USDC on Base, including liquidity and 24-hour volume?","exampleUseCases":[{"title":"Real-time token price check","prompt":"What's WETH trading for right now on decentralized exchanges on Base, and how much liquidity is in that pool?"},{"title":"DeFi arbitrage monitoring","prompt":"Pull the current DEX quote for WETH/USDC on Base and tell me the 24h trading volume so I can spot arbitrage opportunities."},{"title":"On-chain price feed for portfolio app","prompt":"Fetch the latest DEX price for USDC on Base from DexScreener — I need the price in USD, liquidity, and which DEX it's on."}],"resultDescription":"A JSON object containing an array of trading pairs with fields: dex name (e.g. 'uniswap'), base token symbol, quote token symbol, chain (e.g. 'base'), price in USD as a string, liquidity in USD as a number, 24h volume in USD as a number, and the data source (e.g. 'dexscreener'). Also includes the original query string.","failureModes":["HTTP 402 returned if payment header is missing or insufficient — response includes the price ($0.002 USDC) and receiving wallet address","Empty pairs array if the queried token symbol is not found on any supported DEX","Stale or unavailable data if DexScreener upstream is experiencing issues","Invalid query parameter may return an error or empty result"],"whenToPreferThis":"Choose this endpoint when you need live DEX price, liquidity, and volume data for tokens on Base without signing up for an API key or account. It is ideal for AI agents that can handle x402 micropayments natively and need on-chain DeFi market data on demand. Prefer over centralized exchange APIs when you specifically need DEX liquidity data or are building on Base. Best for low-frequency spot checks at $0.002 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:50:54.441Z","isFirstParty":false,"canonicalSlug":"legible-check-dex-quote-2ea4c937"}