---
title: "Full composite pool snapshot (FetchCompositePoolData)"
method: GET
path: "/v2/trade/composite-pool"
tags: ["trade-v2"]
---

# Full composite pool snapshot (FetchCompositePoolData)

`GET /v2/trade/composite-pool`

## Request

- Base URL: `https://swap-backend.stage.defi.ovh.gala.com`
- URL: `https://swap-backend.stage.defi.ovh.gala.com/v2/trade/composite-pool`
- Auth: none declared
- TypeScript: <https://skmtc.dev/gala/apis/gala-defi-backend-api/docs/v2/trade/composite-pool/get.ts> (a function with typed inputs; its response is checked against the schema)

Full composite pool snapshot (FetchCompositePoolData)

## Query parameters

- `token0` string, required
- `token1` string, required
- `fee` 0 | 500 | 3000 | 10000, required

## Response `200`

- CompositePoolResponseDto
  - `status` number, required
  - `message` string, required
  - `error` boolean, required
  - `data` CompositePoolResponseDataDto, required
    - `pool` PoolDataResponseDto, required
      - `fee` number, required
      - `tickSpacing` number, required
      - `protocolFees` number, required
      - `tradingFees` number, required
      - `creator` string
      - `token0` string, required
      - `token1` string, required
      - `name` string
      - `token0Key` string, required
      - `token1Key` string, required
      - `isPrivate` boolean
    - `currentTradingPrice` CurrentTradingPriceResponseDto, required
      - `token0` string, required
      - `token1` string, required
      - `fee` number, required
      - `price` string, required
      - `sqrtPrice` string, required
      - `tick` number, required
    - `initializedTicks` InitializedTickResponseDto[]
      - `pool` string, required
      - `lexigraphicTickIndex` string, required
    - `reverseInitializedTicks` InitializedTickResponseDto[]
      - `pool` string, required
      - `lexigraphicTickIndex` string, required
    - `positionBoundaries` unknown[]
      - unknown
    - `positions` CompositePositionResponseDto[]
      - `pool` string, required
      - `lexigraphicTickIndexLow` string, required
      - `lexigraphicTickIndexHigh` string, required
      - `owner` string, required
      - `liquidity` string, required
    - `activeLiquidity` string
    - `token0TradingSymbol` TradingSymbolBalanceResponseDto
      - `symbol` string, required
      - `decimals` number, required
    - `token1TradingSymbol` TradingSymbolBalanceResponseDto
      - `symbol` string, required
      - `decimals` number, required
    - `token0LiquidityBalance` TokenBalanceResponseDto
      - `collection` string
      - `category` string
      - `type` string
      - `additionalKey` string
      - `quantity` string
      - `owner` string
    - `token1LiquidityBalance` TokenBalanceResponseDto
      - `collection` string
      - `category` string
      - `type` string
      - `additionalKey` string
      - `quantity` string
      - `owner` string
    - `token0ProtocolFeesBalance` TokenBalanceResponseDto
      - `collection` string
      - `category` string
      - `type` string
      - `additionalKey` string
      - `quantity` string
      - `owner` string
    - `token1ProtocolFeesBalance` TokenBalanceResponseDto
      - `collection` string
      - `category` string
      - `type` string
      - `additionalKey` string
      - `quantity` string
      - `owner` string

## Other responses

- `400`
- `default`: An error response using the shared backend error envelope.

---

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