Core API
Quote Price
Final price for a specific energy volume, fixed fee included
GET
Quote Price
Quote Price
Returns the exact amount that will be charged for a given energy volume — rental and fixed fee together, at your rate. This endpoint is public — authentication is optional. Send your API key to be quoted your own price; without it you get the public market price.Use this endpoint when you need a price for a specific volume.
GET /api/v1/prices
always quotes 65,000 units and takes no parameters, and POST /api/v1/energy/estimate
returns the rental only, at market price, ignoring your key.Query parameters
integer
required
Energy units to price. Between 60,000 and 5,000,000.
string
default:"1h"
Rental period. Energy supports
1h only.Headers
string
Optional. With a valid key the response reflects your negotiated rate and your
fixed fee. An absent, invalid or revoked key is not an error — you simply get
the public market price.
Response
number
Energy units the quote was calculated for
string
Rental period (
1h)string
Rate in SUN per 1 energy unit. Use it to price other volumes yourself:
rental = volume × price_sun / 1,000,000string
Rental cost for this volume, without the fixed fee
string
Fixed fee, charged once per order regardless of volume. Reflects your own
fee if a custom fee, discount or waiver applies to your account.
string
What you will be charged:
rental_trx + fixed_fee_trxstring | null
The same total in USD.
null when the TRX/USD rate is momentarily unavailable —
the TRX figures stay valid.boolean
true when your negotiated rate was applied, false when the quote is at the
public market price. Check it: a forgotten X-API-Key header otherwise looks
like a normal response, and you would quote your customers the public price
while being charged your own.Example
Values below are an example. Energy has a market price and it moves during the day.
Response
Common volumes
There is no catalogue of packages — any volume between 60,000 and 5,000,000 is
valid, and the fixed fee is charged once per order either way. Two transfers to
the same recipient are cheaper as one 131,000 order than as two 65,000 orders,
because the fee is paid once instead of twice.
Errors
An invalid or revoked
X-API-Key is not an error here: the quote is returned
at the public market price with personal_price: false.