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

# Get Market Details

<RequestExample>
  ```bash cURL theme={null}
  curl -X GET "https://api.strike.markets/market/BTC-USD"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('https://api.strike.markets/market/BTC-USD', {
    method: 'GET'
  });

  const data = await response.json();
  console.log('Market details:', data);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get('https://api.strike.markets/market/BTC-USD')

  data = response.json()
  print('Market details:', data)
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "symbol": "BTC-USD",
    "positionMultiplier": "0.000001",
    "longFundingRateHourly": "-0.0000125",
    "shortFundingRateHourly": "0.0000089",
    "longOi": "12500000.50",
    "shortOi": "10250000.25",
    "totalOi": "22750000.75",
    "skew": "0.10",
    "volumeUsd24h": "5250000.00",
    "volumeUsdTotal": "125000000.00"
  }
  ```
</ResponseExample>

## Overview

Get detailed market information for a specific trading pair including current price, funding rates, open interest, and volume metrics.

<Note>
  This endpoint does not require authentication and can be accessed publicly.
</Note>

## Path Parameters

<ParamField path="symbol" type="string" required>
  Trading pair symbol.

  **Supported values**: "BTC-USD", "ETH-USD", "SOL-USD", "BNB-USD", "XRP-USD", "HYPE-USD"\
  **Example**: "BTC-USD"
</ParamField>

## Response Fields

<ResponseField name="success" type="boolean">
  Indicates if the request was successful
</ResponseField>

<ResponseField name="message" type="string">
  Success or error message
</ResponseField>

<ResponseField name="data" type="object">
  Market data object containing:

  * `symbol`: Trading pair symbol
  * `current_price`: Current mark price (string)
  * `funding_rate`: Funding rate information:
    * `long_rate`: Hourly funding rate for longs (negative = paying)
    * `short_rate`: Hourly funding rate for shorts (negative = paying)
    * `next_update`: ISO timestamp of next funding update
  * `open_interest`: Open interest breakdown:
    * `long_oi`: Total long open interest in USD
    * `short_oi`: Total short open interest in USD
    * `total_oi`: Combined open interest
    * `skew`: Market skew (-1 to 1, positive = more longs)
  * `volume`: Trading volume metrics:
    * `volumeUsd24h`: 24-hour trading volume in USD
    * `volume_1h`: 1-hour trading volume in USD
    * `trades_24h`: Number of trades in last 24 hours
  * `position_multiplier`: Fee multiplier for position size
  * `last_updated`: ISO timestamp of last update
</ResponseField>

## Market Metrics Explained

### Funding Rate

Asymmetric funding rates that balance long and short positions:

* Positive skew → Longs pay shorts
* Negative skew → Shorts pay longs
* Rates update hourly at the top of each hour

### Open Interest Skew

```
Skew = (Long OI - Short OI) / Total OI
```

* Range: -1 (all shorts) to +1 (all longs)
* 0 = Perfectly balanced market
* Affects funding rate calculations

### Position Multiplier

Market-specific fee multiplier applied to position size:

| Market | Multiplier | Impact on 10B USD Position |
| ------ | ---------- | -------------------------- |
| BTC    | 0.000001   | 10x fee multiplier         |
| ETH    | 0.000002   | 20x fee multiplier         |
| SOL    | 0.00001    | 100x fee multiplier        |

## Data Sources

* **Price Data**: Real-time from HyperLiquid WebSocket
* **Open Interest**: Aggregated from all open positions
* **Volume**: Rolling 24-hour and 1-hour windows
* **Funding Rates**: Calculated hourly based on skew

## Caching

Market data is cached for 1 second to handle high-frequency requests while maintaining real-time accuracy.

## Error Responses

<ResponseField name="404 Not Found" type="object">
  Market not found or not whitelisted

  ```json theme={null}
  {
    "error": 404,
    "message": "Market BTC-EUR not found or not whitelisted"
  }
  ```
</ResponseField>

<ResponseField name="500 Internal Server Error" type="object">
  Failed to retrieve market data

  ```json theme={null}
  {
    "error": 500,
    "message": "Failed to fetch market data"
  }
  ```
</ResponseField>

## Related Endpoints

* [Get Markets](/api-reference/market-data/markets) - List all available markets
* [Funding Rates](/api-reference/market-data/funding-rates) - Historical funding data
* [Open Interest](/api-reference/market-data/open-interest) - Detailed OI metrics
