Skip to content

Usage API [Starter]

Returns your API usage for the current month and historical breakdown.

GET https://api.discolike.com/v1/usage
FieldTypeDescription
month_to_date_requestsIntegerRequests this month
month_to_date_recordsIntegerRecords returned this month
month_to_date_spendFloatSpend this month
usage_summaryObjectMonthly breakdown by YYYY-MM
FieldTypeDescription
access_idStringAPI key identifier
descriptionStringAPI key description
requestsIntegerRequest count
total_recordsIntegerRecords returned
monthly_spendFloatTotal spend
Terminal window
curl "https://api.discolike.com/v1/usage" \
-H "x-discolike-key: API_KEY"
{
"month_to_date_requests": 92,
"month_to_date_records": 24936,
"month_to_date_spend": 59.07,
"usage_summary": {
"2025-01": {
"access_id": "API_KEY",
"description": "[API] ACME Corp Integration",
"requests": 92,
"total_records": 24936,
"monthly_spend": 59.07
},
"2024-12": {
"requests": 403,
"total_records": 98624,
"monthly_spend": 237.55
}
}
}