Credit Usage
ScrAPI works on a credit basis where a certain number of credits are used based on the features that you make use of.
No credits are used for any failures that do not result in any HTML or Markdown.
Feature | Credits |
---|---|
No Browser | 1 |
Use Browser | 5 |
Residential Proxy | 10 |
Data Center Proxy | 5 |
Tor Proxy | 1 |
Captcha Solved | 30 (per captcha solved) |
The number of credits used for any API call will be indicated by the creditsUsed
parameter when using JSON responses (default) or in the X-ScrAPI-CreditsUsed
header when using HTML or Markdown.
{
"requestUrl": "https://www.deventerprise.com",
"responseUrl": "https://deventerprise.com",
"duration": "00:00:01.000000",
"attempts": 1,
"captchasSolved": {
"reCaptchaV2": 1
},
"creditsUsed": 35,
"statusCode": 200,
"content": "<html>...</html>"
}