Home cryptocurrency Using Twitter, Node Red and Telegram to track Binance new token listings

Using Twitter, Node Red and Telegram to track Binance new token listings

by satcit

Any serious crypto trader would agree that it’s worthwhile to get a notification every time Binance lists a new token. One method to make this happen is to follow the twitter feed or telegram channel of Binance. But this is time consuming as Binance sends new tweets multiple times a day, most of these being of no value to us. So here is a node red flow to overcome this problem.


First of all, install Node Red in your ‘always on’ PC or server.

Then install these two nodes



Then go to Node Red > Import and copy and paste the below flow.

[{"id":"81e125e.d8dc5d8","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"12e213ea.1adb6c","type":"switch","z":"81e125e.d8dc5d8","name":"","property":"payload","propertyType":"msg","rules":[{"t":"cont","v":"list","vt":"str"},{"t":"cont","v":"listing","vt":"str"},{"t":"cont","v":"launchpad","vt":"str"},{"t":"cont","v":"List","vt":"str"},{"t":"cont","v":"Listing","vt":"str"},{"t":"cont","v":"Launchpad","vt":"str"}],"checkall":"true","repair":false,"outputs":6,"x":450,"y":300,"wires":[["22040d65.3418f2"],["22040d65.3418f2"],["22040d65.3418f2"],["22040d65.3418f2"],["22040d65.3418f2"],["22040d65.3418f2"]]},{"id":"22040d65.3418f2","type":"function","z":"81e125e.d8dc5d8","name":"Unnamed function","func":"msg.payload= {\n    chatId: 'INSERT TELEGRAM CHAT ID  HERE',\n    type: 'message',\n    content: msg.payload\n}\nreturn msg;\n","outputs":1,"noerr":0,"initialize":"","finalize":"","x":670,"y":300,"wires":[["4dd480e7.6fd67"]]},{"id":"46bd8959.de6308","type":"debug","z":"81e125e.d8dc5d8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":1190,"y":320,"wires":[]},{"id":"c694678.37a9b98","type":"twitter in","z":"81e125e.d8dc5d8","twitter":"","tags":"","user":"false","name":"","inputs":1,"x":190,"y":300,"wires":[["12e213ea.1adb6c"]]},{"id":"4dd480e7.6fd67","type":"telegram sender","z":"81e125e.d8dc5d8","name":"","bot":"","haserroroutput":false,"outputs":1,"x":910,"y":300,"wires":[["46bd8959.de6308"]]}]

Now, go to https://developer.twitter.com, create a new app and get the credentials required for the ‘Twitter in’ node. That would be API key, API secret key, access token & access token secret. Enter these credentials in the ‘Twitter in’ node. Then set up the ‘Twitter in’ node like this.

Screenshot from 2021-04-26 20-57-16

Create a new telegram bot using @BotFather and enter the bot name and API token in the ‘telegram sender’ node. The setup should work now.

Screenshot from 2021-04-26 21-01-18

You can see that every time Binance sends a tweet with the keywords ‘list’, ‘listing’, ‘List’, ‘Listing’, ‘Launchpad’ and ‘launchpad’, you will get a new message from the bot or in the telegram chat ID that you have specified.

NB: You can use @myidbot in telegram to get the ID of your profile or that of any telegram group where you want this message to come.

That’s about it.If you have any doubts, please ask in the comments section.

Leave a Comment