kumuda
kumuda

Reputation: 509

API to check my remaining balance in Google Translation API

I have enabled Google Translation API and I am using it from quite some time. Once I exceed the limit I get a message saying I have exceeded the limit for today. Is there any way I can get the remaining amount in my account?

Upvotes: 1

Views: 1344

Answers (1)

Armin_SC
Armin_SC

Reputation: 2270

You can use the API Dashboard to monitor your API usage, which include your Quotas metrics. In this way, you can validate the Character per day and Characters per 100 seconds amounts that have been processed by the API. You can follow the steps listed below to access to this Quota section:

  1. Navigate to APIs & Services option in the upper left corner menu of your web console.
  2. The API Dashboard will open and the Active APIs will be displayed below the Activity charts.
  3. Click on the Google Cloud Translation API row in order to show the API overview UI.
  4. Select the Quotas tab located in the header section of the API window.
  5. You can use the Characters drop-down to select the Character per day and Characters per 100 seconds.
  6. The characters processed amounts will be displayed at the chart as well as the Quotas limits values. You can use this information to determine the remaining balance of your project.

Upvotes: 2

Related Questions