Billing
Get historical data of billing and usage for a wallet address.
get/v1/usage/history
Query parameters
addressstring required
The wallet address to get billing and usage data for
Example:akash18andxgtd6r08zzfpcdqg9pdr6smks7gv76tyt6
startDatestring date
Start date (YYYY-MM-DD). Defaults to 30 days before endDate
Example:2024-01-01
endDatestring date
End date (YYYY-MM-DD). Defaults to today by UTC 23:59:59
Example:2024-01-31
Response
Returns billing and usage data
Example response
[
{
"date": "2024-01-15",
"activeDeployments": 3,
"dailyAktSpent": 12.5,
"totalAktSpent": 125.75,
"dailyUsdcSpent": 5.25,
"totalUsdcSpent": 52.5,
"dailyActSpent": 5.25,
"totalActSpent": 52.5,
"dailyUsdSpent": 17.75,
"totalUsdSpent": 178.25
}
]