Skip to main content
GET
Get Credit History

Overview

Returns a paginated list of credit transactions for the authenticated organization. Transactions include credit additions (from subscriptions, purchases, or bonuses) and credit consumption (from enrichment operations).

Authentication

This endpoint requires authentication. The organization ID is automatically extracted from the authenticated session.

Query Parameters

string
Filter transactions from this date onwards. Must be a valid ISO 8601 date string. Example: 2025-01-01T00:00:00.000Z
string
Filter transactions up to this date. Must be a valid ISO 8601 date string. Example: 2025-01-31T23:59:59.999Z
integer
default:"100000"
Maximum number of transactions to return. Must be a positive integer with a maximum value of 100,000.
integer
default:"0"
Number of transactions to skip for pagination. Must be a non-negative integer.

Response

array
required
Array of credit transaction objects.
integer
required
The number of transactions returned in this response.

Example Request

Example Response

Error Codes

Credit Costs Reference