---
title: "Get all pairs"
method: GET
path: "/dex/pairs"
tags: ["pairs"]
---

# Get all pairs

`GET /dex/pairs`

## Request

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

Without a date: the pairs tradable today, i.e. current-contract (v2) pools, pairId v2:<TOKEN0>$<TOKEN1>$<FEE>. With a date: every pair that traded on that UTC day, on either contract (legacy v1 pools traded until the v1→v2 migration and are exit-only since).

## Query parameters

- `date` string

## Response `200`

- PairsResponseDto
  - `date` string, required
  - `timezone` string, required
  - `pairs` PairResultResponseDto[], required
    - `pairId` string, required
    - `name` string, nullable, 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)
