How can I calculate API calls per month?
This is simply the total number of API requests you make for each calendar month, across all the projects in your organisation.
Each time you instantiate one of our client SDKs and get the flags for a user or application, you make 1 request. For example, if you have a single page React web application, you would generally make 1 API request when the user loads your app, and then maintain that data for the duration of the user session. If your web pages were generated server-side, you would generally make 1 API request for each page view.
We don't charge for every single API call. The following endpoints count against your monthly limit:
- /flags
- /identities
- /traits
- /environment-document (for Server Side Flags only)
Each time you instantiate one of our client SDKs and get the flags for a user or application, you make 1 request. For example, if you have a single page React web application, you would generally make 1 API request when the user loads your app, and then maintain that data for the duration of the user session. If your web pages were generated server-side, you would generally make 1 API request for each page view.
We don't charge for every single API call. The following endpoints count against your monthly limit:
- /flags
- /identities
- /traits
- /environment-document (for Server Side Flags only)
Updated on: 28/09/2022
Thank you!