Skip to main content
Every Encrata account has a credit balance. Each API call either costs a fixed number of credits or is free, and you are only charged on a successful response.
Credits are deducted after a successful response. If a lookup fails with a 5xx error, you are not charged.

How billing works

Pay on success

Failed lookups (502, 503, 504) never cost credits.

Free repeats

Most 1-credit lookups are free again for the same address within the billing window.

Outcome-based

Some scans only charge when they find something, such as GitHub Leaks.

What each lookup costs

Repeat lookups of the same input within the billing window are free (credits: 0, served from cache).

Bulk runs

Bulk runs charge per successful item, not per request. A run of many addresses charges only for the ones that resolve successfully.

Check your balance

Check it in the dashboard, or read it programmatically to gate spend in your own code.
Call GET /api/account/credits:

When you run out

When your balance is too low for a lookup, the API rejects the request with 402 Payment Required and does not run the lookup.

Get notified before you run out

Set up webhooks to catch low balances before they block a lookup.
Fires when your balance drops below the threshold you configure.
Fires when your balance reaches zero.
See Webhooks to configure these alerts.

Tips to spend less

Validate before you enrich

Run the free-repeat validity check first and skip invalid addresses before a premium lookup.

Request only what you need

Use the fields parameter to trim the response. Same credit cost, smaller and faster payloads.

Batch high-volume work

Bulk runs share the same per-item cost but are built for volume.

Reuse recent lookups

Repeat lookups within the billing window are free - cache results on your side to avoid unnecessary calls.

Next steps

Quickstart

Make your first lookup in under two minutes.

Rate limits

Understand request limits alongside credit costs.