See your API usage in the customer portal
Your account at app.taapi.io now has a Usage page. It shows how many requests you’ve made and how many indicator values we’ve calculated for you, from the last few minutes back to the last 30 days.
Until now, the only way to know what your bot was doing was to log it yourself. Now you can open the portal and see it.
What you’ll see
At the top are four totals:
- Requests today, counted from 00:00 UTC
- Requests in the last hour
- Requests in the last 30 days, with how many of them were bulk requests
- Indicators in the last 30 days: every value we calculated for you
Below them are two charts:
- Daily usage shows one bar per day for the last 7, 14 or 30 days, split into single and bulk requests. Days follow UTC.
- Recent activity zooms in on the last hour: one bar per minute, or one bar per 15 seconds when you look at the last 5 or 15 minutes. Times are in your local time zone.
Both charts switch between Requests and Indicators. The page refreshes itself every 30 seconds, so you can leave it open while you work.
How requests and indicators are counted
- A single call, such as
/indicator/rsi, is one request and one indicator. Calls to/candlesare counted the same way. - A bulk request is one request, and every indicator inside it is counted. A bulk call with 3 constructs of 4 indicators each counts as 1 request and 12 indicators.
- Requests turned away by your rate limit (HTTP 429) aren’t counted. The page shows the requests we actually answered.
That’s why the two numbers can be very different. If you use bulk a lot, your indicator count will be many times your request count, and that’s a good sign: a bulk call counts as only one request against your rate limit, however many indicators it contains.
Three things it’s good for
Check that your bot is running. A bot that polls on a schedule draws an even row of bars. If they stop, so did your bot. Open Recent activity after a restart and you’ll see within a minute whether requests are coming in again.
Catch a runaway loop. A retry loop or a bug that calls the API too often shows up as a spike, like 26 November in the picture above. It’s easy to spot in the daily chart, and Recent activity shows you the minute it started.
See what bulk saves you. Switch the daily chart between Requests and Indicators. The gap between them is the work bulk did for you without using up your rate limit. If most of your bars are pink, moving those calls into bulk lets you fetch more indicators with fewer requests.
Where to find it
Sign in at app.taapi.io and click Usage in the sidebar. There’s nothing to set up.
The page shows requests made with your v2 API key to v2.taapi.io. Requests made with a v1 key to api.taapi.io aren’t included. If you haven’t moved yet, generate a v2 key on the API Keys page of the portal and follow the migration guide.
History goes back 30 days. If you have questions or want to see something else on the page, contact us.