> For the complete documentation index, see [llms.txt](https://docs.txn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.txn.io/exchange/listing-exchange-currency-pairs.md).

# Listing exchange currency pairs

<mark style="color:green;">`GET`</mark> `/api/public/v1/exchange/currency_pairs`

This endpoint returns a list of currency pairs available for exchange.

**Headers**

| Name          | Value                    |
| ------------- | ------------------------ |
| Content-Type  | application/vnd.api+json |
| Authorization | Bearer \<api\_key>       |

**Response Body**

<table><thead><tr><th>Name</th><th width="97">Type</th><th>Description</th></tr></thead><tbody><tr><td>data[].id</td><td>string</td><td>Currency pair ID.</td></tr><tr><td>data[].type</td><td>string</td><td>Entity type returned. Always <code>currencyPairs</code>.</td></tr><tr><td>data[].attributes</td><td>object</td><td>Set of currency pair attributes.</td></tr><tr><td>data[].attributes.direction</td><td>string</td><td>Quote direction. Either <code>buy</code> or <code>sell</code>.</td></tr><tr><td>data[].attributes.enabled</td><td>boolean</td><td>If <code>true</code>, the currency pair is available for exchange.</td></tr><tr><td>data[].attributes.minAmount</td><td>string</td><td>Minimum exchange amount, quoted in <code>minAmountCurrency</code>.</td></tr><tr><td>data[].attributes.minAmountCurrency</td><td>string</td><td>Currency in which <code>minAmount</code> is quoted.</td></tr><tr><td>data[].attributes.maxAmount</td><td>string</td><td>Maximum exchange amount, quoted in <code>maxAmountCurrency</code>.</td></tr><tr><td>data[].attributes.maxAmountCurrency</td><td>string</td><td>Currency in which <code>maxAmount</code> is quoted.</td></tr><tr><td>data[].relationships.baseCurrency.id</td><td>string</td><td>Base currency of the pair. Refer to <a href="/pages/SA7q0b6VrvXO3W09TQfS">supported currencies</a>.</td></tr><tr><td>data[].relationships.quoteCurrency.id</td><td>string</td><td>Quote currency of the pair.</td></tr><tr><td>included[].type(currencies).attributes</td><td>object</td><td>Currency details, including <code>code</code>, <code>symbol</code>, <code>crypto</code>, and <code>subunitToUnit</code>.</td></tr><tr><td>included[].type(network).attributes</td><td>object</td><td>Network details, including <code>code</code>, <code>name</code>, and <code>currencyCode</code>.</td></tr></tbody></table>

**Response**

{% tabs %}
{% tab title="HTTP 200" %}

```json
{
  "data": [
    {
      "id": "4018ce40-4af8-42bf-9c72-88c285e9e952",
      "type": "currencyPairs",
      "attributes": {
        "direction": "buy",
        "enabled": true,
        "minAmount": "1.000000",
        "maxAmount": "5000000.000000",
        "minAmountCurrency": "USDT",
        "maxAmountCurrency": "USDT"
      },
      "relationships": {
        "baseCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        },
        "quoteCurrency": {
          "data": {
            "type": "currencies",
            "id": "EUR"
          }
        }
      }
    },
    {
      "id": "9df10d72-ca21-4d3b-a58f-c538ec9e52e8",
      "type": "currencyPairs",
      "attributes": {
        "direction": "sell",
        "enabled": true,
        "minAmount": "1.000000",
        "maxAmount": "5000000.000000",
        "minAmountCurrency": "USDT",
        "maxAmountCurrency": "USDT"
      },
      "relationships": {
        "baseCurrency": {
          "data": {
            "type": "currencies",
            "id": "USDT"
          }
        },
        "quoteCurrency": {
          "data": {
            "type": "currencies",
            "id": "EUR"
          }
        }
      }
    }
  ],
  "meta": {},
  "jsonapi": {
    "version": "1.0"
  }
}

```

{% endtab %}
{% endtabs %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.txn.io/exchange/listing-exchange-currency-pairs.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
