Monthly Stats

Retrieve a buyer account's monthly trading statistics for the last 6 months. Requires a whitelisted API key.

Retrieve detailed monthly statistics and trading activity for the buyer account. This endpoint returns per-month order counts and TRX deposit totals for the most recent 6 months.

Endpoint

GET https://api.tronsave.io/v2/internal/buyer/monthly-stats

Rate limit: 15 requests per 1 second.

Headers

Name
Type
Description

apikey*

String

TronSave API key. Must belong to a whitelisted address. See Authentication to get your API key.

* Required.

Request body

This endpoint takes no request body — pass the apikey header only.

Response

A successful response returns error: false and the statistics window in data.

Field
Type
Description

data.fromMonth

String

Oldest month in the result window, formatted as YYYY-MM.

data.toMonth

String

Current month, formatted as YYYY-MM.

data.monthCount

Number

Total number of months in the data array.

data.timezone

String

Timezone applied to all month boundaries — always UTC.

data.data[].month

String

Month identifier, formatted as YYYY-MM.

data.data[].totalOrder

Number

Total number of orders placed in the month.

data.data[].totalOrderEnergy

Number

Number of Energy orders placed in the month.

data.data[].totalOrderBW

Number

Number of Bandwidth orders placed in the month.

data.data[].totalTrxDepositToCreateBuyOrder

Number

Total TRX spent to create buy orders in the month.

data.data[].totalTrxDepositInternal

Number

Total TRX deposited into the internal account in the month.

200: OK

Success example

Errors

The apikey The header was not provided.

Request examples

Next steps

Last updated