Energy Price History
GET/pricing/history
Our Energy price vs the anonymous market average over time. No API key required.
Pass hours for an hourly series (up to 168h / 7 days) or days for a daily series (up to 365). With neither, the series defaults to the last 24 hours, hourly. hours wins when both are given.
Each point carries our price (SUN), the market average (SUN), and our price for a 65,000-Energy order — one USDT transfer — in TRX.
How buckets work
- Buckets are UTC-aligned. The series covers the last N hours or days and may include the current, partial bucket, so it can hold up to N+1 points
- Each point is the last price recorded in its bucket (for
days, the day's closing hourly rate), not an average over the bucket - Buckets without a recorded price of ours are left out
Good to know
- Responses are cached server-side for ~60s
- Buckets with no recorded market data have
market_avg_price_sun: null
Request
Responses
- 200
- 422
Price history series
Validation error — hours or days out of range