Usage API
Successful Scraping API requests for the whole account, per UTC day. Use it to tally usage against your own logs.
Authentication
Section titled “Authentication”A bearer token, separate from your Scraping API token. Generate it in the dashboard under Proxy Access → Stats API, where you can also reveal, copy and rotate it.
Tokens start with rbapi_. Rotating one invalidates the old value immediately.
The token identifies your account by itself, so you can only ever read your own
usage.
Request
Section titled “Request”curl -H "Authorization: Bearer $RAYOBYTE_STATS_TOKEN" \ "https://app.rayobyte.com/api/users/stats/scraping-api/usage?from=2026-10-01&to=2026-10-31"{ "status": "SUCCESS", "data": { "product": "scraping-api", "unit": "requests", "timezone": "UTC", "from": "2026-10-01", "to": "2026-10-31", "points": [ { "date": "2026-10-18", "requests": 940239 } ] }}from and to are optional and inclusive, in YYYY-MM-DD. Without them you get
the last 30 days. The span cannot exceed 92 days. A day with no successful
requests has no point.
A failed request is not counted, and the current UTC day is partial until it ends.
It counts requests, not spend. Your remaining credit is on Balance & usage.
Errors
Section titled “Errors”| Code | Meaning |
|---|---|
400 | Bad from/to, or a range over 92 days |
401 | Missing, malformed or rotated token |
403 | Account suspended |
503 | Usage is temporarily unavailable. Retry later |
Was this page helpful?
Thanks. That helps us fix it.