{"uid":"cap_qD9_pk56_ozQq2Cjp7zPO","slug":"dex-pool-recent-trades-geckoterminal-via-opportunity-api-97834246","name":"DEX Pool Recent Trades (GeckoTerminal via Opportunity API)","description":"Recent swaps for a DEX pool (GeckoTerminal): buy/sell, USD size, wallet, tx, timestamp, plus buy/sell volume split and ratio. For sniping/flow agents. Params: network, pool (address), min_usd (optional).","url":"https://opportunity-api-production.up.railway.app/api/pool-trades","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"},"queryParams":{"type":"object","required":["network","pool"],"properties":{"pool":{"type":"string","description":"pool address (from search-pools)"},"min_usd":{"type":"string","description":"filter trades >= this USD size"},"network":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tec_FxUXFupgXHuhDsbbM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns recent swap transactions for a DEX pool including buy/sell direction, USD size, wallet address, transaction hash, timestamp, and aggregated buy/sell volume split and ratio.","exampleAgentPrompt":"Pull the recent trades for DEX pool 0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640 on the Ethereum network from GeckoTerminal, and only show me swaps above $500 USD so I can see the buy/sell flow.","exampleUseCases":null,"resultDescription":"A list of recent swap transactions for the specified pool, each including buy/sell direction, USD size, wallet address, transaction hash, and timestamp, plus aggregated buy volume, sell volume, and buy/sell ratio across the returned trades.","failureModes":["Invalid or unrecognized pool address returns empty results or error","Unsupported network name causes a 400 or empty response","Pool with no recent trades returns an empty trade list","min_usd set too high filters out all trades, returning empty list","GeckoTerminal upstream outage causes 502 or timeout","Missing required parameters (network or pool) returns a 400 error"],"whenToPreferThis":"Use this endpoint when you need real-time trade-level data for a specific DEX pool, including individual swap details (wallet, tx hash, USD size) and aggregated buy/sell pressure metrics. Ideal for sniping agents, order flow analysis, whale watching, and momentum detection. Prefer over OHLCV candle endpoints when you need raw transaction granularity rather than aggregated price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:38:05.638Z","isFirstParty":false}