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 free

Execution quality and slippage comparison between Lighter and major centralized exchanges.

Parameters

nameintypedescription
periodquerystr
d | w | m | q | y | all
requiredWindow 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"