Api for TOP movers or Large Sell/buy data

Hi there,

I’d like to reach out top movers data to get large buy&sell data. I checked API docs but I didn’t come across about like that. is it possible? or What is your advice?

Thanks

Not sure what exact top list you’re looking for but I think sorting keys from this endpoint should do it - https://api.binance.com/api/v3/ticker/24hr

Hi there,
I think question was about screen below. Is there endpoint for such data ?
Thanks.

1 Like

Yeah, would be nice to have such endpoint? Anyone?

This is a WebSocket API that’s not documented. But it’s very easy to get the endpoint, just point your browsers to the page and look into the developer tab (F12). There will be a websocket url (wss://) where the data grows when the page gets updates. Use it with your favorite websocket library to get the stream.

But it seems that from today, the page no longer displays large trades.

It seems that since yesterday binance enabled again the display of large buy/sells in this API.

I’ve written a small tool which interfaces with this undocumented API and displays the feed in a terminal (TUI), It’s written in Go and I’ve tested it only in Linux.
Grab it from https://github.com/infl00p/gobit

As @infl00p mentioned, you can get it as a stream of events by opening a websocket connection with the following address:

wss://bstream.binance.com:9443/stream?streams=abnormaltradingnotices

I don’t think that there is documentation with the events information format, but they should be pretty straightforward from what I recall. Also, as with every other websocket connection, don’t forget to send a pong frame once in a while.