Market Data

Get Long Short Ratio

Get historical long/short ratio data with optional interval downsampling.

get/v1/long-short-ratio

Request

  • Base URL: https://api.candlefeed.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.candlefeed.ai/v1/long-short-ratio
  • Auth: API key in header X-API-Key

Query parameters

symbolstring required

Trading pair symbol

exchangestring

Exchange name

intervalstring

Interval for downsampling (5m, 15m, 1h, 4h, 1d)

ratio_type'top_account' | 'global_account' | 'both'

Ratio type to return: top_account, global_account, or both

startstring nullable

Start time (ISO 8601)

endstring nullable

End time (ISO 8601)

limitinteger nullable

Max rows to return. Aggregated intervals (15m+) with ratio_type=both return whole buckets: a page can exceed the limit by up to (number of ratio types - 1) extra rows so that no bucket is split across pages.

cursorstring nullable

Pagination cursor

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.