Skip to main content
GET
Credit Consumption Totals

When to use this endpoint

You want one number: the credits spent in a period. Send the same date filters as the change log.

Example request

cURL
Set FORAGER_API_KEY and FORAGER_ACCOUNT_ID as in the quickstart.

Example response

200 (illustrative values)

Credits

The credit cost of this operation is not documented yet. See API credits and pricing.

Authorizations

X-API-KEY
string
header
required

Path Parameters

account_id
integer
required

Query Parameters

date_created_end
string<date-time>
date_created_start
string<date-time>

Response

Declares JSON representation of CreditsBalanceChangeLogsView.total_credits_spent() action response.

total_credits_spent
string<decimal>
required
Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
Last modified on November 1, 2026