Question About Token Request Costs

Hi Support Team,

I’m reviewing how our app interacts with the API, and I noticed that we request a token every time the page loads. I just wanted to check if this kind of token request comes with any additional costs?

If there are charges, could you explain how they’re calculated? (e.g., per request, per session, or something else.) Also, do you have any tips or best practices to help reduce unnecessary token requests or optimize costs?

Thanks so much

Costs are described here:

There are no costs for token. When you receive a token you also get the lifetime in seconds. You can use that to cache the token. I would also recommend to implement a middleware in your client code which fetches a new token and then tries again in case you get a 401. I have implemented this for all SDKs.

If you either use Java, Typescript, C# or PHP I recommend to just use one of the SDKs (check the docs)