Skip to main content
curl -X GET "https://api.strike.markets/market/BTC-USD"
{
  "success": true,
  "message": "Market data retrieved successfully",
  "data": {
    "symbol": "BTC-USD",
    "current_price": "45123.50",
    "funding_rate": {
      "long_rate": "-0.0125",
      "short_rate": "0.0089",
      "next_update": "2024-01-15T15:00:00Z"
    },
    "open_interest": {
      "long_oi": "12500000.50",
      "short_oi": "10250000.25",
      "total_oi": "22750000.75",
      "skew": "0.10"
    },
    "volume": {
      "volume_24h": "5250000.00",
      "volume_1h": "250000.00",
      "trades_24h": 1523
    },
    "position_multiplier": "0.000001",
    "last_updated": "2024-01-15T14:30:00Z"
  }
}
curl -X GET "https://api.strike.markets/market/BTC-USD"
{
  "success": true,
  "message": "Market data retrieved successfully",
  "data": {
    "symbol": "BTC-USD",
    "current_price": "45123.50",
    "funding_rate": {
      "long_rate": "-0.0125",
      "short_rate": "0.0089",
      "next_update": "2024-01-15T15:00:00Z"
    },
    "open_interest": {
      "long_oi": "12500000.50",
      "short_oi": "10250000.25",
      "total_oi": "22750000.75",
      "skew": "0.10"
    },
    "volume": {
      "volume_24h": "5250000.00",
      "volume_1h": "250000.00",
      "trades_24h": 1523
    },
    "position_multiplier": "0.000001",
    "last_updated": "2024-01-15T14:30:00Z"
  }
}

Overview

Get detailed market information for a specific trading pair including current price, funding rates, open interest, and volume metrics.
This endpoint does not require authentication and can be accessed publicly.

Path Parameters

symbol
string
required
Trading pair symbol.Supported values: “BTC-USD”, “ETH-USD”, “SOL-USD”, “BNB-USD”, “XRP-USD”, “HYPE-USD”
Example: “BTC-USD”

Response Fields

success
boolean
Indicates if the request was successful
message
string
Success or error message
data
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:
    • volume_24h: 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

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:
MarketMultiplierImpact on 10B USD Position
BTC0.00000110x fee multiplier
ETH0.00000220x fee multiplier
SOL0.00001100x 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

404 Not Found
object
Market not found or not whitelisted
{
  "error": 404,
  "message": "Market BTC-EUR not found or not whitelisted"
}
500 Internal Server Error
object
Failed to retrieve market data
{
  "error": 500,
  "message": "Failed to fetch market data"
}

Usage Examples

Monitor Market Conditions

// Check if market is skewed before trading
const market = await getMarketDetail('BTC-USD');
if (Math.abs(market.data.open_interest.skew) > 0.5) {
  console.log('Market heavily skewed, consider opposite side');
}

Calculate Expected Funding

// Estimate hourly funding payment
const position_value = 10000; // 10k USD position
const funding_rate = market.data.funding_rate.long_rate;
const hourly_payment = position_value * funding_rate;