Skip to main content
GET
/
usage
Get credit usage for the current billing period
curl --request GET \
  --url https://api.social-api.ai/v1/usage \
  --header 'Authorization: <api-key>'
{
  "credits_limit": 500,
  "credits_used": 142,
  "period_end": "2026-03-15T00:00:00Z",
  "period_start": "2026-02-15T00:00:00Z"
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Response

Credit usage for the current billing period

credits_limit
integer
Example:

500

credits_used
integer
Example:

142

period_end
string
Example:

"2026-03-15T00:00:00Z"

period_start
string
Example:

"2026-02-15T00:00:00Z"