Skip to main content

Credits

Some endpoints require credits. These credits work on the company level, not the user level. Meaning that whenever you make a request to one of these endpoints, you will be using one of your company's credit.

To see how many credits your company has available, make a call to the following endpoint using your Bearer token as usual:

URL REQUEST (GET)
https://api.statsocial.com/platform/v0/credits

Let's go to examples

Normal Request

Returns the user's user's credits.

https://api.statsocial.com/platform/v0/credits

We will receive a json like this

{
"response": {
"builds": -1,
"insights": -1,
"universes": -1,
"expansions": -1,
"distributions": -1,
"scheduled_reruns": -1
},
"information": {
"version": "0.0.1"
}
}
note

If the value is -1 it means the company has unlimited calls to the endpoints that consume that credit.

When are credits used?