---
title: "Callout events"
canonical_url: "https://tweetstream.io/docs/callouts"
last_updated: 2026-09-24
---

# Callout events

Follow pump.fun callouts, author updates, replies, and reposts on your WebSocket. Alert on the first event, then merge the full details that usually follow within a few seconds.

Canonical URL: https://tweetstream.io/docs/callouts

## Select callout accounts

In the Callouts tab, add a pump.fun username, Solana wallet, or profile URL. Labels are optional.

- Use a Solana wallet for the account, regardless of the token's chain.
- Minimum: 10 accounts. Pro, Scale, and Ultra Speed: 100. Pending additions count toward the limit.

## account/callout

Alert on this event. `d.platform` is `pump_fun`; caller username and token address are always present.

The first event may lack the token name, market cap, SOL and USD prices, the caller's position (holding, cost, value, and PnL), and attached media. In an author update, `d.text` may be a shortened preview. The complete callout follows as `account/callout_update`.

Optional `d.token.chainId` uses CAIP-2: `solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp` for Solana mainnet; `eip155:56`, `eip155:999`, `eip155:4663`, or `eip155:8453` for EVM chains. When absent, the chain is unspecified.

Text, media, positions, and token/price details are optional. Optional images: `d.caller.image` (avatar), `d.token.image` (token artwork).

- Optional `d.kind`: `callout`, `author_update`, `reply`, or `repost`. Author updates are new posts, not enrichment.
- `d.caller` is the tracked actor. `d.reference` holds the original author, text, and media; `d.reference.reply` holds a reposted reply and its author, not the reposter.
- `replyId` identifies a reply or author update. Optional `parentReplyId` and `rootReplyId` link the thread; `calloutId` identifies the original callout.
- Exact decimal prices: `calloutPrice` / `maxPriceSol` (SOL), `calloutPriceUsd` / `maxPriceUsd` (USD). Keep strings or use a decimal library. USD prices do not imply SOL prices.
- `marketCapUsd` and `multiple` are optional numbers. Position values are exact decimal strings: `amountHeld` is a token amount, `pnlPercentage` a percentage, and `*Usd` fields USD amounts.

### Callout event type

```typescript
type CalloutCaller = {
  username: string;
  image?: string;
};

type CalloutReply = {
  caller: CalloutCaller;
  replyId: string;
  parentReplyId?: string;
  rootReplyId?: string;
  text?: string;
  mediaUrl?: string;
};

type CalloutEvent = {
  platform: 'pump_fun';
  caller: CalloutCaller;
  kind?: 'callout' | 'author_update' | 'reply' | 'repost';
  text?: string;
  mediaUrl?: string;
  // Required for replies and author updates.
  replyId?: string;
  parentReplyId?: string;
  rootReplyId?: string;
  reference?: {
    caller: CalloutCaller;
    text?: string;
    mediaUrl?: string;
    reply?: CalloutReply;
  };
  position?: {
    amountHeld?: string;
    valueUsd?: string;
    costBasisUsd?: string;
    pnlUsd?: string;
    pnlPercentage?: string;
    realizedPnlUsd?: string;
  };
  token: {
    address: string;
    chainId?: string;
    symbol?: string;
    name?: string;
    image?: string;
  };
  url?: string;
  marketCapUsd?: number;
  // SOL, exact decimal.
  calloutPrice?: string;
  // USD, exact decimal.
  calloutPriceUsd?: string;
  multiple?: number;
  // SOL peak, exact decimal.
  maxPriceSol?: string;
  // USD peak, exact decimal.
  maxPriceUsd?: string;
  calloutId: string;
  createdAt: number;
  receivedAt?: number;
};

type CalloutUpdateEvent = CalloutEvent & {
  // Original envelope id, not calloutId.
  updateOf: string;
};

type PerpCalloutEvent = {
  platform: 'pump_fun';
  caller: CalloutCaller;
  // The perpetual market and the original callout's stance.
  market: {
    // For example 'hyperliquid'.
    venue: string;
    // The venue's market symbol, case kept: 'BTC', 'xyz:CL'.
    symbol: string;
    name?: string;
    image?: string;
    side: 'long' | 'short';
    // Exact decimal multiplier, for example '10' or '2.5'.
    leverage: string;
    // USD, exact decimals.
    entryPriceUsd?: string;
    closePriceUsd?: string;
    closedAt?: number;
  };
  kind?: 'callout' | 'author_update' | 'reply' | 'repost';
  text?: string;
  mediaUrl?: string;
  // Required for replies and author updates.
  replyId?: string;
  parentReplyId?: string;
  rootReplyId?: string;
  reference?: CalloutEvent['reference'];
  // The acting account's position snapshot, exact decimals.
  // market.side is the original callout's stance, not this position's direction.
  position?: {
    // Coin units.
    size?: string;
    notionalUsd?: string;
    marginUsd?: string;
    pnlUsd?: string;
    // Of margin.
    pnlPercentage?: string;
    realizedPnlUsd?: string;
  };
  // USD, exact decimal.
  calloutPriceUsd?: string;
  // Return multiple, leverage included.
  multiple?: number;
  calloutId: string;
  createdAt: number;
  receivedAt?: number;
};
```

