Get a list of events
Changed onReturn a page of events from the stream.
Supports cursor-based pagination with an optional entity filter and timestamp lower bound. The stream starts on 22 April 2026 and, in production, also carries the earlier lifecycle of every holding open on that date. For holdings closed before then, use the holdings and subscriptions endpoints.
Request
- Base URLhttps://api.treasuryspring.com/api/v1
- AuthHTTP bearer
Query parameters
Only return events for this entity. Requires permission to view the entity's holdings. Cursors are positions in the whole stream, so keep a separate cursor or checkpoint for each filter you sync with.
Return events after this cursor (exclusive)
Return events up to and including this cursor
Return events created at or after this timestamp. ISO 8601 datetime in any timezone. When using a timezone offset, percent-encode the + as %2B (e.g. %2B01:00), or use the Z suffix for UTC.
Max events to return
Response
Event stream with pagination
Example response
{
"events": [
{
"cost": "10000.00",
"currency": "GBP",
"cursor": "ev1.abc123.xyz789",
"entityCode": "TEST001",
"ftfType": "Fixed",
"holdingUid": "6e69e21342a24bbdaf9fe4e8a9995fda",
"maturityDate": "2025-01-01",
"maturityValue": "10250.00",
"obligorExposureCode": "BACR",
"productCode": "GBP-BACR[GC]-3M",
"subscriptionDate": "2024-01-01",
"subscriptionUid": "dade0389c66241bd8366b017f1ffe19a",
"uid": "00000000000000000000000000000001",
"yield": "4.000000"
}
],
"pageInfo": {
"endCursor": "ev1.abc123.xyz789",
"limit": 1000,
"pageEndCursor": "ev1.abc123.xyz789",
"startCursor": "ev1.abc123.xyz789",
"totalCount": 42
}
}Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status
- info
- info
added the new optional
queryrequest parameterentity_code
- info