# Get Markets

## Get Markets

<mark style="color:blue;">`GET`</mark> `https://illumigate.swivel.exchange/v1/markets?status=s&depth=d`

This endpoint allows you to request a list of markets.

#### Query Parameters

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| status | string  | **active** or **matured**        |
| depth  | integer | The number of markets to return. |

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

```javascript
[
  {
    "underlying": "0x07865c6E87B9F70255377e024ace6630C1Eaa37F",
    "maturity": "1688085200",
    "principals": [
      "0x1234",
      "0x2345",
      "0x3456",
      "0x4567",
      "0x5678",
      "0x6789",
      "0x7890",
      "0x8910",
      "0x8012"
    ],
    "created": "1671841482",
    "element": "0x1023",
    "apwine": "0x2340"
  }
]
```

{% endtab %}
{% endtabs %}
