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

# Markets

## Get Available Markets

<mark style="color:green;">**`GET`**</mark>`/markets`

Get a list of available trading pairs.

**Query Parameters**

<table><thead><tr><th>Name</th><th>Value</th><th data-type="checkbox">Required</th></tr></thead><tbody><tr><td>pair</td><td><code>String</code></td><td>false</td></tr></tbody></table>

**Response**

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

```json
{
    "success": true,
    "message": "Request processed successfully",
    "data": {
        "NIZA/EUR": {
            "altname": "DEMONIZA",
            "wsname": "DEMONIZA/EUR",
            "classBase": "currency",
            "base": "DEMONIZA",
            "classQuote": "currency",
            "quote": "USDT",
            "pairDecimals": 2,
            "lotDecimals": 2,
            "ordermin": "1"
        }
    },
    "code": 200
}
```

{% endtab %}

{% tab title="400" %}

```json
{
    "success": false,
    "error": {
        "message": "Invalid request!",
        "code": 400
    }
}
```

{% endtab %}
{% endtabs %}
