JetScrape is credit-based: every request draws down your balance.
Where the balance lives
apikey.remaining— your credit balance. Every active API key on the account carries the same value, and a billed request decrements all of them by the same amount.user.total_token— the cumulative credit ever granted to the account. It does not go down as you spend.
So "how much is left?" is answered by remaining, and "how much have I been given in total?" by total_token.
curl https://api.jetscrape.com/api/users/api-keys -b cookies.txt[{ "id": "key_abc123", "name": "My Scraper Key", "remaining": 950, "enabled": true }]remaining: null means no limit is applied.
If credit is granted before the account has any API key, only total_token grows; the first key you create is seeded from it, so nothing is lost. Disabled keys (enabled: false) are never credited.
What things cost
- Every API call — +1 automatically.
POST /webhook/unblocker— 5 in total (1 + 4).markdownformat — +1.htmlformat — +1.unblockerformat — +4.POST /webhook/run-routine— 3.POST /webhook/chain-request— 3 for each routine in the chain.
For example formats: ["markdown", { "type": "unblocker", ... }] costs 1 + 1 + 4 = 6 credits.
Status queries such as check-job and unblocker/job/:dispatchId, and plain listing endpoints, carry no scrape cost.
Blacklist surcharges
Some URLs trigger an extra_credit rule that multiplies the cost. This is applied silently — no error is returned. Fully blocked URLs return 403 instead.
When credit runs out
{
"statusCode": 402,
"message": "Insufficient credits",
"error": "Payment Required"
}A 402 Payment Required means the balance is too low. To top up:
- Buy a credit pack — see Credit Packs and Payments.
- Start a subscription — credit is loaded every period, see Subscriptions.
Spending less
- Do not request formats you will not read. If structured data is enough, drop
markdownandhtml— each costs +1. - Use
mode: "http"when the page needs no JavaScript. - Test one node at a time while building a flow, instead of running the whole pipeline.
- Use the AI endpoints for discovery only. Generate a schema once, then run selector-based scrapes.
- Set
max_itemsso you do not process more rows than you need. - Batch URLs. One request with a
urlsarray charges the automatic +1 once.
Watch remaining from your own monitoring and alert before it reaches zero — a 402 in the middle of a scheduled run is easier to prevent than to recover from.