Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Binance API transaction history

Tags:

binance

I am trying to display a users transaction history in Binance, including fund deposits and withdrawals as well as buying and selling of different crypto's. Does anyone know which Binance API endpoints I would use to do this? It seems quite complicated in comparison to other trading platforms.

This is the link to the docs: https://binance-docs.github.io/apidocs/spot/en/#withdraw-history-supporting-network-user_data

I can see the Wallet endpoints "Withdraw" and "Deposit", but this won't cover crypto trading will it?, The account trade list call would be ideal, but it requires a symbol input which I'm not sure how I would obtain dynamically.

I would also like this endpoint to provide me with the data so I can get the average buy price for a crypto.

like image 392
Adam Avatar asked Oct 19 '25 05:10

Adam


2 Answers

Currently this is not supported. See: https://dev.binance.vision/t/fetch-all-account-orders/279/3

like image 62
Timo Avatar answered Oct 22 '25 04:10

Timo


This is the route you're looking for to get the user trade history. The big downside is that you have to specify the exchange symbol, you cannot get the history of the account with just one request:

https://binance-docs.github.io/apidocs/spot/en/#account-trade-list-user_data

like image 26
Nico Avatar answered Oct 22 '25 02:10

Nico



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!