Account
1 endpoint for your workspace's credits.
Your workspace's own endpoints. They are free to call.
Quick Reference
| Property | Value |
|---|---|
| Base path | /v1 |
| Endpoints | 1 |
| Credits | Free |
| Guide | Credits |
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();{
"balance": 319668
}Errors
A call that fails costs nothing. See Errors for every code.