curl --request GET \
--url https://api.lamarge.trade/v1/eventsconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/events"
response = requests.get(url)
print(response.text){
"events": [
{
"cursor": "<string>",
"resource_id": "<string>",
"revision": "<string>",
"occurred_at": "2023-11-07T05:31:56Z",
"kind": "book.changed",
"data": {
"from": "<string>",
"to": "<string>"
}
}
],
"next_cursor": "<string>",
"has_more": true,
"oldest_cursor": "<string>",
"server_time": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Replay public events
Events in committed publication order. Persist next_cursor after every page, even an empty one: a page can hold no events with has_more: true. Continue until has_more is false. An absent after means 0. A cursor outside retention (seven days or one million events) returns 410 RESYNC_REQUIRED. Payloads are current previews; book.changed means reload the book.
curl --request GET \
--url https://api.lamarge.trade/v1/eventsconst options = {method: 'GET'};
fetch('https://api.lamarge.trade/v1/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/events"
response = requests.get(url)
print(response.text){
"events": [
{
"cursor": "<string>",
"resource_id": "<string>",
"revision": "<string>",
"occurred_at": "2023-11-07T05:31:56Z",
"kind": "book.changed",
"data": {
"from": "<string>",
"to": "<string>"
}
}
],
"next_cursor": "<string>",
"has_more": true,
"oldest_cursor": "<string>",
"server_time": "2023-11-07T05:31:56Z"
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"retryable": true
}
}Query Parameters
Unsigned 64-bit integer as a decimal string. Event cursors are positions, not contiguous per subscriber.
^[0-9]+$1 <= x <= 500Response
OK.
500Published in committed cursor order. Private payloads are current previews at publication, not a transition log; revisions and events can repeat. Ignore stale revisions; read the resource for details.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
Show child attributes
Show child attributes
Unsigned 64-bit integer as a decimal string. Event cursors are positions, not contiguous per subscriber.
^[0-9]+$Unsigned 64-bit integer as a decimal string. Event cursors are positions, not contiguous per subscriber.
^[0-9]+$RFC 3339 UTC; snapshots and history may keep fractional seconds.