How to manage your Bitquery GraphQL API subscription

When it comes to billing, you should be well aware of your usage of the GraphQL API. This tutorial focuses on gaining valuable insights about your account’s usage and how you can be vigilant enough to avoid unnecessary charges.

Account Status

When you go to GraphQL IDE, you get a similar dashboard.

From there, click on the ‘user icon’ and then, to the Profile section as shown below.

And you will be redirected to https://graphql.bitquery.io/user/account.

In the Account section, you’ll get insights regarding the number of points consumed by you or your enterprise along with your account name, email ID associated with your account, creation date of your account, etc.

Messages

This section mainly focuses on messages related to your GraphQL API subscription. You might see messages from Bitquery regarding the number of available credits (credits are synonym to the number of times you can make calls to the API).

Billing

This section gives you insights regarding the payment history and the plan bought by you or your enterprise. For a detailed report on the payment’s feature refer to this link https://community.bitquery.io/t/how-to-upgrade-your-bitquery-graphql-account/296.

API Usage

Shows insights about the total number of requests made to the API, including the success count & error count. Also, the insights about the number of requests made to the API in the last 24 hours are also shown in the same section.

You can also get insights in the form of data visualization as well. As shown below.

IPs and Referrers

Gives the data regarding the most common IP addresses from where the Bitquery GraphQL API call has taken place in the form of tabular data.

If you scroll down a bit, you’ll see the data regarding the referrers form where the API call has taken place. This is also in the form of tabular data.

Queries

This section shows the most popular queries in the last 10 days. A glimpse of the same is shown below.

if you scroll down a bit, you’ll be able to find other queries with the number of times they were executed.

Errors

Shows the total number of errors obtained while querying the GraphQL API and the number of errors in the last 24 hours. A complete log of the error is also shown for your reference.

The image below shows the errors section.

Using these parameters would make you vigilant enough about how you are being billed. Later, using these parameters, you can modify your existing plan as well.