Skip to main content

Aggregations

Aggregations summarise enriched customer transactions into structured data that supports affordability analysis, cashflow review, and financial behaviour assessment.

Prefer using the web app?

When you submit transaction data in the Walker Street Data sandbox application, and your API key has the transactions:aggregate scope, aggregations are automatically returned. This guide details the equivalent workflow using the API.

Prerequisites

Endpoints

Standard response

GET https://api.walkerstdata.com.au/v1/customer/{customerId}/aggregate

File download

GET https://api.walkerstdata.com.au/v1/customer/{customerId}/aggregate/download

Request Parameters

ParameterLocationRequiredDescription
customerIdpathYesUnique customer identifier
jobIdqueryNoFilter aggregations to a specific enrichment job
typequeryYes (download only)File format: json or csv

Example Request

curl -X GET "https://api.walkerstdata.com.au/v1/customer/{customerId}/aggregate" \
-H "x-api-key: YOUR_API_KEY"

Filtering by Job

If you enriched transactions via a specific job, pass jobId to scope the aggregation to that submission:

curl -X GET "https://api.walkerstdata.com.au/v1/customer/{customerId}/aggregate?jobId={jobId}" \
-H "x-api-key: YOUR_API_KEY"

Download as File

curl -X GET "https://api.walkerstdata.com.au/v1/customer/{customerId}/aggregate/download?type=csv" \
-H "x-api-key: YOUR_API_KEY"

Response Fields

The response returns a tables array of aggregation nodes. Each node contains:

FieldDescription
idUnique identifier for the aggregation node
nameHuman-readable label for the aggregation category, when available
hierarchyStructural role of the node in the aggregation output, such as table, subtable, row, or total
typeData shape of the node's values field, such as objectArray, timeseries, or keyValue
valuesAggregated values for the node. The structure depends on the node type

Interpreting Results for Credit

  • Use hierarchy to understand where a node sits in the report structure: top-level sections, nested subtables, individual rows, and totals
  • Use type to determine how to parse values — for example as an array of child nodes, a time series object, or a key-value object
  • Compare income and expense node values across the assessed period to inform serviceability calculations
  • Combine Aggregations with Completeness — low data coverage can distort aggregated totals and reduce confidence in the figures

Common Errors

StatusCause
400Transactions list is empty or jobId is invalid
403Missing API scope transactions:aggregate

Next Steps

  • Completeness — Validate data coverage before relying on aggregated totals
  • Risk Score — Add a risk signal to complement affordability analysis
  • API Reference — Full endpoint schema and parameter details