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

Name Type Mandatory Description
market string YES Accepted market codes:
- au_electricity
- nz_electricity
- au_gas
- au_environmental
- nz_environmental
type enum YES Accepted types:
- message_board
- registered_trades
- custom_market
from string NO Optional 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

Status When Body
400 market or type is missing or invalid {"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

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


Message board

Returns message-board entries for the requested market.

Response

Name Type Mandatory Description
market string YES Echo of market
type string YES Always message_board
date string YES Session date as yyyyMMdd
data array YES Message data listed below

data array items:

Name Type Notes
time string Time as HHmmss
message string Message 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

Name Type Mandatory Description
market string YES Echo of market
type string YES Always registered_trades
date string YES Session date as yyyyMMdd
data array YES Message rows listed below

data array items:

Name Type Notes
time string Time as HHmmss
message string Message 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

Name Type Mandatory Description
market string YES Echo of market
type string YES Always custom_market
data array YES Custom market data listed below

data array items:

Name Type Notes
contract string Contract label
net string Net value (decimal string)
size string Size
price_1 string Leg 1 price
price_2 string Leg 2 price
price_3 string Leg 3 price
price_4 string Leg 4 price
price_5 string Leg 5 price
price_6 string Leg 6 price
ratio_1 string Leg 1 ratio
ratio_2 string Leg 2 ratio
ratio_3 string Leg 3 ratio
ratio_4 string Leg 4 ratio
ratio_5 string Leg 5 ratio
ratio_6 string Leg 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