# Exchange Info

All exchange info including market pairs will be retrieved via this API.

```
GET /api/v1/exchangeInfo/
GET /api/v1/exchangeInfo/?symbol=string
```

### Queries

* **`symbol?: string`**
  * A market symbol, which is a combination of a base ticker, a colon, and a quote ticker.
  * If set, returns a market of the symbol; otherwise, returns all markets available to trade on.
  * E.g., `ETH_ETHSEPOLIA:USDT_ETHSEPOLIA`

### Examples

```sh
curl -X GET \
    -H "Nectar-Api-Key: <apikey>" \
    <nectar_url>/api/v1/exchangeInfo/
```

### Response

For more detailed information, please refer to the links below:

* [getallmarkets](https://nectar.gitbook.io/sdk/actions/getallmarkets "mention")
* [getmarket](https://nectar.gitbook.io/sdk/actions/getmarket "mention")
