---
title: "Pair returns the specific pair."
method: GET
path: "/crescent/liquidity/v1beta1/pairs/{pair_id}"
tags: ["Query"]
---

# Pair returns the specific pair.

`GET /crescent/liquidity/v1beta1/pairs/{pair_id}`

## Request

- The document declares no server URL.
- Auth: none declared
- TypeScript: <https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/docs/crescent/liquidity/v1beta1/pairs/:pair_id/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `pair_id` string, uint64, required

## Response `200`

A successful response.

- object: QueryPairResponse is response type for the Query/Pair RPC method.
  - `pair` object: Pair defines a coin pair.
    - `id` string, uint64
    - `base_coin_denom` string
    - `quote_coin_denom` string
    - `escrow_address` string
    - `last_order_id` string, uint64
    - `last_price` string
    - `current_batch_id` string, uint64

## Other responses

- `default`: An unexpected error response

## Changes

- **2022-03-17** `050a36bde231`: 1 info
  - endpoint added
- **2022-01-24** `63a98ab49fe1`: 1 breaking
  - api path removed without deprecation
- **2022-01-24** `9df0a4d8de8e`: 1 info
  - endpoint added
- **2022-01-24** `c74d7f3d449c`: 1 breaking
  - api path removed without deprecation
- **2022-01-14** `49c37d2fa504`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/changes/crescent/liquidity/v1beta1/pairs/:pair_id/get.md)

---

[API](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs.md) - [All operations](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/llms.txt) - [OpenAPI document](https://skmtc.dev/crescent-network/apis/crescent-rest-and-grpc-gateway-docs/revisions/ddf5133cea9d?raw)
