API Reference

Quota

Check your current credit balance and monthly plan limit. credits_limit is null when the account has no active monthly plan.

Use this to check how many credits your account has left and what your monthly plan allows. Useful before a large batch of requests.

Free. This request uses no credits.

Quick example

curl -G "https://api.webscraperapi.ai/v1/quota" \
  -H "Authorization: Bearer $WEBSCRAPERAPI_API_KEY"

credits_limit is null when the account has no active monthly plan. An account with prepaid credits only still has a positive credits_remaining, so do not read a missing limit as no credits.

Full API reference

GET
/v1/quota

Response Body

application/json

application/json

curl -X GET "https://api.webscraperapi.ai/v1/quota"
null
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}