Skip to main content
GET
Credit cost: Free. This call only reads your credit history.
This endpoint requires your API key: pass it as the api_key query parameter, or in an X-API-Key or Authorization: Bearer header (see Authentication).
Use it to reconcile what a fetch charged and what came back. A fetch charges up front, and each contact whose email is not found is refunded after the background email lookup, so one fetch can show a debit entry and later refund entries. Each refund is listed once, even when it was retried. For totals over the same window by feature and day, the MCP tool sp_get_credit_usage reads the same data. For your current balance, use Credit Balance.

Query Parameters

string
Window start, ISO-8601 date-time (for example 2026-11-01T00:00:00Z). Default: the start of last calendar month (UTC).
string
Window end, ISO-8601 date-time, later than from. Default: now.
number
default:"100"
Entries per page, 1–500.
number
For the next page: the next_before_id of the previous page. An ID that is not one of your entries returns an empty page.

Response Fields

string
Window start used
string
Window end used
object[]
One entry per credit movement, newest first.
number | null
Pass it as before_id for the next page. null on the last page. A page can hold fewer entries than limit, even none (a retried refund is listed once), so keep paging while next_before_id is not null

Response Codes

Success
Ledger returned
Bad Request
from not earlier than to, a malformed date, limit outside 1–500, or before_id not a positive integer
Unauthorized
Missing or invalid API key
Forbidden
Called with a client (agency sub-account) API key (use the main account key), or your plan does not include API access.