Skip to main content

Documentation Index

Fetch the complete documentation index at: https://orderly.network/docs/llms.txt

Use this file to discover all available pages before exploring further.

Composite snapshot for a single symbol. The include field controls which of the five sub-sections are populated; all five sub-queries run in parallel, so latency ≈ slowest sub-section. Weight: 2

Request

{
  "type": "marketDetail",
  "symbol": "PERP_BTC_USDC",
  "include": ["market_info", "orderbook", "recent_trades", "funding_history", "candles"],
  "orderbook_levels": 20,
  "recent_trades_limit": 20,
  "funding_history_limit": 8,
  "candles_interval": "1h",
  "candles_limit": 24
}
FieldTypeRequiredDefaultNotes
symbolstringYesTrading pair
includestring[]Noall 5Subset of ["market_info","orderbook","recent_trades","funding_history","candles"]; empty list = all
orderbook_levelsintNo201..100 (clamped)
recent_trades_limitintNo201..100
funding_history_limitintNo81..100
candles_intervalstringNo"1h"Same interval set as candles
candles_limitintNo241..500

Response

Notes

{
  "success": true,
  "data": {
    "symbol": "PERP_BTC_USDC",
    "market_info": { /* same shape as marketSummary.markets[] row */ },
    "orderbook": {
      "asks": [{ "price": "77339.20", "quantity": "0.45" }],
      "bids": [{ "price": "77337.50", "quantity": "0.32" }]
    },
    "recent_trades": [ /* same shape as marketTrades rows */ ],
    "funding_history": [ /* same shape as fundingRateHistory rows */ ],
    "candles": [ /* same shape as candles rows */ ]
  },
  "ts": 1779269143700
}