Skip to the page

Google official search API in 2026

None for the whole web.

Not for the whole web. Google's one official web search API, the Custom Search JSON API, is closed to new customers and ends on January 1, 2027. Its official successors search up to 50 domains, or return a Gemini answer in place of results.

SpecStream answers Google's own call. Change https://www.googleapis.com to https://api.specstream.ai, put a SpecStream key in key=, and GET /customsearch/v1 returns Google's JSON from the whole live web, at $1 per 1,000 searches.

97.9 F-score on all 1,000 SimpleQA Verified questions and 64.0 item F1 on all 200 WideSearch tasks, the top published scores of a search API, on the benchmarks page.

New accounts get $10 of credit, no card. It covers 10,000 searches.

Google's official search APIs in 2026, next to SpecStream

SpecStreamCustom Search JSON APIVertex AI Search (Agent Search)Grounding with Google Search
Open to a new customerYes. A key takes a minute and starts with $10 of credit, no cardNo. Closed to new customers. Existing customers have until January 1, 2027Yes, in a Google Cloud projectYes, in the Gemini API
What it searchesThe whole live web, read at the moment of the callThe Programmable Search Engine you configured under cxUp to 50 domains. For full web search, Google asks you to contact itGoogle Search, through the queries a Gemini model decides to run
The callGoogle's GET /customsearch/v1 at https://api.specstream.ai, GET /v1/web-search, or the search_web tool on the MCP serverGET /customsearch/v1 with q, an API key and cx, the ID of your Programmable Search EngineA POST to a serving config of an engine in your Google Cloud projectA tool inside a Gemini model request
What comes backOn Google's route, Google's JSON: items[] with title, link, snippet and displayLink, and queries.nextPageitems[] with the URL, title and text snippets of each resultSemantic retrieval on Standard. Enterprise adds generative answersA model answer grounded in the search results, with search suggestions as HTML to render
Price per 1,000$1 for searches of up to 10 results on Google's route$5 per 1,000 queries after 100 free a day, for existing customers$1.50 per 1,000 queries on Standard, $4.00 on Enterprise$14 per 1,000 search requests on Gemini 3 and newer, after 5,000 free a month
What one unit isOne call of up to 10 results, $0.001One queryAny API call to Enterprise Search, direct, through an integration or in the consoleEach search query the model decides to run, so one prompt can be several
Free use$10 of credit on a new account, no card. It covers 10,000 searches100 queries a dayA free trial of 10,000 queries per account a month5,000 search requests a month on Gemini 3 and newer
LimitNo limit per key and no daily limit. A busy call gets a 429 and is not charged10,000 queries a day50 domains1,500 requests a day per project by default on the paid tier

Why teams call Google's API on SpecStream

Every official Google search API, and the unofficial ones

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to move Google's call to SpecStream

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 10,000 searches.

2. Set the base address to https://api.specstream.ai where your code has https://www.googleapis.com or https://customsearch.googleapis.com, and send the SpecStream key in key=.

import requests

BASE = "https://api.specstream.ai"  # was https://www.googleapis.com

reply = requests.get(
    f"{BASE}/customsearch/v1",
    params={"key": SPECSTREAM_KEY, "cx": CX, "q": "who founded anthropic", "num": 10},
).json()

for item in reply["items"]:
    print(item["title"], item["link"], item["snippet"])

3. Leave the rest. q, num and start work as before, queries.nextPage gives the next start, and cx is accepted and not used. The full guide, with JavaScript, Go and PHP, is Migrate from Google Custom Search.

Frequently asked questions

Something we didn't answer? Talk to a human

Does Google have an official search API?
Not for the whole web, for a new customer. Google's one web search API, the Custom Search JSON API, is closed to new customers and ends on January 1, 2027. Vertex AI Search covers up to 50 domains, and Grounding with Google Search returns a Gemini answer in place of results.
Is the Google Custom Search API free?
100 queries a day are free, for existing customers only. After that it costs $5 per 1,000 queries, up to 10,000 a day, until the service ends on January 1, 2027.
What replaces the Custom Search JSON API?
Google names Vertex AI Search for up to 50 domains, at $1.50 per 1,000 queries on Standard, and asks you to contact it for full web search. SpecStream answers the same GET /customsearch/v1 call on the whole live web at $1 per 1,000, so the code keeps its parser.
Can I still get a Google search API key in 2026?
Not for the Custom Search JSON API: it is closed to new customers. A SpecStream key works in its place in key=, takes a minute and starts with $10 of credit, no card, which covers 10,000 searches.
Is SerpApi an official Google API?
No. SerpApi and Serper are separate companies with their own keys, JSON and prices: SerpApi's Starter plan is $25 a month for 1,000 searches. SpecStream answers SerpApi's call and Serper's call at $1 per 1,000.
Does the Search Console API search Google?
No. It reports how often a property you own appears in Google results, and it needs owner, full or read access to that Search Console account. Web results through Google's call come from GET /customsearch/v1, which SpecStream answers.
How much does SpecStream cost on Google's call?
$1 per 1,000 searches of up to 10 results, $0.001 a call, with no daily limit. A new account gets $10 of credit, no card, and credit you buy never expires.

Sources

SpecStream wrote this page. Each figure for Google, SerpApi and Serper comes from that company's own page, read on the date shown.

  1. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 12, 2026
  2. Google Custom Search JSON API, cse.list referencedevelopers.google.com/custom-search/v1/reference/rest/v1/cse/list, read Nov 12, 2026
  3. Google Custom Search JSON API, using RESTdevelopers.google.com/custom-search/v1/using_rest, read Nov 12, 2026
  4. Programmable Search Engine blog, updates to our web search productsprogrammablesearchengine.googleblog.com/2026/01/updates-to-our-web-search-products.html, read Nov 12, 2026
  5. Google Cloud, Agent Search pricingcloud.google.com/generative-ai-app-builder/pricing, read Nov 12, 2026
  6. Google Cloud, servingConfigs.search referencecloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.engines.servingConfigs/search, read Nov 12, 2026
  7. Gemini API, Grounding with Google Searchai.google.dev/gemini-api/docs/google-search, read Nov 12, 2026
  8. Search Console API, aboutdevelopers.google.com/webmaster-tools/about, read Nov 12, 2026
  9. Search Console API, search analyticsdevelopers.google.com/webmaster-tools/v1/how-tos/search_analytics, read Nov 12, 2026
  10. SerpApi pricingserpapi.com/pricing.md, read Nov 12, 2026
  11. Serperserper.dev/, read Nov 12, 2026