Skip to content

Sector capital list

Description

Real-time per-sector accumulation on CEX across time windows.

Use cases

  • Sector rotation monitoring
  • Hot or anomalous sectors
  • Industry-level flow analysis

Update: Every 5 minutes

Endpoint

  • Method: POST
  • Path: /open/v1/trade/categories/getTradeList

Credits

  • Cost: 3

Prerequisites

None.

Request body (JSON)

FieldTypeRequiredDescription
tradeTypeintegerYes1 spot, 2 perp

tradeType

ValueMeaning
1Spot
2Perpetual

Response — data[]

FieldTypeSerializedDescription
updateTimelonglongUpdated at (ms)
tradeTypeintegerinteger1 spot / 2 perp
tagstringstringSector slug (English)
tagsSimplifiedstringstringLocalized sector label (often Chinese in API)
categoriesTradeDataListarrayarrayWindow rows
  timeRangestringstringWindow
  timeParticleEnumintegerintegerGranularity
  tradeInflownumbernumberNet inflow (USD)

Semantics

FieldMeaningTip
tagEnglish idUse when querying tokens-in-sector
tagsSimplifiedDisplay labelShow in UI
categoriesTradeDataListFlow by windowCompare windows for rotation

Example

json
{
    "tradeType": 1
}

cURL (Linux/macOS)

bash
curl --location --request POST 'http://${host}/api/open/v1/trade/categories/getTradeList' \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: xxxxx' \
--header 'X-TIMESTAMP: xxxxx' \
--header 'X-SIGN: xxxxx' \
--header 'Accept: */*' \
--data-raw '{
    "tradeType": 1
}'

cURL (Windows CMD)

cmd
curl --location --request POST "http://${host}/api/open/v1/trade/categories/getTradeList" ^
--header "Content-Type: application/json" ^
--header "X-API-KEY: xxxxx" ^
--header "X-TIMESTAMP: xxxxx" ^
--header "X-SIGN: xxxxx" ^
--header "Accept: */*" ^
--data-raw "{    \"tradeType\": 1}"

Sample success

json
{
    "code": 200,
    "message": "success",
    "data": [
        {
            "updateTime": 1773298200000,
            "tradeType": 1,
            "tag": "Metaverse",
            "tagsSimplified": "元宇宙",
            "categoriesTradeDataList": [
                {
                    "timeRange": "m5",
                    "timeParticleEnum": 5,
                    "tradeInflow": -167
                }
            ]
        }
    ],
    "requestId": "xxx-xxx-xxx"
}