/v2/ws/pump. Each new callout passes your filters,
such as market cap at call time or verified callers, and lands in a Telegram
channel with the caller, the coin and the thesis.
How it works
Starter code
Node 18 or later, withws. Create the bot with
@BotFather and add it to your channel.
bot.js
Details that matter
- One socket, any number of channels. Fan out inside the bot rather than opening a socket per channel. Each socket bills per minute on its own.
- Narrow with a token list when the group only follows some coins:
{ "type": "tokens", "tokens": ["<coin mint>"] }, up to 50. - No replay. After a reconnect, read
GET /v2/pump/thesisand post what arrived while the bot was away, matching onid. 1008means out of credits. The bot stops reconnecting until you top up. A reconnect without credits is refused with402before the upgrade.- Keep the
errorlistener. Without it, a failed handshake or a network drop throws in Node and stops the bot.
Build it with us
We build these projects together with the teams that ship them. Tell us what
you are building on Telegram or at
fomoscan-support@proton.me and we will
help you scope it, size the credits and get it live.
