Statistics
Keeping track of your API credits ensures you're always prepared for your scraping tasks without interruptions. Rayobyte’s API provides two straightforward endpoints to check your current balance and review daily usage stats. Let’s dive into how to use them!
1. Get Your Credit Balance
This endpoint provides an instant overview of how many credits you have remaining in your account.
API Call Examples
Output Example
What It Means
status
: Indicates if the request succeeded.date
: Timestamp of the API response.token
: Your account’s unique identifier.credits
: Your remaining API credits.
2. Get Daily Usage Statistics
Want to see how you're doing? The stats
endpoint provides a breakdown of your credit usage over a specified time period. You can customize the report by setting the type
parameter to one of the following values:
daily
: Retrieves usage data for each day.weekly
: Retrieves usage data for each week.monthly
: Retrieves usage data for each month.
API Call Example:
Output Example
Support
Last updated