Filtering
The/api/auth/transactions/spent_credits/
endpoint allows you to get all spent credits grouped by endpoints in the period.
Period
Must be on of:day
, week
, month
, quarter
, year
.
Date
-
Date: yyyy-mm-dd
Example: 2025-01-01 -
Date and Time: yyyy-mm-ddTHH:MM:SS.ssssss
Example: 2025-01-01T02:03:04.000000
Authorizations
Use 'Token <api-key>' as the value
Query Parameters
Timezone for date calculations
The aggregation period for transactions
Available options:
day
, week
, month
, quarter
, year
The start date for the transaction filter (ISO 8601 format)
The end date for the transaction filter (ISO 8601 format)
Response
200 - application/json
A list of transactions for the specified period and date range
Example:
{
"2025-01-01T00:00:00": {
"/api/linkedin/leads/by_icp/": -4428,
"/api/linkedin/companies/by_icp/": -39,
"/api/linkedin/company/by_link/": -5,
"/api/linkedin/lead/by_link/": -3,
"/api/linkedin/email_finder/": -1,
"platform": -9
},
"2024-12-01T00:00:00": {
"/api/linkedin/leads/by_icp/": -383,
"/api/linkedin/company/by_link/": -17,
"/api/linkedin/companies/by_icp/": -156,
"/api/linkedin/lead/by_link/": -6,
"platform": -12
},
"2024-11-01T00:00:00": {
"/api/linkedin/companies/by_icp/": -101,
"/api/linkedin/leads/by_icp/": -1720,
"platform": -1469
}
}
Example:
-8349