Energy prices (deprecated)
The deprecated pricing endpoint, scheduled for removal. Move to /pricing: it has dynamic periods, a service filter, energy_5m, AML and host prices in one response, and machine-readable units.
Returns five fixed time-of-day periods and three hardcoded volume categories.
The rate limit here is the strictest in the whole API — one request per minute, because the response is assembled by heavy database queries.
Authorizations
API key from the dashboard. Some Host Mode endpoints also accept the key as an api_key field in the request body — this is stated in the schema of the particular operation.
Parameters
Header Parameters
An IP address from the key's whitelist. A request from an address outside the whitelist is rejected with 401.
"203.0.113.10""ipv4"Compact plain-text response instead of JSON. The response arrives with Content-Type: text/plain.
"now""compact""short""short1h""count""now"Responses
Prices by time-of-day period.