Check credits

GET /v1/account/credits

Fetch lighthouse and ttfb credits available in account

Responses

GET /v1/account/credits
curl \
 -X GET https://api.speedvitals.com/v1/account/credits \
 -H "X-API-KEY: $API_KEY"
Response examples (200)
{
  "lighthouse": {
    "available_credits": 100,
    "available_paid_credits": 0
  },
  "ttfb": {
    "available_credits": 32,
    "available_paid_credits": 0
  },
  "credits_refill_date": 1657535713
}
Response examples (200)
{
  "lighthouse": {
    "available_credits": 100,
    "available_paid_credits": 0
  },
  "ttfb": {
    "available_credits": 32,
    "available_paid_credits": 0
  },
  "credits_refill_date": 1657535713
}