executeStats
Return execution statistics comparing slippage across exchanges for the requested reporting period.
get/api/v1/executeStats
Query parameters
periodstring · enumRequiredPossible values:
Requested reporting period. Allowed values: d, w, m, q, y, all.
Responses
200
A successful response.
application/json
This response does not use the usual code/message envelope.
periodstring · enumRequiredPossible values:
400
Bad request
application/json
get/api/v1/executeStats
GET /api/v1/executeStats?period=d HTTP/1.1
Host: mainnet.zklighter.elliot.ai
Accept: */*
{
"period": "d",
"result": [
{
"timestamp": 1,
"slippage": [
{
"exchange": "lighter",
"market": "ETH",
"size_usd": 1000,
"avg_slippage": 0.5,
"data_count": 100
}
]
}
]
}Last updated
Was this helpful?