This endpoint provides settled daily futures and options data, including prices, volume, and open interest. You may request a market code, an initial code, or an exact instrument code.
For typical post-close availability times, see Data Availability.
GET https://www.asxenergy.com.au/api/data
Exactly one of futures or options must be provided in each request.
| Name | Type | Mandatory | Description |
|---|---|---|---|
| futures | string |
YES (mutually exclusive with options) | Get historical data for futures products. Accepted market codes: - au_electricity- nz_electricity- au_gas- au_environmental- nz_environmentalAccepted futures codes: - Initial code (e.g. BNH, EVJ) - Exact code (e.g. HNZ2026, GNU2025) |
| options | string |
YES (mutually exclusive with futures) | Get historical data for options products. Accepted market codes: - au_electricity- nz_electricityAccepted options codes: - Initial code (e.g. BNZ, HQZ2026) - Exact code (e.g. HNZ20260012000, EAH20260010000C) |
| date | string |
NO | Date in format yyyymmdd.Default: the latest date available for the specified code or market. |
To list available dates for a code or market, see Get Available Dates.
| Status | When | Body |
|---|---|---|
400 |
Neither or both of futures and options were provided, the date is invalid, or the code is invalid |
{"error":"..."} |
403 |
Your token is not entitled to the requested market | {"error":"forbidden"} |
401429 |
Authentication failure or rate limit exceeded | See Data API overview |
For API Trial tokens, a date outside the allow time range returns status 400.
The API supports CSV-formatted responses when requested via the Accept header. To receive data in CSV format, set the following header in your request:
Accept: text/csv
Returns settled end-of-day data for futures products.
| Name | Type | Mandatory | Description |
|---|---|---|---|
| futures | string |
YES | Echo of the futures query value |
| date | string |
YES | Effective date as yyyymmdd |
| data | array |
YES | Futures row objects listed below |
data array items:
| Name | Type | Notes |
|---|---|---|
| code | string |
Futures code |
| date | string |
Date as yyyymmdd |
| bid_size | string |
Best bid quantity |
| bid | string |
Best bid price |
| ask_size | string |
Best ask quantity |
| ask | string |
Best ask price |
| first | string |
First traded price |
| high | string |
Session high |
| low | string |
Session low |
| settle | string |
Settlement price |
| volume | string |
Total traded volume |
| open_interest | string |
Open interest |
Request:
GET https://www.asxenergy.com.au/api/data?futures=au_electricity
JSON response:
{
"futures": "au_electricity",
"date": "20250227",
"data": [
{
"code": "BNH2025",
"date": "20250227",
"bid_size": "3",
"bid": "84.15",
"ask_size": "1",
"ask": "85.40",
"first": "86.00",
"high": "86.50",
"low": "83.75",
"settle": "84.50",
"volume": "43",
"open_interest": "1920"
}
// ...
]
}
CSV response:
code,date,bid_size,bid,ask_size,ask,first,high,low,settle,volume,open_interest
BNH2025,20250227,3,84.15,1,85.40,86.00,86.50,83.75,84.50,43,1920
...
Returns settled end-of-day data for options products.
| Name | Type | Mandatory | Description |
|---|---|---|---|
| options | string |
YES | Echo of the options query value |
| date | string |
YES | Effective date as yyyymmdd |
| data | object |
YES | Object with put and call arrays listed below |
data object:
| Name | Type | Description |
|---|---|---|
| put | array |
Put option rows |
| call | array |
Call option rows |
data.put / data.call array items:
| Name | Type | Notes |
|---|---|---|
| code | string |
Options code |
| date | string |
Date as yyyymmdd |
| bid_size | string |
Best bid quantity |
| bid | string |
Best bid price |
| ask_size | string |
Best ask quantity |
| ask | string |
Best ask price |
| first | string |
First traded price |
| high | string |
Session high |
| low | string |
Session low |
| settle | string |
Settlement price |
| volume | string |
Traded volume |
| open_interest | string |
Open interest |
| implied_volatility | string |
Implied volatility |
Request:
GET https://www.asxenergy.com.au/api/data?options=HNZ2026&date=20250401
JSON response:
{
"options": "HNZ2026",
"date": "20250401",
"data": {
"put": [
{
"code": "HNZ20260004000P",
"date": "20250401",
"bid_size": "0",
"bid": "0.00",
"ask_size": "0",
"ask": "0.00",
"first": "0.00",
"high": "0.00",
"low": "0.00",
"settle": "0.00",
"volume": "0",
"open_interest": "25",
"implied_volatility": "30.97"
}
// ...
],
"call": [
{
"code": "HNZ20260004000C",
"date": "20250401",
"bid_size": "0",
"bid": "0.00",
"ask_size": "0",
"ask": "0.00",
"first": "0.00",
"high": "0.00",
"low": "0.00",
"settle": "80.30",
"volume": "0",
"open_interest": "25",
"implied_volatility": "13.00"
}
// ...
]
}
}
CSV response:
When response type is CSV, all puts and calls are flattened into a single list.
code,date,bid_size,bid,ask_size,ask,first,high,low,settle,volume,open_interest,implied_volatility
HNZ20260004000C,20250401,0,0.00,0,0.00,0.00,0.00,0.00,80.30,0,25,13.00
HNZ20260004000P,20250401,0,0.00,0,0.00,0.00,0.00,0.00,0.00,0,25,30.97
...