Subscribe to Corporate Actions Events (SSE)

Server-Sent Events (SSE) stream that delivers every corporate-action mutation (insert / update / delete) across all 15 CA types on a single long-lived text/event-stream connection. When since, since_id, or the Last-Event-Id reconnect header is provided, historical events are replayed first; otherwise only live events are pushed.

Each event carries an event_type discriminator that selects the shape of the ca payload -- see the corporate_action_event schema for the mapping to each per-type schema. The same underlying data is available on demand via GET /v1/corporate-actions.

Query Params
type
array of objects

Filter the stream to a subset of event_type values.

Passed as a comma-separated list in the URL query, e.g.
?type=cash_dividend_corporateaction_event,stock_dividend_corporateaction_event.

Only events whose event_type is in this list are delivered. An empty or
omitted value is treated as "no filter" (deliver every type). Unknown values
return 400 with the list of valid values in the error message. The filter
applies uniformly to both replayed (historical) and live events.

See corporate_action_event_type
for the full list of accepted values.

type
string
enum
Defaults to all

Which markets to receive events for. Compared against the envelope's region
field and applied uniformly to historical and live events.

  • all (default): every event, regardless of market.
  • us: only events with region == "us".
  • non_us: only events with region == "non_us".

Unknown values return 400 with the list of valid values in the error
message. The value is case-insensitive.

Allowed:
date-time

Replay events emitted on or after this RFC-3339 date. Mutually exclusive with
since_id. Required when until is specified.

date-time

Close the connection after the last event on this RFC-3339 date (inclusive).
Requires since; cannot be in the future.

string
^[0-7][0-9A-HJKMNP-TV-Z]{25}$

ULID matching an event_id; replay events whose event_id is greater than
or equal to this value (inclusive -- the event with this id, if it still
exists, is redelivered). Mutually exclusive with since. Overridden by the
Last-Event-Id header when both are set.

string
^[0-7][0-9A-HJKMNP-TV-Z]{25}$

ULID matching an event_id; close the connection once this id has been
delivered (inclusive). Requires since_id; cannot be in the future.

Headers
string
^[0-7][0-9A-HJKMNP-TV-Z]{25}$

Standard SSE reconnect header. ULID matching an event_id; replay events
whose event_id is greater than or equal to this value (inclusive -- the
event with this id is redelivered on reconnect, so clients should
deduplicate by event_id if needed). Overrides since_id when both are
set.

Responses

401

Authentication headers are missing or invalid. Make sure you authenticate your request with a valid API key.

403

The requested resource is forbidden.

500

Internal server error. We recommend retrying these later. If the issue persists, please contact us on Slack or on the Community Forum.

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/event-stream
*/*