### First callout event

```json
{
  "v": 1,
  "t": "account",
  "op": "callout",
  "id": "callout.0123456789abcdef0123",
  "ts": 1772000001060,
  "d": {
    "platform": "pump_fun",
    "caller": {
      "username": "CryptoCalls",
      "image": "https://cdn.example/avatar.png"
    },
    "kind": "callout",
    "text": "Watching this token.",
    "token": {
      "address": "So11111111111111111111111111111111111111112",
      "chainId": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "symbol": "ABC"
    },
    "url": "https://pump.fun/callouts/So11111111111111111111111111111111111111112/9ab3177c-7b35-4d99-9cca-8b426f74a270",
    "calloutId": "9ab3177c-7b35-4d99-9cca-8b426f74a270",
    "createdAt": 1772000001000,
    "receivedAt": 1772000001050
  }
}
```

### Repost of another author's reply

```json
{
  "v": 1,
  "t": "account",
  "op": "callout",
  "id": "callout.repost-example",
  "ts": 1772000003060,
  "d": {
    "platform": "pump_fun",
    "kind": "repost",
    "caller": { "username": "MarketReader" },
    "token": { "address": "So11111111111111111111111111111111111111112" },
    "calloutId": "9ab3177c-7b35-4d99-9cca-8b426f74a270",
    "createdAt": 1772000003000,
    "reference": {
      "caller": { "username": "CryptoCalls" },
      "text": "Watching this token.",
      "reply": {
        "caller": { "username": "ReplyAuthor" },
        "replyId": "reply-example",
        "text": "Watching the volume too."
      }
    }
  }
}
```

## account/callout_update

Usually within a few seconds, this event carries the complete callout, including any details the first event lacked. Merge it into the original row without another alert.

- Deduplicate by this envelope's `id`. `d.updateOf` points to the original envelope `id`, not `calloutId`.
- Merge supplied fields, including nested `caller`, `token`, `position`, and `reference` fields. Omitted fields do not erase earlier values.
- If the original is missing, store or ignore the update; do not treat it as a new callout.
- Updates are optional. Show initial content even if no update arrives.

### Follow-up with full details

```json
{
  "v": 1,
  "t": "account",
  "op": "callout_update",
  "id": "callout_update.556abf0021a7ff937a1a804ec0a0c245d497bcc6090af66179e74ce03c0970e0",
  "ts": 1772000001840,
  "d": {
    "platform": "pump_fun",
    "updateOf": "callout.0123456789abcdef0123",
    "caller": { "username": "CryptoCalls" },
    "kind": "callout",
    "mediaUrl": "https://cdn.example/chart.png",
    "token": {
      "address": "So11111111111111111111111111111111111111112",
      "symbol": "ABC",
      "name": "Alpha Beta",
      "image": "https://cdn.example/token.png"
    },
    "marketCapUsd": 156230.75,
    "calloutPrice": "0.00000125",
    "calloutPriceUsd": "0.00018750",
    "position": {
      "amountHeld": "2500000",
      "costBasisUsd": "312.50",
      "valueUsd": "468.75",
      "pnlUsd": "156.25",
      "pnlPercentage": "50"
    },
    "calloutId": "9ab3177c-7b35-4d99-9cca-8b426f74a270",
    "createdAt": 1772000001000
  }
}
```

