What is a Google Search API? Google’s Search Products Explained

Pooja GurungPooja Gurung
what is a google search api

“Google Search API” is a broad term for interfaces that give applications access to Google-powered search results or search-related data. Google offers several products for different tasks, including finding webpages, searching selected websites, analyzing search performance, discovering places, and generating answers grounded in web sources.

The first decision is what the application needs back: a list of results, a search interface, performance metrics, place information, or an AI-generated answer. These outputs are not interchangeable.

That distinction matters as Google prepares to discontinue its Custom Search JSON API on January 1, 2027. Choosing another Google search product requires checking its purpose and coverage, not simply finding a service with “search” in its name.

TL;DR

  • Match the product to the output. Web results, website search, SEO metrics, place information, and grounded AI answers serve different workflows.
  • Custom Search JSON API is closing. It returns web and image results, but it is closed to new customers and will be discontinued on January 1, 2027.
  • A free search widget is different from a search API. The standard Programmable Search Element embeds a search experience on a website.
  • Evaluate replacements against real requirements. Check search coverage, response fields, pricing, limits, and any image-search dependencies before migrating.

Does Google have a search API?

Yes. Google offers several search-related APIs and products, each serving a particular task. There is no single universal interface for all the functions people associate with Google Search.

Use the required output to narrow the options:

Google productBest suited toWhat the application receives
Custom Search JSON APIExisting integrations retrieving web and image results before discontinuationStructured search results in JSON
Programmable Search ElementEmbedding search on a websiteA search interface and displayed results
Agent Search, formerly Vertex AI SearchSearching configured websites and enterprise dataSearch results and grounded answers
Search Console APIAnalyzing a website’s Google Search performanceClicks, impressions, queries, and other metrics
Places APIFinding businesses, locations, and points of interestPlace information
Gemini API with Google Search groundingGenerating answers informed by web sourcesGenerated responses with grounding information and supporting sources

For example, an SEO dashboard needs performance data, while a research application may need URLs it can investigate further. An answer generated from web sources is a third kind of output. Choosing among them affects both the integration and what users can do with the information.

The Search Element also belongs in this comparison, even though it provides an embedded interface rather than a standalone JSON results API.

Use TinyFish in your agent

Add TinyFish to ChatGPT, Claude, Cursor and more in one click.

Connect TinyFish

What is Google Custom Search JSON API?

Google Custom Search JSON API is a REST API for retrieving Google-powered web and image results from a configured Programmable Search Engine. It returns JSON that applications can process and display.

An existing integration uses three main inputs:

  • key: The Google API key.
  • cx: The configured Programmable Search Engine ID.
  • q: The search query.

Web results include information such as page titles, URLs, snippets, and search metadata. Applications can use these fields to display results, discover relevant webpages, or support research. The engine configuration is part of the search scope; a query should not be treated as a guarantee of identical results to the consumer Google Search interface.

Google’s API overview confirms that the service is closed to new customers. Existing customers must transition before the Google Custom Search API shutdown on January 1, 2027.

How does Google Programmable Search Engine work?

Google Programmable Search Engine, or PSE, lets organizations configure customized search experiences using Google’s search technology.

Two relevant ways of using that configuration are:

  • Search Element: Embeds a search interface on a website.
  • Custom Search JSON API: Returns results programmatically for an application to process, while the API remains available to existing customers.

The distinction is practical. A website owner adding a search box may need the Search Element. An application that expects JSON results needs an API; a widget does not supply the same integration.

Google’s Search Element comparison lists the standard offering as supporting up to 50 distinct domains. Existing broader and full-web configurations are subject to the January 2027 transition.

There are eligibility exceptions. Google’s search-engine configuration guidance exempts engines registered for eligible nonprofit organizations, accredited educational institutions, and government agencies from the 50-domain limit. This exception does not reverse the separate Custom Search JSON API discontinuation.

Agent Search on Gemini platform, formerly Vertex AI Search, is a Google Cloud service for building search experiences and grounded answers over configured sources. Those sources can include websites, documents, and structured data.

A software company, for example, can use Agent Search to help customers find answers across its product documentation and help center. The task starts with a defined collection of information that the company wants users to search.

