Intraday Messages

This endpoint returns intraday messages for a selected market. The response shape depends on the requested type.


Endpoint

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

Parameters

NameTypeMandatoryDescription
marketstringYESAccepted market codes:
- au_electricity
- nz_electricity
- au_gas
- au_environmental
- nz_environmental
typeenumYESAccepted types:
- message_board
- registered_trades
- custom_market
fromstringNOOptional time filter to limit the range of returned data.
All messages from the specified time onward, including messages at the exact timestamp, will be returned.
Format: HHmmss (e.g. 093000 for 09:30:00)

Errors

StatusWhenBody
400market or type is missing or invalid{"error":"..."}
403Your token is not entitled to the requested market{"error":"forbidden"}
401
429
Authentication failure or rate limit exceededSee 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

Columns are tab-separated (not comma-separated).


Message board

Returns message-board entries for the requested market.

Response

NameTypeMandatoryDescription
marketstringYESEcho of market
typestringYESAlways message_board
datestringYESSession date as yyyyMMdd
dataarrayYESMessage data listed below

data array items:

NameTypeNotes
timestringTime as HHmmss
messagestringMessage text

Example

Request:

GET https://www.asxenergy.com.au/api/messages?market=au_electricity&type=message_board

JSON response:

{
  "market": "au_electricity",
  "type": "message_board",
  "date": "20250408",
  "data": [
    {
      "time": "111857",
      "message": "RFQ: ENK5"
    },
    {
      "time": "110542",
      "message": "RFQ: HQZ8"
    }
  ]
}

CSV response (tab-separated):

time	message
111857	RFQ: ENK5
110542	RFQ: HQZ8

Registered trades

Returns registered-trade messages for the requested market.

Response

NameTypeMandatoryDescription
marketstringYESEcho of market
typestringYESAlways registered_trades
datestringYESSession date as yyyyMMdd
dataarrayYESMessage rows listed below

data array items:

NameTypeNotes
timestringTime as HHmmss
messagestringMessage text

Example

Request:

GET https://www.asxenergy.com.au/api/messages?market=au_electricity&type=registered_trades

JSON response:

{
  "market": "au_electricity",
  "type": "registered_trades",
  "date": "20250408",
  "data": [
    {
      "time": "111610",
      "message": "Trade: BQU5 11 @ 110.25"
    },
    {
      "time": "111938",
      "message": "Trade: ENK2025 2 @ 140.00"
    }
  ]
}

CSV response (tab-separated):

time	message
111610	Trade: BQU5 11 @ 110.25
111938	Trade: ENK2025 2 @ 140.00

Custom market

Returns custom-market messages for the requested market.

Response

NameTypeMandatoryDescription
marketstringYESEcho of market
typestringYESAlways custom_market
dataarrayYESCustom market data listed below

data array items:

NameTypeNotes
contractstringContract label
netstringNet value (decimal string)
sizestringSize
price_1stringLeg 1 price
price_2stringLeg 2 price
price_3stringLeg 3 price
price_4stringLeg 4 price
price_5stringLeg 5 price
price_6stringLeg 6 price
ratio_1stringLeg 1 ratio
ratio_2stringLeg 2 ratio
ratio_3stringLeg 3 ratio
ratio_4stringLeg 4 ratio
ratio_5stringLeg 5 ratio
ratio_6stringLeg 6 ratio

Example

Request:

GET https://www.asxenergy.com.au/api/messages?market=au_gas&type=custom_market

JSON response:

{
  "market": "au_gas",
  "type": "custom_market",
  "data": [
    {
      "contract": "Contract",
      "net": "0.00",
      "size": "0",
      "price_1": "0.00",
      "price_2": "0.00",
      "price_3": "0.00",
      "price_4": "0.00",
      "price_5": "0.00",
      "price_6": "0.00",
      "ratio_1": "0.00",
      "ratio_2": "0.00",
      "ratio_3": "0.00",
      "ratio_4": "0.00",
      "ratio_5": "0.00",
      "ratio_6": "0.00"
    }
  ]
}

CSV response (tab-separated):

contract	net	size	price_1	price_2	price_3	price_4	price_5	price_6	ratio_1	ratio_2	ratio_3	ratio_4	ratio_5	ratio_6
Contract	0.00	0	0.00	0.00	0.00	0.00	0.00	0.00	0.00	0.00	0.00	0.00	0.00	0.00