Skip to main content
All CollectionsAPI Guide
Control over API usage
Control over API usage

How to efficiently stay aware of API credits use

Team avatar
Written by Team
Updated over 3 years ago

Once your project goes to production mode it is crucial to know what is your exact API usage and how many credits are left. The solutions listed here will prevent running out of quota and pausing the data stream.

Using dedicated endpoint

/api_usage is a dedicated endpoint to know your current plan and the remaining amount of credits. It has a data weight of 1 API credit per call.

Using response headers

Each query to an API has api-credits-used and api-credits-left response headers that state how many credits you have used and how many credits are left after making the request. By summing these two values you should get the plan limit.

Using dashboard

Periodically check your personal dashboard statistics page. It covers important numbers, such as the average amount of API credits used, peak amount, and many others.

Did this answer your question?