GET
/
accounts
/
usage
Get account usage
curl --request GET \
  --url https://api.generect.com/api/v1/accounts/usage/ \
  --header 'Authorization: <api-key>'
{
  "data": {
    "period": "2024-01",
    "total_credits": 1234,
    "breakdown": {
      "search_database": 500,
      "search_realtime": 200,
      "enrich_database": 300,
      "enrich_realtime": 100,
      "email_find": 134
    }
  }
}

Use Case:

Review credit usage by operation type for the selected billing period.

Authorizations

Authorization
string
header
required

Use the required Token prefix. Example: Authorization: Token xxxxxxxxx

Query Parameters

timezone
string
default:UTC

IANA timezone for aggregation.

period
enum<string>
default:day

Truncation granularity for the usage series.

Available options:
day,
week,
month
start_date
string
end_date
string
period_month
string

Month label for the response (YYYY-MM).

Response

Account usage statistics

data
object