Skip to main content
The calls topic on wss://stream.fomoscan.sh/v3 sends a frame for each new Telegram or X post in which we find a call with a token and a price. A call is one token the post talks about: whether the author bought, sold or did neither, the tone, spot or perp, and the USD price of the token at the post.

Subscribe

Connect as for Live posts, wait for ready, then send:
  • platforms is optional. Omit it for both platforms.
  • tokens is optional, up to 50 token ids. A call frame matches when one of its calls names one of the tokens, priced or not.
  • One socket holds one topic. Posts as well take a second socket, at another 20,000 credits per minute.

The frame

item is the post as GET /v3/posts returns it, with the same pst_ id, plus two fields in canonical: Each call: Store cursor and send it back as since after a reconnect. Call cursors do not work on the posts or accounts topics.

Late calls

A call goes out only when we publish it within 15 minutes of the post’s postedAt, the limit of Telegram and X posts on the posts topic. A later one is neither streamed nor replayed. GET /v3/calls has it.

Not streamed

  • A post whose calls all lack a token or a price. GET /v3/calls lists it.
  • A post without a call.
  • Changes after the frame: an edited post is not read again, and a post we hide later sends nothing more. When we read an older post again with a newer reading of statuses and levels, its frame is not sent again; GET /v3/calls shows the new calls.
  • Posts from before we started reading calls.