# Polling catalysts

Company dates and regulator events, and how each one changes.

```bash
curl "https://api.gloom.sh/v1/catalysts/changes?since=2026-11-01T00:00:00Z&symbols=AAPL,NVDA" \
  -H "Authorization: Bearer $GLOOM_DATASETS_KEY"
```

```json
{
  "data": [
    {
      "symbol": "AAPL",
      "id": "99742b4972fd3e09e8cdc76e61ef7fa5",
      "revisionId": "171070",
      "revision": 1,
      "type": "results",
      "title": "Apple Inc.: results released",
      "status": "released",
      "effectiveDate": "2026-11-02",
      "observedAt": "2026-11-02T21:30:23.000Z",
      "changes": []
    },
    {
      "symbol": "AAPL",
      "id": "3d7c84f77fc70d8849933256e614b572",
      "revisionId": "171250",
      "revision": 2,
      "type": "results",
      "title": "Apple Inc.: Q4 2026 earnings call",
      "status": "superseded",
      "effectiveDate": "2026-11-02",
      "observedAt": "2026-11-03T00:58:04.969Z",
      "changes": [{ "field": "status", "before": "scheduled", "after": "superseded" }]
    }
  ],
  "meta": {
    "cursor": "176395",
    "symbols": [
      { "input": "AAPL", "symbol": "AAPL", "status": "ok", "cursor": "176395" },
      { "input": "NVDA", "symbol": "NVDA", "status": "empty", "cursor": "176395" }
    ]
  }
}
```

Trimmed from a real answer: two of its rows, and some fields left out.

## The rows

- Each row is one revision of an event: `id` is the event, `revisionId` the revision, `revision` its number for that event. `changes` lists what moved since the revision before: a status, a date, a title.
- Company events are a company's own dates: results releases and their calls, shareholder meetings, merger votes, deal closings, investor days. Regulator events come from the agencies' own publications, such as FDA approvals, FTC early terminations and court dockets.
- `observedAt` is when the revision was observed: the source's own time where it gives one, else when Gloom read it. `sourcePublishedAt` is when the source published what the revision says, where it dates it (the table below), else null.
- A company event read from an SEC filing is observed when Gloom first stored the filing, never before SEC accepted it, so `dateField=observed` never gives it before Gloom had it. A filing Gloom stored long after it was filed is observed that much later. Its `sourcePublishedAt` is the filing's, the day alone for some: which of two filings on one event is newer goes by those.
- A company named in its own script on a Japanese or Taiwanese schedule is titled by its English name once Gloom has read it: `トヨタ自動車` reads `Toyota Motor Corporation`. Until then, usually the first read of a listing, the title is the one the schedule filed. A name is never waited for, so a page does not change its title, and its `ETag`, by how fast the name came.

## A company event's status

A company event starts `scheduled`, then moves once, sometimes twice:

| `status` | The event |
| --- | --- |
| `scheduled` | Its day has not ended where the company is listed |
| `date_passed` | Its day has ended where the company is listed, and nothing has said yet what came of it |
| `held` | It took place: a call whose transcript is stored, a meeting whose results were filed |
| `released` | A results release, published |
| `superseded` | Replaced by a later event: a call by its results release, which carries the news |
| `rescheduled` | Moved to another date, which is a new event |
| `cancelled` | Called off |

- A date passes once its day ends where the company is listed. `date_passed` is a revision of its own, observed when Gloom stores it, minutes later, so a poller sees it, and a later reading (`held`, `released`, `superseded`) revises it again. `datePassed` is `true` on such an event, on the change feed too, and its title no longer says the date is to come: `…: second quarter results scheduled` reads `…: second quarter results`.
- A date stored as passed more than 30 days after its day, as the dates already past were when this status began on 2026-11-08, takes the status without a revision on the change feed, as an event first seen with every date more than 30 days past is no first sighting.
- A call and its results release are two events. When the release comes, the call is `superseded`: alert on the release, and drop the call. The call's change is on the feed, so one alert per results is enough.
- `/v1/catalysts` lists superseded, rescheduled and cancelled company events only when `status=` asks for one. The change feed lists every revision.
- A regulator event's `status` is its publisher's own word, such as `approved`, `early termination granted` or `Final Order Issued`.

### Where each source's events end

Each source reads what it can see, so its events reach some statuses only. An event that stops at `date_passed` has no outcome on its source: read the company's results elsewhere.

**All routes (9)**

