What is API credit? How to calculate API credit cost?
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.
Each API request price can be found in the following table:
|Request settings||API credits cost|
|Simple request (no browser usage) + standard (datacenter) proxy||1|
|Headless browser (no JS rendering, ||2|
|Headless browser (JS rendering) + standard (datacenter) proxy||10|
|Simple request (no browser usage) + premium (residential) proxy||25|
|Headless browser (no JS rendering, ||50|
|Headless browser (JS rendering) + premium (residential) proxy||125|
|Any request to Google domain + standard (datacenter) proxy||10|
Each response from web scraping API contains the
Ant-credits-cost header that shows the amount of credits that were spent for the request.