{"uid":"cap_GtCV5S0CkFBwsXGsS_1uL","slug":"chainray-dex-trades-cbc89319","name":"ChainRay DEX Trades","description":"ChainRay /dex-trades","url":"https://chainray.online/dex-trades/:var1","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","required":["pool"],"properties":{"pool":{"type":"string","description":"DEX pool address"},"chain":{"type":"string"}}}},"additionalProperties":false}}},"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_tkWL7fY-2pAS61WCTvrj4","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":"Fetches recent trade history and swap events for a specific DEX liquidity pool on a given blockchain","exampleAgentPrompt":"Pull the recent DEX trades for pool address 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on Ethereum so I can see the latest swap activity.","exampleUseCases":[{"title":"Monitor arbitrage opportunities on a pool","prompt":"Show me the most recent trades on the USDC/ETH pool at 0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640 on Ethereum — I want to see if there are any big swaps I can arbitrage."},{"title":"Track whale swap activity in DeFi","prompt":"What are the latest swap transactions on the Uniswap V3 WBTC/ETH pool 0xCBCdF9626bC03E24f779434178A73a0B4bad62eD on Ethereum? I want to spot any whale-sized trades."},{"title":"Audit trade history for a new token launch","prompt":"Fetch the trade history for pool address 0x4e68Ccd3E89f51C3074ca5072bbAC773960dFa36 on Ethereum — I need to see how this new token pair has been trading since launch."}],"resultDescription":"Returns a list of recent swap/trade events for the specified DEX pool, including swap direction, token amounts in and out, trader wallet addresses, transaction hashes, block numbers, and timestamps — enabling analysis of trading activity, volume, and market behavior for that pool.","failureModes":["Invalid or non-existent pool address returns empty results or error","Unsupported chain identifier returns an error","Pool address on wrong chain returns no data","Rate limiting or payment failure if x402 payment not processed","Malformed pool address format causes 400-level error"],"whenToPreferThis":"Use this endpoint when you need granular, per-trade swap data for a specific DEX liquidity pool across any of the 46+ supported chains. Prefer ChainRay DEX Trades over generic block explorers when you need structured, agent-consumable trade data without parsing raw transaction logs, and when you want multi-chain coverage from a single API with per-call pricing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:50:50.324Z","isFirstParty":false}