Returns the change in net longs and net shorts within a time level, accumulated from a point in time
Request
Query Params
exchange
string
optional
Binance,OKX,Bybit,Bitget
Example:
Binance
symbol
string
optional
Example:
BTCUSDT
interval
string
optional
1m 3m 5m 15m 30m 1h 2h 4h 6h 8h 1d
Example:
1h
endTime
string
optional
Returns data before this timestamp
Example:
1725978872354
size
string
optional
Max 500
Example:
10
Header Params
apikey
string
required
Register and activate to obtain apikey
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://open-api.coinank.com/api/netPositions/getNetPositions?exchange=Binance&symbol=BTCUSDT&interval=1h&endTime=1725978872354&size=10' \
--header'apikey;'