Docs
/v1/credits · Credits

Credits API

Returns the same monthly credit totals shown on the XBeast dashboard. Credits reset on the first of each month. Publishing a post to X costs 1 credit (plus 2 if it contains a URL), charged after a successful send.
GET/api/v1/credits
{
  "credits_used": 120,
  "credits_available": 880,
  "credits_limit": 1000,
  "resets_at": "2026-09-01T00:00:00.000Z"
}
FieldTypeRequiredDescription
credits_usednumberCredits consumed this calendar month.
credits_availablenumberRemaining credits (limit minus used, never below 0).
credits_limitnumberPlan monthly allowance.
resets_atstring (ISO 8601)Start of next month (UTC), when usage counters reset.
curl
curl "https://xbeast.io/api/v1/credits" \
  -H "Authorization: Bearer xb_live_YOUR_KEY"