Hi, I was building a calculator for calculating tax. Has binance provided endpoints for getting airdrops, rewards, staking and gifts? I have already checked deposits and trades.
Airdrops
I believe airdrops should be visible as deposits
https://binance-docs.github.io/apidocs/spot/en/#deposit-history-supporting-network-user_data
Rewards
BSwap rewards endpoints
https://binance-docs.github.io/apidocs/spot/en/#get-claimed-history-user_data
Gifts
Binance Code (Gift Cards) API endpoints
https://binance-docs.github.io/apidocs/spot/en/#binance-code-endpoints
Staking
Only flexible products and Fixed/Activity projects are available via the API.
https://binance-docs.github.io/apidocs/spot/en/#savings-endpoints
Thanks for the pointers, I have tried the first endpoint for getting deposits history but it always returns an empty array. However, there are Airdrops in my Binance account in the month of April. Here is the request https://api.binance.com/sapi/v1/capital/deposit/hisrec?startTime=1617235200000&endTime=1624235200000×tamp=1644850908800&signature=xxx
Try GET /sapi/v1/asset/assetDividend
https://binance-docs.github.io/apidocs/spot/en/#asset-dividend-record-user_data