---
title: "Get Pool Trade Data"
method: GET
path: "/defi/v1/dex/getpooltradedata"
tags: ["dex"]
---

# Get Pool Trade Data

`GET /defi/v1/dex/getpooltradedata`

## Request

- Base URL: `https://svc.blockdaemon.com`
- URL: `https://svc.blockdaemon.com/defi/v1/dex/getpooltradedata`
- Auth: API key in header `X-API-Key`

Extracts detailed trading activity from a specific liquidity pool over a defined block range. It returns transaction data—including transfers, swaps, burns, and mints—with key details such as block numbers, transaction hashes, token amounts, and event types, enabling users to analyze liquidity flows and market behavior within the pool.

> 💡 
**Compute Unit Value:** `145` (Fixed)

## Query parameters

- `dexId` '1000' | '1300' | '1305' | '1306' | '1307' | '1308' | '1309' | '1310' | '1100' | '1200' | '1201': The unique ID to specify the decentralized exchange (DEX) within a particular blockchain. Find more [here](https://docs.blockdaemon.com/docs/defi-api-supported-protocols#supported-dexs-protocols).
- `endBlock` string: Last block of the range.
- `startBlock` string: Starting block of the range.
- `poolAddress` string, required: Pool address whose data is to be fetched.
- `eventType` 'Swap' | 'Burn' | 'Mint': Type of event to filter by: Transfer, Swap, Burn, or Mint (default).

## Response `200`

Successful response

- object
  - `status` integer
  - `msg` string
  - `data` object

---

[API](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api.md) - [All operations](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/llms.txt) - [OpenAPI document](https://skmtc.dev/blockdaemon/apis/blockdaemon-defi-api/revisions/ec053b7c8041?raw)
