GET /api/v1/executeStats
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/executeStatsCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeExecution quality and slippage comparison between Lighter and major centralized exchanges.
Parameters
| name | in | type | description | |
|---|---|---|---|---|
period | query | strd | w | m | q | y | all | required | Window period. example: d |
Response
type: object
data key: result
pagination: none
sample: {
"period": "str",
"result": "array[18]"
}
Safe request
Reads the credential from API_HUB_KEY; it never appears in the URL.
curl -sH "X-Hub-Key: $API_HUB_KEY" "https://openapihub.dev/run/lighter/api/v1/executeStats?period=d"