curl "https://api.adlibapi.com/v1/usage" \
-H "X-API-Key: $ADLIB_API_KEY"API reference · Platforms, status and usage
Your billed units per day and endpoint
GET
/v1/usageTry it with your accountOpens in your dashboard, filled in; you see the cost before it runs.
Example request
Send your key in the X-API-Key header. Try it in the explorer.
Parameters
daysinteger
default 30
Response
credits_leftinteger
Prepaid accounts: API credits left (free credits and packs)
credits_this_monthrequiredinteger
Credits billed this month to the product of the call (API keys: the API)
data.dayrequiredstring
–
data.endpointrequiredstring
–
data.requestsrequiredinteger
–
data.unitsrequiredinteger
–
monthlyrequiredobject[]
Older usage folded into monthly totals
endpointstring
–
monthstring
–
requestsinteger
–
unitsinteger
–
ownerrequiredstring
–
planrequiredobject
–
history_accessboolean
–
history_daysinteger
–
max_batch_itemsinteger
–
max_clientsinteger
–
max_membersinteger
–
max_watchlist_advertisersinteger
–
min_interval_hoursinteger
–
monthly_creditsinteger
–
namestring
–
one_timeboolean
–
requests_per_minuteinteger
–