Skip to Content

Account

1 endpoint for your workspace's credits.

Your workspace's own endpoints. They are free to call.

Quick Reference

PropertyValue
Base path/v1
Endpoints1
CreditsFree
GuideCredits

Endpoints

Example Request

Read your balance. It does not count against the rate limit.

import { SocialAPI } from "@socialapihq/sdk";

const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });

const answer = await client.account.getCredits();
Response
{
  "balance": 319668
}

Errors

A call that fails costs nothing. See Errors for every code.