> ## 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.

# Posts

> Every new post from every platform, as written, with its token, position and author.

The `posts` topic sends every post we publish, from every platform, as the
author wrote it. A `post` frame carries the same object as
[`GET /v3/posts`](https://docs.fomoscan.sh/v3/guides/posts), so one parser reads both.

| | |
| - | - |
| Platforms | `fomo`, `pump`, `legend`, `markets`, `axiom`, `telegram`, `twitter` (X), `gmgn` |
| Price | 30 credits per delivered post |
| Replay | Up to 5 minutes back, with `since` |
| REST | [`GET /v3/posts`](https://docs.fomoscan.sh/v3/guides/posts) lists the same posts |

> [!NOTE]
>
> **Posts or calls?** `posts` sends every post. [`calls`](https://docs.fomoscan.sh/v3/websocket/calls)
> sends only the posts in which we read a trade idea, with the token, the
> direction, the levels and the price at the post already parsed. Take `calls`
> when you want signals, `posts` when you want the whole feed.

## Subscribe

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

```json theme={null}
{
  "type": "subscribe",
  "topic": "posts",
  "platforms": ["fomo", "pump"],
  "tokens": ["tok_solana_EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"]
}
```

* `platforms` is optional. Omit it for every platform.
* `tokens` is optional, up to 50 token ids. A post matches when its token is
  one of them.
* Each filter lowers the bill: you pay only for the posts that match.

## The frame

Every `post` frame has the same three parts:

* `cursor`: where you are in the stream. Store the last one and send it as
  `since` after a reconnect.
* `item.canonical`: the fields every platform fills the same way: author,
  token, text, media, position, times.
* `item.sources.<platform>`: what only that platform gives, such as
  engagement on pump.fun or the market cap at the call.

`item` is the same object [`GET /v3/posts`](https://docs.fomoscan.sh/v3/guides/posts) returns, so one
parser reads both. A field a platform does not give is `null` or an empty
list, never missing.

### What each platform sends

| Platform | Token | Position | Extra in `sources` |
| - | - | - | - |
| FOMO | usually | spot: value, cost, PnL | `position`, `callPerformance` |
| pump.fun | yes | spot: size, PnL | `position`, `engagement`, `callPerformance` |
| GMGN | yes | spot: value, cost, PnL | `position`, `callPerformance` |
| Legend | usually | perp: side, leverage, notional, margin | `position` |
| markets.xyz | usually | perp: side, leverage, notional, margin | `position` |
| Axiom | yes | none | none |
| Telegram | no | none | none |
| X | no | none | none |

### A frame from each platform

Names, text and links below are made up; the shape is what the stream sends.

> [tab] FOMO
>
> A spot position: what the author holds, its value, cost and PnL. `sources.fomo` adds the raw position and `callPerformance`: market cap and price when the post went out.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "fomo",
>       "market": "spot",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "solace",
>         "name": "Solace",
>         "avatarUrl": "https://img.fomoscan.sh/a/solace.webp"
>       },
>       "token": {
>         "id": "tok_solana_AdgKxsUpJTq218bbzuSXdXVw5DvgLfM1Q8aNxC7Zpump",
>         "symbol": "DUNE3",
>         "name": "Dune: Part Three",
>         "imageUrl": "https://img.fomoscan.sh/t/example.webp"
>       },
>       "body": "Adding here, chart looks ready.",
>       "segments": [
>         {
>           "text": "Adding here, chart looks ready.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": {
>         "market": "spot",
>         "value": {
>           "value": "933848000",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "cost": {
>           "value": "425039409",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "status": "open",
>         "entryPrice": null,
>         "markPrice": null,
>         "closePrice": null,
>         "size": {
>           "value": "12845481260000000000000000",
>           "decimals": 18,
>           "currency": "tok_solana_AdgKxsUpJTq218bbzuSXdXVw5DvgLfM1Q8aNxC7Zpump"
>         },
>         "pnl": {
>           "realized": {
>             "value": "79971900",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealized": {
>             "value": "525973000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "total": {
>             "value": "605944900",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "percent": 142.56
>         },
>         "openedAt": null,
>         "closedAt": null,
>         "observedAt": "2026-11-20T14:02:04.694Z"
>       },
>       "likeCount": 0,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:04.694Z",
>       "revision": 0
>     },
>     "sources": {
>       "fomo": {
>         "position": {
>           "quantity": {
>             "value": "12845481260000000000000000",
>             "decimals": 18,
>             "currency": "tok_solana_AdgKxsUpJTq218bbzuSXdXVw5DvgLfM1Q8aNxC7Zpump"
>           },
>           "value": {
>             "value": "933848000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "invested": {
>             "value": "1013820000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "realizedPnl": {
>             "value": "79971900",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealizedPnl": {
>             "value": "525973000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "totalPnl": {
>             "value": "605944900",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "closed": null,
>           "closedAt": null,
>           "side": null,
>           "leverage": null,
>           "observedAt": "2026-11-20T14:02:04.694Z"
>         },
>         "callPerformance": {
>           "marketCapAtCall": {
>             "value": "70069402054",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "priceAtCall": {
>             "value": "72698595937900",
>             "decimals": 18,
>             "currency": "USD"
>           },
>           "multiple": null,
>           "maxMultiple": null,
>           "maxMultipleAt": null,
>           "mediaUrl": null,
>           "quotedPost": null,
>           "observedAt": "2026-11-20T14:02:04.694Z"
>         }
>       }
>     }
>   }
> }
> ```

> [tab] pump.fun
>
> A spot position from the author's wallet. `sources.pump` adds `engagement` (replies, reposts, views) and `callPerformance`.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "pump",
>       "market": "spot",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "gemhunter",
>         "name": "Gem Hunter",
>         "avatarUrl": "https://img.fomoscan.sh/a/gemhunter.webp"
>       },
>       "token": {
>         "id": "tok_solana_Wr8xawXWMMBD6eWXPrf2t9kZzVwaMHLCJDRYc8zSTNK",
>         "symbol": "ENERGY",
>         "name": "Energy Coin",
>         "imageUrl": "https://img.fomoscan.sh/t/example.webp"
>       },
>       "body": "This one is cooking, holders keep climbing.",
>       "segments": [
>         {
>           "text": "This one is cooking, holders keep climbing.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": {
>         "market": "spot",
>         "value": null,
>         "cost": null,
>         "status": "open",
>         "entryPrice": null,
>         "markPrice": null,
>         "closePrice": null,
>         "size": {
>           "value": "11424639909437000000000000",
>           "decimals": 18,
>           "currency": "tok_solana_Wr8xawXWMMBD6eWXPrf2t9kZzVwaMHLCJDRYc8zSTNK"
>         },
>         "pnl": {
>           "realized": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealized": null,
>           "total": null,
>           "percent": null
>         },
>         "openedAt": null,
>         "closedAt": null,
>         "observedAt": "2026-11-20T14:02:01.935Z"
>       },
>       "likeCount": null,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:01.935Z",
>       "revision": 0
>     },
>     "sources": {
>       "pump": {
>         "position": {
>           "quantity": {
>             "value": "11424639909437000000000000",
>             "decimals": 18,
>             "currency": "tok_solana_Wr8xawXWMMBD6eWXPrf2t9kZzVwaMHLCJDRYc8zSTNK"
>           },
>           "value": null,
>           "invested": null,
>           "realizedPnl": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealizedPnl": null,
>           "totalPnl": null,
>           "closed": false,
>           "closedAt": null,
>           "side": null,
>           "leverage": null,
>           "observedAt": "2026-11-20T14:02:01.935Z"
>         },
>         "engagement": {
>           "commentCount": null,
>           "replyCount": null,
>           "repostCount": null,
>           "quoteCount": null,
>           "viewCount": null,
>           "observedAt": "2026-11-20T14:02:01.935Z"
>         },
>         "callPerformance": {
>           "marketCapAtCall": {
>             "value": "16606000000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "priceAtCall": {
>             "value": "16610655145400",
>             "decimals": 18,
>             "currency": "USD"
>           },
>           "multiple": 1,
>           "maxMultiple": 1,
>           "maxMultipleAt": null,
>           "mediaUrl": null,
>           "quotedPost": null,
>           "observedAt": "2026-11-20T14:02:01.935Z"
>         }
>       }
>     }
>   }
> }
> ```

> [tab] GMGN
>
> A spot position as GMGN shows it, read once. `sources.gmgn` adds `callPerformance` with the market cap at the call.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "gmgn",
>       "market": "spot",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "earlyape",
>         "name": "Early Ape",
>         "avatarUrl": "https://img.fomoscan.sh/a/earlyape.webp"
>       },
>       "token": {
>         "id": "tok_solana_7fmD1p3jzva28EPP9bPqbDoxZGj5j398yJoE3EVypump",
>         "symbol": "DUVAL",
>         "name": "The White Bull",
>         "imageUrl": "https://img.fomoscan.sh/t/example.webp"
>       },
>       "body": "Early on this one.",
>       "segments": [
>         {
>           "text": "Early on this one.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": {
>         "market": "spot",
>         "value": {
>           "value": "15772819",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "cost": {
>           "value": "5622611",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "status": "open",
>         "entryPrice": null,
>         "markPrice": null,
>         "closePrice": null,
>         "size": {
>           "value": "161388658397000000000000",
>           "decimals": 18,
>           "currency": "tok_solana_7fmD1p3jzva28EPP9bPqbDoxZGj5j398yJoE3EVypump"
>         },
>         "pnl": {
>           "realized": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealized": {
>             "value": "10299898",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "total": {
>             "value": "10299898",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "percent": 183.18
>         },
>         "openedAt": null,
>         "closedAt": null,
>         "observedAt": "2026-11-20T14:02:05.324Z"
>       },
>       "likeCount": 0,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:00.000Z",
>       "revision": 0
>     },
>     "sources": {
>       "gmgn": {
>         "position": {
>           "quantity": {
>             "value": "161388658397000000000000",
>             "decimals": 18,
>             "currency": "tok_solana_7fmD1p3jzva28EPP9bPqbDoxZGj5j398yJoE3EVypump"
>           },
>           "value": {
>             "value": "15772819",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "invested": {
>             "value": "5622611",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "realizedPnl": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealizedPnl": {
>             "value": "10299898",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "totalPnl": {
>             "value": "10299898",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "closed": null,
>           "closedAt": null,
>           "side": null,
>           "leverage": null,
>           "observedAt": "2026-11-20T14:02:05.324Z"
>         },
>         "callPerformance": {
>           "marketCapAtCall": {
>             "value": "92565520764",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "priceAtCall": null,
>           "multiple": null,
>           "maxMultiple": null,
>           "maxMultipleAt": null,
>           "mediaUrl": null,
>           "quotedPost": null,
>           "observedAt": "2026-11-20T14:02:05.324Z"
>         }
>       }
>     }
>   }
> }
> ```

> [tab] Legend
>
> A perp position: `side`, `leverage`, `notional`, `margin`, entry and close price.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "legend",
>       "market": "perp",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "perpdesk",
>         "name": "Perp Desk",
>         "avatarUrl": "https://img.fomoscan.sh/a/perpdesk.webp"
>       },
>       "token": {
>         "id": "tok_hyperliquid_HYPE",
>         "symbol": "HYPE",
>         "name": null,
>         "imageUrl": "https://img.fomoscan.sh/t/example.webp"
>       },
>       "body": "Long with tight stop, invalidation below the range.",
>       "segments": [
>         {
>           "text": "Long with tight stop, invalidation below the range.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": {
>         "market": "perp",
>         "side": "long",
>         "leverage": 7,
>         "notional": {
>           "value": "35723932870",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "margin": null,
>         "status": "closed",
>         "entryPrice": {
>           "value": "63874862090544994000",
>           "decimals": 18,
>           "currency": "USD"
>         },
>         "markPrice": null,
>         "closePrice": {
>           "value": "64319722750679430000",
>           "decimals": 18,
>           "currency": "USD"
>         },
>         "size": null,
>         "pnl": {
>           "realized": {
>             "value": "180724593",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealized": null,
>           "total": {
>             "value": "180724593",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "percent": 3.54
>         },
>         "openedAt": "2026-11-20T13:59:17.817Z",
>         "closedAt": "2026-11-20T14:32:34.732Z",
>         "observedAt": "2026-11-20T20:20:26.212Z"
>       },
>       "likeCount": 0,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:36.190Z",
>       "revision": 0
>     },
>     "sources": {
>       "legend": {
>         "position": {
>           "quantity": null,
>           "value": null,
>           "invested": null,
>           "realizedPnl": {
>             "value": "180724593",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealizedPnl": null,
>           "totalPnl": null,
>           "closed": true,
>           "closedAt": "2026-11-20T14:32:34.732Z",
>           "side": "long",
>           "leverage": 7,
>           "observedAt": "2026-11-20T20:20:26.212Z"
>         }
>       }
>     }
>   }
> }
> ```

> [tab] markets.xyz
>
> A perp position, as on Legend.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "markets",
>       "market": "perp",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "basisbro",
>         "name": "Basis Bro",
>         "avatarUrl": "https://img.fomoscan.sh/a/basisbro.webp"
>       },
>       "token": {
>         "id": "tok_hyperliquid_xyz:SKHX",
>         "symbol": "xyz:SKHX",
>         "name": null,
>         "imageUrl": null
>       },
>       "body": "Opened a short, funding is too hot.",
>       "segments": [
>         {
>           "text": "Opened a short, funding is too hot.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": {
>         "market": "perp",
>         "side": "long",
>         "leverage": 10,
>         "notional": {
>           "value": "342500000",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "margin": {
>           "value": "34250000",
>           "decimals": 6,
>           "currency": "USD"
>         },
>         "status": "open",
>         "entryPrice": {
>           "value": "829410000000000000000",
>           "decimals": 18,
>           "currency": "USD"
>         },
>         "markPrice": null,
>         "closePrice": null,
>         "size": null,
>         "pnl": {
>           "realized": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealized": null,
>           "total": null,
>           "percent": null
>         },
>         "openedAt": "2026-11-20T14:01:59.589Z",
>         "closedAt": null,
>         "observedAt": "2026-11-20T14:02:47.370Z"
>       },
>       "likeCount": 0,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:47.370Z",
>       "revision": 0
>     },
>     "sources": {
>       "markets": {
>         "position": {
>           "quantity": null,
>           "value": null,
>           "invested": {
>             "value": "34250000",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "realizedPnl": {
>             "value": "0",
>             "decimals": 6,
>             "currency": "USD"
>           },
>           "unrealizedPnl": null,
>           "totalPnl": null,
>           "closed": false,
>           "closedAt": null,
>           "side": "long",
>           "leverage": 10,
>           "observedAt": "2026-11-20T14:02:47.370Z"
>         }
>       }
>     }
>   }
> }
> ```

> [tab] Axiom
>
> A token, without a position.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "axiom",
>       "market": "spot",
>       "url": null,
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "flowwatch",
>         "name": "Flow Watch",
>         "avatarUrl": "https://img.fomoscan.sh/a/flowwatch.webp"
>       },
>       "token": {
>         "id": "tok_solana_Fg5VdofZ5KouT81eSEr3RK6K7zUtFT9L4Dw5vCYSpump",
>         "symbol": "獅子丸",
>         "name": "Chubby Cat",
>         "imageUrl": "https://img.fomoscan.sh/t/example.webp"
>       },
>       "body": "Smart money buying this dip.",
>       "segments": [
>         {
>           "text": "Smart money buying this dip.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": null,
>       "likeCount": null,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:00.000Z",
>       "revision": 0
>     },
>     "sources": {
>       "axiom": {}
>     }
>   }
> }
> ```

> [tab] Telegram
>
> Text and a link to the message, without a token or a position. The [`calls`](https://docs.fomoscan.sh/v3/websocket/calls) topic sends the trade ideas we read in it.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "telegram",
>       "market": null,
>       "url": "https://t.me/alphachannel/1042",
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "alphachannel",
>         "name": "Alpha Channel",
>         "avatarUrl": "https://img.fomoscan.sh/a/alphachannel.webp"
>       },
>       "token": null,
>       "body": "Long SOL from 180, target 210, stop 170.",
>       "segments": [
>         {
>           "text": "Long SOL from 180, target 210, stop 170.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": null,
>       "likeCount": null,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:15.820Z",
>       "revision": 0
>     },
>     "sources": {
>       "telegram": {}
>     }
>   }
> }
> ```

> [tab] X
>
> Text and a link to the post, without a token or a position. The [`calls`](https://docs.fomoscan.sh/v3/websocket/calls) topic sends the trade ideas we read in it.
>
> ```json theme={null}
> {
>   "type": "post",
>   "cursor": "s_eyJzZXEiOjEwMjQwfQ",
>   "item": {
>     "kind": "post",
>     "id": "pst_01jexamp1epost000000000001",
>     "canonical": {
>       "platform": "twitter",
>       "market": null,
>       "url": "https://x.com/chartwizard/status/1860000000000000000",
>       "author": {
>         "trader": "tdr_01jexamp1etrader0000000001",
>         "handle": "chartwizard",
>         "name": "Chart Wizard",
>         "avatarUrl": "https://img.fomoscan.sh/a/chartwizard.webp"
>       },
>       "token": null,
>       "body": "Long SOL from 180, target 210, stop 170. Volume is back.",
>       "segments": [
>         {
>           "text": "Long SOL from 180, target 210, stop 170. Volume is back.",
>           "url": null
>         }
>       ],
>       "media": [],
>       "position": null,
>       "likeCount": null,
>       "postedAt": "2026-11-20T14:02:00.000Z",
>       "firstSeenAt": "2026-11-20T14:02:09.337Z",
>       "revision": 0
>     },
>     "sources": {
>       "twitter": {}
>     }
>   }
> }
> ```


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