Intraday Data

This endpoint provides the current intraday data for futures or options. You may request a market code for all contracts in that market, or an initial or exact code to narrow the result set.

For session timing and dataset definitions, see Data Availability. The current market phase is available from Get Market State.


Endpoint

GET https://www.asxenergy.com.au/api/intraday

Parameters

Exactly one of futures or options must be provided in each request.

Name Type Mandatory Description
futures string YES (mutually exclusive with options) Get intraday data for futures products.
Accepted market codes:
- au_electricity
- nz_electricity
- au_gas
- au_environmental
- nz_environmental
Accepted futures codes:
- Initial code (e.g. BNH, EVJ)
- Exact code (e.g. HNZ2026, GNU2025)
options string YES (mutually exclusive with futures) Get intraday data for options products.
Accepted market codes:
- au_electricity
- nz_electricity
Accepted options codes:
- Initial code (e.g. BNZ, HQZ2026)
- Exact code (e.g. HNZ20260012000, EAH20260010000C)
active boolean NO Only available for options data. Set to true to select active codes only.

Errors

Status When Body
400 Neither or both of futures and options, or an invalid code were provided {"error":"..."}
403 Your token is not entitled to the requested market {"error":"forbidden"}
401
429
Authentication failure or rate limit exceeded See Data API overview

CSV Support

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

Futures

Returns the current intraday data for futures products.

Response

Name Type Mandatory Description
futures string YES Echo of the futures query value
at string YES Last update time as yyyyMMddHHmm format (Australia/Sydney)
data array YES Futures product details listed below

data array items:

Name Type Notes
code string Futures code
bid_size string (nullable) Best bid quantity
bid string (nullable) Best bid price
ask_size string (nullable) Best ask quantity
ask string (nullable) Best ask price
high string (nullable) Session high
low string (nullable) Session low
last string (nullable) Last traded price
net_change string (nullable) Net change vs prior settle
volume string (nullable) Session volume
open_interest string (nullable) Open interest
open_interest_net_change string (nullable) Change in open interest
settle string (nullable) Settlement price when available

Many fields may be null when there is no quote or trade yet for the session.

Example

Request:

GET https://www.asxenergy.com.au/api/intraday?futures=nz_electricity

JSON response:

{
  "futures": "nz_electricity",
  "at": "202606021508",
  "data": [
    {
      "code": "EAH2028",
      "bid_size": null,
      "bid": null,
      "ask_size": null,
      "ask": null,
      "high": null,
      "low": null,
      "last": null,
      "net_change": null,
      "volume": null,
      "open_interest": "791",
      "open_interest_net_change": null,
      "settle": "149.75"
    },
    {
      "code": "EAM2025",
      "bid_size": "2",
      "bid": "343.20",
      "ask_size": "4",
      "ask": "344.00",
      "high": "343.30",
      "low": "332.50",
      "last": "336.05",
      "net_change": "0.50",
      "volume": "63",
      "open_interest": "5461",
      "open_interest_net_change": "4",
      "settle": "336.05"
    }
    // ...
  ]
}

CSV response:

Null fields are empty cells.

code,bid_size,bid,ask_size,ask,high,low,last,net_change,volume,open_interest,open_interest_net_change,settle
EAH2028,,,,,,,,,791,,149.75
EAM2025,2,343.20,4,344.00,343.30,332.50,336.05,0.50,63,5461,4,336.05
...

Options

Returns the current intraday data for options products. Data are returned under Put and Call.

Response

Name Type Mandatory Description
options string YES Echo of the options query value
at string YES Last update time as yyyyMMddHHmm (Australia/Sydney)
data object YES Object with put and call arrays listed below

data object:

Name Type Description
put array Put option data
call array Call option data

data.put / data.call array items:

Name Type Notes
code string Options code
bid_size string (nullable) Best bid quantity
bid string (nullable) Best bid price
ask_size string (nullable) Best ask quantity
ask string (nullable) Best ask price
high string (nullable) Session high
low string (nullable) Session low
last string (nullable) Last traded price
volume string (nullable) Session volume
open_interest string (nullable) Open interest
open_interest_net_change string (nullable) Change in open interest
settle string (nullable) Settlement price when available
implied_volatility string (nullable) Implied volatility

Many fields may be null when there is no quote or trade yet for the session.

Example

Request:

GET https://www.asxenergy.com.au/api/intraday?options=HNZ

JSON response:

{
  "options": "HNZ",
  "at": "202606021508",
  "data": {
    "put": [
      {
        "code": "HNZ20260004000P",
        "bid_size": null,
        "bid": null,
        "ask_size": null,
        "ask": null,
        "high": null,
        "low": null,
        "last": null,
        "volume": null,
        "open_interest": "25",
        "open_interest_net_change": null,
        "settle": null,
        "implied_volatility": "30.97"
      }
      // ...
    ],
    "call": [
      {
        "code": "HNZ20260004000C",
        "bid_size": "3",
        "bid": "78.50",
        "ask_size": "5",
        "ask": "81.00",
        "high": "82.25",
        "low": "76.10",
        "last": "80.00",
        "volume": "12",
        "open_interest": "25",
        "open_interest_net_change": "2",
        "settle": "80.30",
        "implied_volatility": "13.00"
      }
      // ...
    ]
  }
}

CSV response:

Null fields are empty cells. Put and call rows are interleaved by code order (not split into separate sections).

code,bid_size,bid,ask_size,ask,high,low,last,volume,open_interest,open_interest_net_change,settle,implied_volatility
HNZ20260004000C,3,78.50,5,81.00,82.25,76.10,80.00,12,25,2,80.30,13.00
HNZ20260004000P,,,,,,,,,25,,,30.97
...