$0.50 to start
$0.50 free balance to start. Get an API key in seconds with no credit card.
- Scrape, Search, and Parse
- No credit card required
- Perfect for a first integration
Check the remaining prepaid balance on the account behind the API key, in credits and dollars.
Returns the caller's remaining balance as both `free_balance_credits` (raw integer credits) and `free_balance_display` (a dollar string). The account is identified entirely by the API key, so this endpoint takes no request body. Free. Use it to check funds before a pricier call, or to surface a live balance in your own dashboard.
/api/v1/account/balance
Free
Use your polyscrape API key instantly, or inspect the sample response first.
curl -X POST https://polyscrape.com/api/v1/account/balance \
-H "Content-Type: application/json" \
-H "X-API-Key: $POLYSCRAPE_API_KEY" \
-d '{}'
Sample response
{
"currency": "USD",
"free_balance_credits": 500,
"free_balance_display": "$0.50"
}
Run a real /api/v1/account/balance request. No key? We show the real sample result so you can still inspect the shape.
Endpoint
POST /api/v1/account/balance
X-API-Key
Free
Leave empty to inspect the response shape without spending API balance.
Sample mode: explore the real response shape for free. Add a key to run a live request.
Response
POST /api/v1/account/balance
{
"currency": "USD",
"free_balance_credits": 500,
"free_balance_display": "$0.50"
}
The full contract for /api/v1/account/balance: what to send and what comes back.
This endpoint takes no request body. The account is identified by your API key. Send an empty POST.
| Field | Type | Description |
|---|---|---|
free_balance_credits |
integer | Remaining balance in raw credits (1 credit = $0.001). |
free_balance_display |
string | The same balance as a dollar string, e.g. "$0.50". |
currency |
string | Always "USD". |
Copy, paste, swap in your API key.
curl -X POST https://polyscrape.com/api/v1/account/balance \
-H "Content-Type: application/json" \
-H "X-API-Key: " \
-d '{}'
Common ways Account Balance ends up in production.
Checking remaining funds before a batch of scrape or search calls.
Surfacing a live API balance in your own dashboard.
Alerting a workflow when the prepaid balance runs low.
The same predictable contract on every endpoint.
200 |
Success. The lookup completed and was charged, even if the response is empty (a no-match search, or a thin page). |
400 |
The request was rejected before any fetch (for search: an unsupported country code). Never charged. |
401 |
Missing or unknown API key. Never charged. |
402 |
Not enough balance on the account. Never charged. The detail is a JSON object with error, message, credits_required, and api_credits. |
422 |
Invalid request body (wrong shape or types). The detail is a list of per-field errors. Never charged. |
429 |
Rate limit exceeded: max 10 requests per second per API key (5/second for parse, which is CPU-heavier). Never charged. |
502 |
Upstream fetch failed — the target page or search could not be fetched (site down, unreachable, timed out, or blocked). Never charged. |
Body |
Every error response is JSON shaped as {"detail": ...}. detail is a message string, except 402 (a JSON object) and 422 (a list of field errors). |
Explore the rest of the polyscrape API.
New accounts start with a free API balance. Paid balance never expires, so it can sit until your workflows need it.
$0.50 to start
$0.50 free balance to start. Get an API key in seconds with no credit card.
$10 one-time
Adds $10 to your API balance for steady production traffic and early automated jobs.
$100 one-time
$130 spendable balance, including a $30 bonus. The sweet spot for production workloads.
Start with a free key and $0.50 free balance, on REST, MCP, or both.