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.
Checking your balance
Section titled “Checking your balance”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.
Usage over time
Section titled “Usage over time”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.
Topping up
Section titled “Topping up”Scraping API → Purchase. See Billing for payment methods and invoices.
Watch the balance from your code
Section titled “Watch the balance from your code”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?
Thanks — that helps us fix it.