### Alert once, then merge

```typescript
type Json = Record<string, unknown>;

type CalloutMessage =
  | { op: 'callout'; id: string; d: CalloutEvent }
  | { op: 'callout_update'; id: string; d: CalloutUpdateEvent };

declare function sendAlert(callout: CalloutEvent): void;

const isObject = (value: unknown): value is Json =>
  typeof value === 'object' && value !== null && !Array.isArray(value);

// Supplied fields win, nested objects merge, omitted fields keep their value.
function merge(row: Json, details: Json): Json {
  const merged: Json = { ...row };
  for (const [key, value] of Object.entries(details)) {
    const current = merged[key];
    merged[key] = isObject(current) && isObject(value) ? merge(current, value) : value;
  }
  return merged;
}

// One row per callout, keyed by the first event's envelope id.
const rows = new Map<string, Json>();

function handleCallout(message: CalloutMessage) {
  if (message.op === 'callout') {
    if (rows.has(message.id)) return;
    rows.set(message.id, message.d);
    sendAlert(message.d);
    return;
  }
  // Fill in the row from the first event. Never alert here.
  const { updateOf, ...details } = message.d;
  const row = rows.get(updateOf);
  if (row) rows.set(updateOf, merge(row, details));
}
```

## account/perp_callout

Callouts on perpetual markets arrive as this operation, never as `account/callout`. `d.market` takes the place of `d.token`, so a spot token handler never receives a perpetual.

- `d.market` is the original callout's stance: `venue` (such as `hyperliquid`), the market `symbol` with its case kept (`BTC`, `xyz:CL`), `side` (`long` or `short`), and `leverage`, an exact decimal multiplier. Optional `entryPriceUsd`, `closePriceUsd`, and `closedAt` complete it.
- `d.kind`, `replyId`, and `reference` work as on `account/callout`. A reply or repost carries the original callout's `market`, not the replier's.
- Optional `d.position` is the acting account's position snapshot, in exact decimal strings: `size` in coin units, `notionalUsd`, `marginUsd`, `pnlUsd`, `pnlPercentage` of margin, and `realizedPnlUsd`. `market.side` is the original callout's stance, not this position's direction.
- `calloutPriceUsd` is the market price at the callout. `multiple` is the return multiple, leverage included.
- No `account/callout_update` follows a perpetual callout. Deduplicate by envelope `id`.

### Perpetual callout

```json
{
  "v": 1,
  "t": "account",
  "op": "perp_callout",
  "id": "callout.0123456789abcdef0123",
  "ts": 1772000001060,
  "d": {
    "platform": "pump_fun",
    "caller": {
      "username": "CryptoCaller"
    },
    "market": {
      "venue": "hyperliquid",
      "symbol": "ZEC",
      "name": "Zcash",
      "side": "long",
      "leverage": "10",
      "entryPriceUsd": "1155.0967741935483"
    },
    "calloutPriceUsd": "1138.8",
    "multiple": 0.8056,
    "text": "Thesis text",
    "kind": "callout",
    "position": {
      "size": "0.31",
      "notionalUsd": "351.85",
      "marginUsd": "32.053309",
      "pnlUsd": "-6.229999999999973",
      "pnlPercentage": "-19.436370828359635",
      "realizedPnlUsd": "0"
    },
    "calloutId": "b7cccaa0-6ca2-46b8-bad4-79688a083be6",
    "createdAt": 1772000001000,
    "receivedAt": 1772000001050
  }
}
```

## Use identifiers and timestamps

Deduplicate by envelope `id`. Replies and reposts share the original `calloutId`, not the envelope ID.

- `d.createdAt`: occurrence creation time.
- `d.receivedAt`: optional TweetStream receipt time.
- Envelope `ts`: preparation time.
