Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google Custom Search Engine pricing

The pricing regarding CSE is a little bit vague:

For CSE users, the API provides 100 search queries per day for free. If you need more, you may sign up for billing in the API Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day

  1. Does one query equal one keyword regardless of pagination used, or one request? (in this sense XML is more efficient than JSON, as it allows 20 in num parameter, as opposed to JSONs 10)
  2. Are the queries counted per API key, or per cx key?
like image 673
eithed Avatar asked May 08 '17 17:05

eithed


People also ask

How much does Google API cost?

All use of Google Search Console API is free of charge.

Is there a free Google Search API?

Custom Search JSON API provides 100 search queries per day for free. If you need more, you may sign up for billing in the API Console. Additional requests cost $5 per 1000 queries, up to 10k queries per day.

Is Programmable Search Engine free?

Google custom search (also known as Programmable search ) is a free search offering from Google for websites looking to add a search box to their website.


1 Answers

It is vague and you are not the first to be puzzled. When I did my research I found this blog post helpful.

Assume you are talking about Custom Search Engine (terms you noted in your Q) and NOT Google Site Search (paid from the start). The reason I ask is that the XML function is only for Google Site Search customers. There is the JSON/Atom API and Custom Search API available for CSE.

For Q1, one Query = one request. You can use as many keywords or other parameters in your request (see comments in the blog post I referenced), but you will always be limited to 100 results.

For Q2, the billing is enabled through the API console. Once enabled (and in order to allow the 101st query) your code must include both your cx and API key. So in theory you could set up multiple search engines within your API and stay under the 100 request limit, but I have not seen a way to allow an API to support multiple cx keys.

like image 191
edswartz Avatar answered Sep 20 '22 07:09

edswartz