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

Efficiently monitor your API credit usage

Team avatar
Written by Team
Updated over 2 weeks ago

When your project enters production, it’s essential to monitor your exact API usage and remaining credits. The solutions outlined here help avoid exhausting your quota and ensure uninterrupted data streaming.

Using dedicated endpoint

The /api_usage endpoint provides real-time information about your current plan and remaining credits. Each call to this endpoint consumes 1 API credit.

Using response headers

Each API query includes api-credits-used and api-credits-left response headers, indicating the number of credits used and the remaining credits after the request. Adding these two values provides the total credit limit for your plan.

Using the dashboard

Regularly review your personal dashboard's statistics page. It provides key metrics, including the average API credits used, peak usage, and other essential data.

Did this answer your question?