Analytics
Credit History
Changed onGet credit consumption history with daily breakdown.
get/v1/analytics/credits
Request
- Base URLhttps://api.leadmagic.io
- AuthAPI key in header X-API-Key
Query parameters
daysinteger
Number of days to include (1-90)
Response
Credit history retrieved successfully
Example response
{
"summary": {
"total_credits": 28500,
"total_requests": 45000,
"chargeable_requests": 38000,
"avg_credits_per_request": 0.63,
"chargeable_rate": 84.4
}
}Changes
- breaking
the
//////////response's property format changed fromuritouri-referencefor status - breaking
the
//////////response's property format changed fromuritouri-referencefor status
- breaking