> For the complete documentation index, see [llms.txt](https://docs.watchdata.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.watchdata.io/blockchain-apis/tron-api/dex-exchange/getexchangebyid.md).

# GetExchangeById

**Return value**：exchange

**Body params**:&#x20;

* `id` - Transaction Pair ID

**Request**&#x20;

```
curl --request POST \
     --url https://tron.api.watchdata.io/wallet/getexchangebyid \
     --header 'Accept: application/json' \
     --header 'Content-Type: application/json' \
     --data '{"id":1}'
```

**Response**

```
{
  "exchange_id": 1,
  "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
  "create_time": 1575754887000,
  "first_token_id": "31303030303033",
  "first_token_balance": 9,
  "second_token_id": "5f",
  "second_token_balance": 240000000
}
```
