---
title: "Get volume and fees for a pair"
method: GET
path: "/dex/pairs/volume-fees"
tags: ["pairs"]
---

# Get volume and fees for a pair

`GET /dex/pairs/volume-fees`

## Request

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

USD volume and LP fees of every swap executed on the given UTC day, on either contract, or of one pair when pairId is given.

## Query parameters

- `date` string, required
- `pairId` string

## Response `200`

- DailyVolumeAndFeesResponseDto
  - `pairId` string
  - `timezone` string, required
  - `date` string, required
  - `volumeUSD` number, required
  - `feesUSD` number, required

## 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)
