Skip to content

Balance & usage

The Scraping API bills per scrape from a dollar balance, not by bandwidth. That is different from every proxy product, which bill by the gigabyte.

Terminal window
curl "http://api.scraping.rayobyte.com/balance?token=YOUR_TOKEN"

The dashboard shows the same number under Scraping API → Get Started, alongside an estimate of how many scrapes remain at the standard rate.

Scraping API → Statistics breaks down scrape counts and spend. Use it to spot a job that started costing more than it used to. The usual cause is a target that began requiring browser rendering where a plain fetch once worked.

Scraping API → Purchase. See Billing for payment methods and invoices.

A balance that hits zero stops your pipeline mid-run. If you have long jobs, poll /balance between batches and alert well before it empties. Recovering a half-finished run costs more than the credit did.

import requests
def remaining(token):
r = requests.get(
"http://api.scraping.rayobyte.com/balance",
params={"token": token},
timeout=30,
)
r.raise_for_status()
return r.json()
# Check between batches, not per request. It is a network call too.

Was this page helpful?