Skip to content

SDMX API

Description

The SDMX API activity builds and executes an SDMX data request, asks the service for CSV output with labels, and parses the CSV response into workflow data rows. It supports SDMX agency, dataflow, version, data key, period filters, detail level, and dimension-at-observation configuration.

Supported Features

  • GET and POST request methods: Supports GET and POST.
  • SDMX data path construction: Builds data/{AgentId},{DataflowIdentifier},{Version}/{DataKey}.
  • Full data fallback: Uses all when DataKey is empty.
  • Optional query filters: Supports startPeriod, endPeriod, detail, and dimensionAtObservation.
  • CSV parsing: Parses the SDMX CSV response into data rows.
  • Numeric conversion: Converts integer and decimal-looking values into numeric values where possible.

Input

TypeRequiredDescription
NoneNoThis activity does not consume data or file input from previous activities.

Input Scenarios

1. Full Dataflow

No input data is required. Leave DataKey empty to request all series.

2. Filtered Dataflow

No input data is required. Configure DataKey, StartPeriod, and EndPeriod to limit the SDMX response.


Output

The activity returns rows parsed from the CSV response body.

FieldTypeDescription
DataArrayOne row per CSV record returned by the SDMX API. Column names come from the CSV header row.
ErrorsArrayReturned only when the request fails with an exception.

Example Output

{
"Data": [
{
"STRUCTURE": "DATAFLOW",
"STRUCTURE_ID": "ABS,CPI,1.0",
"TIME_PERIOD": "2025-Q4",
"OBS_VALUE": 125.6
},
{
"STRUCTURE": "DATAFLOW",
"STRUCTURE_ID": "ABS,CPI,1.0",
"TIME_PERIOD": "2026-Q1",
"OBS_VALUE": 126.1
}
]
}

Configuration Fields

Field NameTypeRequiredDescription
RequestTypeDropdownYesHTTP method. Options: GET, POST. Any other value fails with Unsupported request type. Default is GET.
Base URLTextYesBase SDMX REST endpoint, for example https://data.api.abs.gov.au/rest.
AgentIdTextYesSDMX agency identifier, for example ABS.
DataflowIdentifierSelectorYesDataflow identifier used in the SDMX path.
VersionTextYesDataflow or structure version used in the SDMX path.
DataKeyTextNoSDMX series key. If empty, the activity uses all.
StartPeriodTextNoOptional startPeriod query parameter, for example 2020 or 2020-Q1.
EndPeriodTextNoOptional endPeriod query parameter, for example 2023 or 2023-Q4.
DetailTextNoOptional SDMX detail query parameter.
DimensionAtObservationTextNoOptional dimensionAtObservation query parameter.

Conditional Field Rendering Rules

No conditional configuration fields are defined for this activity.


Sample Configuration

FieldValue
RequestTypeGET
Base URLhttps://data.api.abs.gov.au/rest
AgentIdABS
DataflowIdentifierCPI
Version1.0
DataKeyall
StartPeriod2020-Q1
EndPeriod2026-Q1
Detaildataonly
DimensionAtObservationAllDimensions

Request Built By Activity

https://data.api.abs.gov.au/rest/data/ABS,CPI,1.0/all?startPeriod=2020-Q1&endPeriod=2026-Q1&detail=dataonly&dimensionAtObservation=AllDimensions

Sample Output

{
"Data": [
{
"TIME_PERIOD": "2026-Q1",
"OBS_VALUE": 126.1,
"UNIT_MEASURE": "Index"
}
]
}