api_key
.Retry-After
header, and the value tells you how many seconds to wait before making a new API call.[email protected]
[- {
- "symbol": "string",
- "exchange": "string",
- "symbol_on_exchange": "string",
- "base_asset": "string",
- "quote_asset": "string",
- "is_perpetual": true,
- "margined": "STABLE",
- "expire_at": 0,
- "oi_lq_vol_denominated_in": "BASE_ASSET",
- "has_long_short_ratio_data": true,
- "has_ohlcv_data": true,
- "has_buy_sell_data": true
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
convert_to_usd | string Default: "false" Enum: "true" "false" |
[- {
- "symbol": "string",
- "value": 0,
- "update": 0
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
[- {
- "symbol": "string",
- "value": 0,
- "update": 0
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
[- {
- "symbol": "string",
- "value": 0,
- "update": 0
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
convert_to_usd | string Default: "false" Enum: "true" "false" |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "o": 0,
- "h": 0,
- "l": 0,
- "c": 0
}
]
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "o": 0,
- "h": 0,
- "l": 0,
- "c": 0
}
]
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "o": 0,
- "h": 0,
- "l": 0,
- "c": 0
}
]
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
convert_to_usd | string Default: "false" Enum: "true" "false" |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "l": 0,
- "s": 0
}
]
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD_PERP.0 The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "r": 0,
- "l": 0,
- "s": 0
}
]
}
]
symbols required | string Example: symbols=BTCUSDT_PERP.A,BTCUSD.C The symbols, comma separated, maximum 20 symbols, each symbol consume one API call |
interval required | string Enum: "1min" "5min" "15min" "30min" "1hour" "2hour" "4hour" "6hour" "12hour" "daily" Interval/granularity |
from required | integer <int64> From (inclusive), UNIX timestamp in seconds |
to required | integer <int64> To (inclusive), UNIX timestamp in seconds |
[- {
- "symbol": "string",
- "history": [
- {
- "t": 0,
- "o": 0,
- "h": 0,
- "l": 0,
- "c": 0,
- "v": 0,
- "bv": 0,
- "tx": 0,
- "btx": 0
}
]
}
]