Events

Subscribe to Non-Trading Activities Events (SSE)

The Events API provides event push as well as historical queries via SSE (server sent events).

You can listen to non-trading activities updates as they get processed by our backoffice, for both end-user and firm accounts.

Historical events are streamed immediately if queried, and updates are pushed as events occur.

You can listen to when NTAs are pushed such as CSDs, JNLC (journals) or FEEs.

Query Params Rules:

  • since_id and until_id are deprecated and available only to select broker partners; use since_ulid and until_ulid instead
  • since required if until specified
  • since_id required if until_id specified
  • since_ulid required if until_ulid specified
  • since, since_id or since_ulid can't be used at the same time Behavior:
  • if since, since_id or since_ulid not specified this will not return any historic data
  • if until, until_id or until_ulid reached stream will end (status 200)'
get/v1/events/nta

Request

  • Base URL
    https://broker-api.giftcity.sandbox.in.alpaca.markets
  • URL
    https://broker-api.giftcity.sandbox.in.alpaca.markets/v1/events/nta
  • Auth
    HTTP basic

Query parameters

idstring
sincestring date

Format: YYYY-MM-DD

untilstring date

Format: YYYY-MM-DD

since_idinteger

Deprecation notice: Use since_ulid instead.

Since: 2023-08-01 Sunset: 2027-02-15

until_idinteger

Deprecation notice: Use until_ulid instead.

Since: 2023-08-01 Sunset: 2027-02-15

since_ulidstring ulid
until_ulidstring ulid
include_preprocessingboolean
group_idstring uuid

ID used to link activities who share a sibling relationship

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.