| `source` | Events | `status` it reaches | `sourcePublishedAt` |
| --- | --- | --- | --- |
| `company_results` | US results releases | `released` | When the release was filed |
| `company_calls` | US earnings calls | `scheduled`, `held`, `superseded`, `date_passed` | Null: company event pages give no date |
| `sec_company_events` | US shareholder meetings and other dates from SEC filings | `scheduled`, `held`, `completed`, `date_passed` | When the filing was accepted |
| `hk_results` | Hong Kong results | `scheduled`, `released`, `date_passed` | When the results were published; null on a board meeting notice, which gives no date |
| `cn_report_schedule` | Shanghai and Shenzhen periodic reports | `scheduled`, `released`, `date_passed` | Null: the booking schedule gives no date |
| `sg_announcements` | Singapore results and meetings | `scheduled`, `rescheduled`, `released`, `cancelled`, `date_passed` | When the announcement was made |
| `jp_results_schedule` | Japanese results dates | `scheduled`, `date_passed` | The day of the JPX schedule that first listed the date, or changed it; null on a date first listed before 9 November 2026 |
| `in_board_meetings` | Indian board meetings on results | `scheduled`, `rescheduled`, `date_passed` | When the company told the exchange |
| `tw_shareholder_meetings` | Taiwanese shareholder meetings | `scheduled`, `date_passed` | Null: the meeting list gives no date |

## Polling

Read `/v1/catalysts/changes` with a fixed `since` and send `meta.cursor` back as `cursor`. Read again at once while `meta.page.hasMore` is true:

```python
cursor, seen = None, set()
while True:
    query = {"since": "2026-11-01T00:00:00Z", "symbols": "AAPL,NVDA,CRBG"}
    if cursor:
        query["cursor"] = cursor
    page = get("/v1/catalysts/changes", query)
    alert([row for row in page["data"] if row["revisionId"] not in seen])
    seen.update(row["revisionId"] for row in page["data"])
    cursor = page["meta"]["cursor"]
    if any(s["status"] == "unavailable" for s in page["meta"]["symbols"]):
        sleep(60)
    elif not page["meta"]["page"]["hasMore"]:
        seen.clear()
        sleep(15 * 60)
```

- `meta.cursor` is one cursor for every listing in `symbols`. Caught up, it is the newest revision the read could see, matched or not, the same for every listing.
- While one listing has more, `meta.cursor` is where that listing stopped, the earliest: the next read goes on from there for all of them, and the others may list again revisions they already listed. Skip a `revisionId` you have. Each listing's own cursor is in `meta.symbols`, to page one alone.
- A listing `not_found` holds no cursor back. A listing `unavailable`, not read just now, holds `meta.cursor` at the `cursor` you sent, or `0`, the start, when you sent none: wait a minute before reading again, as the `retry_unavailable` notice says.
- A listing with nothing new is `empty` and free. `limit` counts revisions, 100 when not sent, up to 200. `meta.page.total` is null: a feed counts no total, so read on while `meta.page.hasMore` is true.
- `revisions=material`, the default, lists first sightings and changes of status or date. `revisions=all` adds every other revision.

### Adding a listing

The cursor is a place in one feed that every listing reads, not a place of the listings you sent. A listing you add to a running poll starts at the cursor, with none of its earlier revisions: `symbols=AAPL,KO&cursor=203124` lists what is new for both since `203124`, nothing older of `KO`. To have a new listing's history, read it once on its own with `since` and no cursor, to the end, then add it to the poll's `symbols` with the cursor you have.

### Without a cursor

A poller that keeps no state can read by `since` alone. A revision can be stored days after the moment it was observed: most are stored within a day, a few up to a week later. So start each poll a week before the last one, and skip the `revisionId`s already seen. The cursor has no such gap: prefer it.

## Freshness

`meta.dataThrough` is when the newest revision the dataset holds was observed, on every page, with rows or not: a quiet listing is told from a stalled feed.

`meta.checkedAt` is the newest of the sources' last complete reads, events or none: within minutes, as some source is read every few minutes. It says the collector runs, not that every source is current: a source that fails holds its last events while the others move it on. It is in no `ETag`, so an unchanged page still answers `304`, and the `X-Checked-At` header carries it on the `304` too.

- [Previous Polling insider trades](https://gloom.sh/datasets/docs/insider-trades)
- [Next Syncing filings, statements and estimates](https://gloom.sh/datasets/docs/nightly-sync)
