Quota API for JSON API and Billing

I just decide between GSS (Google Site Search) and CSE (Custom Search Engine) with the JSON API. But I'm a little confused about invoicing the JSON API.

My approved initial budget is $ 100 per year, which allows 20,000 requests per year in GSS, but how many requests will I receive in the JSON API and how do I set a quota so that it does not exceed the budget?

I have an opinion on how Google does billing:

The price of one request is $ 0.005 = $ 5/1000 requests => https://developers.google.com/custom-search/json-api/v1/overview#pricing

Google adds daily requests (more than 100 free), and then creates a monthly billing. Therefore, my quota should be set equal to 154 (100 free + 54):

54 requests per day * 31 days * 12 months = 20,088 requests * $ 0.005 = $ 100.44, which is the maximum I will pay (possibly less).

I'm right? Or does Google do billing differently?

+5
source share

Source: https://habr.com/ru/post/1205959/


All Articles