Skip to main content
Use this endpoint to retrieve key aggregated program data, similar to the Balance Overview report, organized by relevant network. Activities include loading and spending events. You can break out your data by credit and debit types and aggregate the data by day, or break out your data by the type of transaction (load, PIN, or signature). You can also specify the level of card network-specific detail. The data is derived from the balance-related activity on the Marqeta platform. This endpoint supports multiple response formats, query filtering, field filtering, sorting, pagination, and currency conversion. For more information about response options, see Response Customization.

Retrieve activity balances network detail by day (JSON)

Action: GET
Endpoint: /views/activitybalances/day/networkdetail
Retrieve activity balance network detail data, broken out by credit and debit types and aggregated by day. This endpoint returns a JSON object that contains an array of records matching your filter query.

Query parameters

Sample response body

The following sample shows a representative response for a GET request to the /views/activitybalances/day/network/detail?expand=sig_purchases_net&program=my_program endpoint.
JSON

Retrieve activity balances network detail by day (file export)

Action: GET
Endpoint: /views/activitybalances/day/networkdetail/{export_type}
Retrieve activity balances network detail data, broken out by credit and debit types and aggregated by day. This endpoint asynchronously generates a file in the specified format and returns a job token for retrieving the file when it is completed. The file contains a list of records matching your filter query.

URL path parameters

Query parameters

Sample response body

JSON

Retrieve schema for activity balances network detail by day

Action: GET
Endpoint: /views/activitybalances/day/networkdetail/schema
Retrieve a JSON representation of the activity balance network detail view schema for data broken out by credit and debit types and aggregated by day. The schema object contains an array of objects that describe the available columns and the data type of each column.

Sample response body

The following sample shows a representative response for a GET request to the /views/activitybalances/day/schema?program=my_program endpoint. The schema can vary based on the data you are authorized to access (based on the credentials you provide in your request).
JSON