GET
/
v1
/
credits
curl 'https://api.scrapegraphai.com/v1/credits' \
  -H 'SGAI-APIKEY: YOUR_API_KEY'
{
  "remaining_credits": 123,
  "total_credits_used": 123
}

This endpoint allows you to check your account’s credit balance and usage. Each API request consumes a different number of credits:

  • Markdownify: 2 credits per request
  • SmartScraper: 10 credits per request
  • SearchScraper: 30 credits per request

The response shows:

  • remaining_credits: Number of credits available for use
  • total_credits_used: Total number of credits consumed so far

Authorizations

SGAI-APIKEY
string
header
required

Response

200 - application/json
Successful Response
remaining_credits
integer
required
total_credits_used
integer
required