{"uid":"cap_wj5IszMg_8FAC7aoxFUdY","slug":"payai-dex-trending-pools-c6a2fbca","name":"PayAI DEX Trending Pools","description":"Trending Base DEX pools ranked by recent swap volume and net buy/sell flow over a short window, computed by us from public Aerodrome/Uniswap-V3 Swap event logs.","url":"https://payai.agentstools.dev/dex/trending","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","required":[],"properties":{"limit":{"type":"integer","maximum":6,"minimum":1,"description":"Max pools to return, ranked by volume (default all tracked)"},"window":{"type":"string","description":"Look-back window, e.g. 15m / 30m / 1h (default 30m, max ~1h)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_x-BvQ3QxPUYIAddEaEFKy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns trending Base DEX pools ranked by recent swap volume and net buy/sell flow, computed from on-chain Aerodrome/Uniswap-V3 Swap events","exampleAgentPrompt":"Show me the top 5 trending DEX pools on Base right now, looking back over the last 30 minutes — ranked by swap volume and net buy/sell flow.","exampleUseCases":null,"resultDescription":"A ranked list of up to 6 DEX pools (Aerodrome/Uniswap-V3 on Base) sorted by recent swap volume, including net buy/sell flow metrics computed from on-chain Swap event logs over the specified look-back window.","failureModes":["Invalid window format returns error (must be like 15m, 30m, 1h and max ~1h)","Limit out of range (must be 1–6) returns validation error","No pools found if no swaps occurred in the window (empty result)","Upstream RPC or event log unavailability may cause 5xx or stale data","Payment failure (x402) if USDC balance insufficient"],"whenToPreferThis":"Choose this endpoint when you need real-time or near-real-time trending pool data specifically on Base chain using Aerodrome or Uniswap-V3 Swap event logs. Prefer it over general DEX aggregators when you want computed buy/sell flow signals (not just volume), and when you need data fresher than what indexed subgraphs typically provide.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:42:46.661Z","isFirstParty":false}