GET /api/v1/savingsSummary
Auth X-Hub-Key from API_HUB_KEYExecute
GET /run/lighter/api/v1/savingsSummaryCache cached 1s, never served stale past that windowCost free · weight 0 · standard rate classSource billing freeAggregate 30-day trading fee savings compared to centralized venues.
Parameters
No parameters documented.
Response
type: object
data key: categories
pagination: none
sample: {
"code": "int",
"time_window": "str",
"from_day": "str",
"to_day": "str",
"days": "int",
"built_at": "int",
"time_windows": "array[4]",
"categories": "array[15]",
"next_best_venue": "str",
"venues": "array[3]"
}
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/savingsSummary"