curl --request GET \
--url https://api.lamarge.trade/v1/me/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
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
}
}{
"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 private and public events
Public replay plus the caller’s private events. A credential sees its identity’s orders, maker fills and lease only; no balances or withdrawals. Credential scope: read.
curl --request GET \
--url https://api.lamarge.trade/v1/me/events \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.lamarge.trade/v1/me/events', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lamarge.trade/v1/me/events"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
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
}
}{
"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
}
}Authorizations
Master session from POST /v1/auth/verify. Revocable; expires after seven days by default. Required for financial operations.
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.