Google’s Custom Search migration guidance identifies Vertex AI Search, now Agent Search, as an option for use cases searching up to 50 domains. That migration recommendation is not a universal 50-domain limit for Agent Search.

It also does not establish equivalence with full-web discovery. Teams should evaluate whether their sources, required output, and application workflow fit the service rather than assume a change of endpoint will preserve the existing behavior.

Google also provides tools for search analytics, place discovery, and AI answers informed by web sources. Each solves a different problem from retrieving a general list of webpages.

What does the Google Search Console API provide?

The Search Console API’s Search Analytics method retrieves search performance data for authorized website properties. Its metrics include clicks, impressions, click-through rate, and average position, with dimensions such as query and page.

An SEO dashboard can use this data to track which queries bring visitors to a website and how performance changes over time. This is reporting about a property’s Google Search performance; it does not retrieve live web results for an arbitrary query.

What does the Google Places API search?

The Google Places API helps applications discover businesses, locations, and points of interest.

For example, a travel application can search for hotels in Tokyo and work with the returned place information. This serves a location-discovery task rather than a general webpage-discovery task. Developers should choose the fields their application needs rather than expect the response to look like web-search results.

How does Google Search grounding work in the Gemini API?

Grounding with Google Search lets Gemini use web information when generating responses and provide supporting sources.

This is useful when an application needs an answer informed by current web content. A traditional search-results workflow instead gives the application a set of results to inspect or process itself. The distinction is who assembles the answer: the model generates a response in the grounded workflow, while the application controls how it uses results in a search-results workflow.

Can you use a Google Search API for free?

Some Google search products offer free access or allowances, but new customers cannot sign up for the Custom Search JSON API’s free quota. A free website search widget is a separate offering.

Google’s Custom Search JSON API pricing lists these terms for existing customers:

  • Free allowance: 100 search queries per day.
  • Paid usage: $5 per 1,000 additional queries.
  • Daily limit: Up to 10,000 queries.
  • Availability: Existing customers only, until January 1, 2027.

The standard Programmable Search Element is free and ad-supported for supported configurations. It provides an embedded search experience, so it should not be presented as a free substitute for an application that requires JSON results.

Other Google services have their own pricing models and usage allowances. Compare the cost of the specific operation the application performs, rather than assume the Custom Search quota applies across Google products.

For more detail, see Google Custom Search API pricing, quotas, and limits.

Applications that discover sources beyond a predefined set of websites need broader web coverage than a site-specific search configuration provides. “Full-web” describes that discovery scope; it does not guarantee that every public webpage is indexed or returned.

In its January 2026 search-product announcement, Google directed customers with full-web requirements to inquire about its separate full-web search solution. Teams should confirm access, capabilities, and commercial terms rather than assume that announcement describes a self-service replacement.

When evaluating Google Custom Search API alternatives, test the requirements that determine whether the integration will work:

  • Coverage and relevance: Run representative queries and assess whether the results contain useful sources.
  • Freshness: Check whether time-sensitive queries surface sufficiently recent information.
  • Response format: Map titles, URLs, snippets, and metadata to the fields the application consumes.
  • Filters, pricing, and limits: Compare required controls, expected request volume, and usage costs.
  • Specialized capabilities: Verify image search or other dependencies separately from ordinary web search.

TinySearch, TinyFish’s web search API, provides structured search results for AI agents, research workflows, and applications that discover information across the public web. It is relevant to workflows that need results to feed into further research or processing.

A useful migration test compares the replacement against real queries and the existing application’s response handling. It should identify which filters, fields, and interface behavior need to change. Do not assume identical Google results or feature compatibility.

Migrating from Google Custom Search JSON API?

Talk to the TinyFish sales team about your search requirements and migration options.

AI disclosure

Content on this website may be created or refined with the assistance of AI tools and is subject to human editorial review.

FAQ

Questions, answered.

How can you automate Google Search?

Is Google Search API the same as Google Search Console API?

Does Google have an API for image search?

Is Google Search being replaced in 2027?

Get started

Start building.

No credit card. No setup. Run your first operation in under a minute.

Get $8 in Wallet fundsRead the docs