> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# List All Markets

> List available perpetual markets

## List Markets

Returns all available perpetual markets across providers.

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.yield.xyz/v1/perps/markets \
    -H "x-api-key: your_api_key"
  ```
</RequestExample>

## Query Parameters

| Parameter  | Type   | Description                     |
| ---------- | ------ | ------------------------------- |
| `provider` | string | Filter by provider              |
| `asset`    | string | Filter by base asset (BTC, ETH) |

## Response

```json theme={null}
{
  "markets": [
    {
      "id": "BTC-USD-PERP",
      "provider": "hyperliquid",
      "baseAsset": "BTC",
      "quoteAsset": "USD",
      "maxLeverage": 50,
      "fundingRate": 0.0001,
      "openInterest": "150000000"
    }
  ]
}
```
