API credits usage
API credits billing and related questions
What is API credit?
API credit is an internal entity used for billing and cost metering. It allows differentiating API requests with different parameters, complexity, and pricing.
API credits amount
Each subscription plan contains a particular amount of API credits that can be used during the subscription period. Unused API credits are not transferred to the next subscription period.
Request cost
Each API request price can be found in the following table:
Request settings | API credits cost |
---|---|
Simple request (no JS rendering) + standard (datacenter) proxy | 1 |
Simple request (no JS rendering) + premium (residential) proxy | 25 |
Simple request to Google domain (no JS rendering) + standard (datacenter) proxy | 10 |
Headless browser (JS rendering) + standard (datacenter) proxy | 10 |
Headless browser (JS rendering) + premium (residential) proxy | 125 |
API credits usage status
It's possible to get the current status of API credits usage at the dashboard or using API endpoint:
GET https://api.scrapingant.com/v1/usage?x-api-key=<YOUR_SCRAPINGANT_API_KEY>
With the following output:
{
"plan_name": "Enthusiast", // Active subscription plan name
"start_date": "2022-01-11T00:00:00", // Active subscription start date
"end_date": "2022-02-11T00:00:00", // Active subscription end date
"plan_total_credits": 100000, // Active subscription total credits
"remained_credits": 96740 // Active subscription credits left
}