Per-event pricing
Jobs are billed per event in credits (1 credit = 1 USD). The table below lists the default unit prices. Your account’s active pricing rules at run time are authoritative — the estimate endpoint returns the exactunit_prices used for a given job.
Charges are computed on the data actually stored. A
website_filter drops non-matching businesses before they are written, so it also removes their place_scraped, contact_details, review, and image charges — you pay only for matching leads plus the 0.001 per-match filter fee.
GET /api/v1/credits/balance
Return the authenticated user’s current credit balance.
Example response
Credit values are returned as decimal strings (e.g.,
"25.123456") to preserve precision. Parse them as decimals, not as floating-point numbers.GET /api/v1/credits/history
Return paginated credit transaction history.
Query parameters
Common transaction types:
purchaseconsumptionbonusrefundadjustment
refund_deficit or deficit_paydown in the response history.
Example response
POST /api/v1/credits/checkout-session
Create a Stripe Checkout session to buy credits.
Request body
creditsmust be a whole positive integer- Maximum
creditsper checkout session is10000 currencycurrently supportsUSDonly
Success response
url to complete the purchase.
POST /api/v1/credits/reconcile
Confirm a completed checkout session against the authenticated user.
Request body
204 No Content on success.
Use this after the user returns from Stripe if you want to refresh credits immediately instead of waiting for normal background settlement.
