> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fomoscan.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Calls

> A live frame for each Telegram or X post in which we find a priced call: the asset, what the author did or plans, their levels, and the price at the post.

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.

| | |
| - | - |
| Platforms | `telegram`, `twitter` (X) |
| Price | 20,000 credits per started minute, per socket |
| Delay | A frame goes out once we have read the post and priced its tokens |
| Replay | Up to 5 minutes back, with `since` |
| REST | [`GET /v3/calls`](https://docs.fomoscan.sh/v3/guides/calls) lists the same items, priced or not |

## Subscribe

Connect as for [Live posts](https://docs.fomoscan.sh/v3/websocket/overview.md#connect), wait for `ready`,
then send:

```json theme={null}
{
  "type": "subscribe",
  "topic": "calls",
  "platforms": ["telegram", "twitter"],
  "tokens": ["tok_hyperliquid_BTC"]
}
```

* `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

```json theme={null}
{
  "type": "call",
  "cursor": "s_eyJzZXEiOjUxMn0",
  "item": {
    "kind": "post",
    "id": "pst_01jbstaj4mfk2c9q7wn3xd8hvr",
    "canonical": {
      "platform": "telegram",
      "market": null,
      "author": { "trader": "tdr_01jbst8v3xft7t04hmasw9nf6y", "handle": "tidecaller" },
      "token": null,
      "body": "Bought more $BONK here. Opening a 10x BTC short at 67.4k, stop 68.2k, target 65k.",
      "segments": [],
      "likeCount": null,
      "postedAt": "2026-11-01T09:14:07.000Z",
      "firstSeenAt": "2026-11-01T09:14:08.312Z",
      "revision": 0,
      "analyzedAt": "2026-11-01T09:14:10.044Z",
      "calls": [
        {
          "token": { "id": "tok_solana_DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263", "symbol": "BONK" },
          "symbol": "BONK",
          "asset": "crypto",
          "status": "add",
          "action": "buy",
          "sentiment": "bullish",
          "confidence": 88,
          "market": "spot",
          "side": null,
          "leverage": null,
          "entry": null,
          "targets": [],
          "stop": null,
          "price": { "value": "18802500000000", "decimals": 18, "currency": "USD" },
          "priceAt": "2026-11-01T09:14:09.507Z",
          "priceKind": "live"
        },
        {
          "token": { "id": "tok_hyperliquid_BTC", "symbol": "BTC" },
          "symbol": "BTC",
          "asset": "crypto",
          "status": "short",
          "action": "sell",
          "sentiment": "bearish",
          "confidence": 81,
          "market": "perp",
          "side": "short",
          "leverage": 10,
          "entry": { "value": "67400000000000000000000", "decimals": 18, "currency": "USD" },
          "targets": [{ "value": "65000000000000000000000", "decimals": 18, "currency": "USD" }],
          "stop": { "value": "68200000000000000000000", "decimals": 18, "currency": "USD" },
          "price": { "value": "67412500000000000000000", "decimals": 18, "currency": "USD" },
          "priceAt": "2026-11-01T09:14:09.507Z",
          "priceKind": "live"
        }
      ]
    },
    "sources": { "telegram": {} }
  }
}
```

`item` is the post as [`GET /v3/posts`](https://docs.fomoscan.sh/v3/guides/posts) returns it, with
the same `pst_` id, plus two fields in `canonical`:

| Field | Meaning |
| - | - |
| `analyzedAt` | When we read the calls in the post. |
| `calls` | Every call we found in the post, 1 to 20, in the order the post names them. At least one has a token and a price. |

Each call:

| Field | Meaning |
| - | - |
| `token` | `{ id, symbol }`, or `null` when the post names a ticker we could not tie to one token. BTC, ETH, SOL, HYPE, BNB, XRP and DOGE name their Hyperliquid market, such as `tok_hyperliquid_BTC`, on spot and perp calls alike. |
| `symbol` | The ticker the post names, or `null` when it gives only an address. A stock, an ETF or an index carries its exchange ticker. |
| `asset` | `crypto`, `stock`, `etf`, `index`, `commodity` or `fx`. `null` on calls read before statuses were added. |
| `status` | The author's latest step on the asset. A trade: `long`, `short`, `add`, `take_profit` (sold part), `exit` (closed it). A plan at a level or a condition: `setup_long`, `setup_short`. A view: `bullish`, `bearish`, `neutral`. `null` on calls read before statuses were added. |
| `action` | Follows the status: `long` and `add` are `buy`; `short`, `take_profit` and `exit` are `sell`, the other way round on a short position; setups and views are `none`. |
| `sentiment` | `bullish`, `bearish` or `neutral`. It follows the status, except on `take_profit` and `exit`, where it is what the author says about the asset next. |
| `confidence` | How sure we are of this reading, 0 to 100. |
| `market` | `spot`, or `perp` for a perpetual futures position. Read this one on a call: `canonical.market` describes the post itself and is `null` on Telegram and X posts. |
| `side` | `long` or `short` on a `perp` call. `null` on spot, or when the post does not say. |
| `leverage` | The leverage of a `perp` call, a whole number from 1. `null` on spot, or when the post does not say. |
| `entry`, `targets`, `stop` | The levels the author wrote, each the USD price of one whole unit with 18 decimals: the entry, up to 10 take-profit targets in the order written, and the stop. `null` and `[]` when the post gives none, or gives them as a market cap, a percentage or a price in another coin. |
| `price` | USD per whole token, 18 decimals, as in [Money and time](https://docs.fomoscan.sh/v3/concepts/money-and-time.md). `null` without a token or a price. |
| `priceAt` | When the price holds: the time we read it for `live`, the start of the last traded interval at or before `postedAt` for `candle`. |
| `priceKind` | `live` when we read the price less than 60 seconds after the post. `candle` when the post was older: the last price traded at or before `postedAt`, at 1 second for most tokens and up to 5 minutes for some. |

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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.