Reference / Account Management / Get credit balance
Get credit balance
Check your remaining lead-detection credits to determine if you can activate new signals or need to purchase additional credit packs.
GET https://api.rodz.io/api/v1/account/credits
Documented from the OpenAPI contract, API version 2.0.0.
Read the full description
Check your remaining lead-detection credits to determine if you can activate new signals or need to purchase additional credit packs.
Input: None (authenticated via API key; no request body or query parameters)
Output: Your current credit balance (credits, floating-point number representing available lead-gen budget) and registered company name (companyName, string or null). A client workspace that uses its agency’s shared credits also gets sharedPool (agencyName, poolHasCredits): it spends its own credits first, then the agency’s, so read poolHasCredits rather than credits to know whether it can still activate signals; sharedPool is null for every other account.
Authentication and headers
Every route needs an API key. You create it in the dashboard, under Integrations then API. See how to get a key.
Authorization required Bearer followed by your API key, for example Bearer USR_...
Responses
200 OK Response schema
credits number required Credits held by this account itself.
companyName string optional accepts null sharedPool object optional accepts null Set only for a client workspace that uses its agency's shared credits: it spends its own credits first, then the agency's, so credits at 0 does not mean it is out. Read poolHasCredits instead. null for every other account.
3 fields in sharedPool
type string optional Always agency_pool.
agencyName string optional accepts null The agency account whose credits this workspace uses.
poolHasCredits boolean required true while the agency's shared credits can still pay for this workspace's leads and calls. false once both this workspace's own credits and the agency's are used up.
429 Rate limit exceeded. Retry after the number of seconds in the Retry-After response header.