
Last updated: 7 November 2026
Google’s main public search API, the Custom Search JSON API, is closed to new customers and will be discontinued for existing users on 1 January 2027. Google now points site-search users to Vertex AI Search and offers full web results only through a partner-only Web Search Service API. For most businesses that need Google search results data, the practical options are third-party SERP APIs or a managed search data service.
Key takeawaysFor years, developers used a Google search API to add search to apps, track rankings or collect results for research. That is changing fast. Google has closed its Custom Search JSON API to new users and set an end date for everyone else.
This guide explains what the Google search API options are today, what the shutdown means, how Programmable Search Engine compares with the API and its parameters, the best Google search API alternatives and how to choose. For background on search data, see our guide to web crawlers.
Google has offered several search-related APIs over time. Today they fall into three groups: the legacy Custom Search JSON API, enterprise search through Vertex AI Search, and a partner-only Web Search Service API for full web results.
| Google option | What it does | Status in 2026 |
|---|---|---|
| Custom Search JSON API | Returns results from a Programmable Search Engine as JSON | Closed to new customers; ends 1 January 2027 |
| Programmable Search Engine | Embeddable search box for your site or chosen sites | Search element continues; API access is ending |
| Vertex AI Search | Google Cloud search over your data and selected domains | Recommended alternative for site search |
| Web Search Service API | Full web search results as JSON | Partner-only, by agreement with Google |
The right Google API for search now depends on what you are searching. If you need a search box for your own website or help centre, use Vertex AI Search. If you need full web results from Google and have a business relationship with Google, ask about the Web Search Service API. If you need Google results for SEO, advertising or research, Google no longer offers an open API for that, so third-party SERP APIs or a managed data service are the realistic options.
Before choosing, decide whether you need Google’s own rankings or simply good web results. Many AI and app use cases only need relevant web pages, not Google’s exact order, which widens your choice.
Yes. Google’s documentation states that the Custom Search JSON API is closed to new customers, and existing customers have until 1 January 2027 to move to an alternative. After that date, applications that rely on it will stop receiving results.
Google is not alone. Microsoft retired its Bing Search APIs on 11 August 2025, pointing developers to AI-based grounding tools instead. Official search APIs are shrinking, which is why third-party search data has become more important.
Programmable Search Engine is the search box and configuration you set up in Google’s console, while the Custom Search JSON API is the programmatic way to query that engine and receive JSON. The engine controls which sites are searched; API parameters control each individual request.
| Factor | Programmable Search Engine | Custom Search JSON API |
|---|---|---|
| What it is | Hosted search box and settings | REST interface returning JSON |
| Main benefit | Easy site search with no backend code | Full control inside your own app |
| Output | Google-styled results on your page | Raw JSON you design around |
| Configuration | Sites, language, look and feel in the console | Per-request parameters |
| Future | Search element continues | Ends 1 January 2027 |
The Custom Search JSON API uses query parameters to control each request. These are the ones developers relied on most.
| Parameter | Purpose |
|---|---|
| q | The search query |
| cx | The Programmable Search Engine ID |
| key | Your API key |
| num and start | Number of results and pagination |
| gl and hl | Country and interface language |
| lr | Restrict results to a language |
| dateRestrict | Limit results to a recent period |
| siteSearch | Include or exclude a specific site |
| searchType | Set to image for image results |
| safe | SafeSearch level |
When you migrate, check that your replacement supports the same controls, especially country, language and pagination, or your results will not match.
The best Google search API alternative depends on your goal: Vertex AI Search for site search, a SERP API for Google results data, an independent search API for general web search, or a managed data service for ongoing collection without code.
Google’s recommended replacement for searching your own content or a limited set of domains, with AI-powered ranking and answers.
A partner-only API for full web results, available through an agreement with Google.
Third-party SERP APIs, such as SerpApi, DataForSEO, Bright Data’s SERP API and Oxylabs, return Google results pages as structured JSON, including ads, maps, shopping and other features, by location and device.
Providers with their own web index, such as Brave Search API, offer general web results without relying on Google.
A managed provider such as Xwiz Analytics collects public search results for your keywords, countries and devices on a schedule and delivers clean data, with no API integration to maintain.
| Option | Results source | Access | Best for |
|---|---|---|---|
| Custom Search JSON API | Google (Programmable Search) | Closed; ends 1 Jan 2027 | Legacy only |
| Vertex AI Search | Your data and chosen domains | Google Cloud | Site and enterprise search |
| Web Search Service API | Google full web | Partner-only | Google partners |
| SERP APIs | Google results pages | Open sign-up | SEO and research data |
| Independent search APIs | Own web index | Open sign-up | General web search |
| Managed data service | Google results pages | Managed delivery | Ongoing business reporting |
Google search results data shows who ranks, who advertises and what users see for any keyword and location. Businesses use it for SEO, advertising and market research.
Choose a replacement by starting with your use case, then checking that it supports the countries, languages, devices and result features you need, at the volume and freshness you require.
The Custom Search JSON API offered a small free daily quota, but it is closed to new users. Most alternatives offer free trials or limited free tiers for testing, while production use is paid.
Xwiz Analytics collects public search results pages for the keywords, locations and devices you choose and delivers them as clean, structured data.
The era of a simple, open Google search API is ending. With the Custom Search JSON API closing on 1 January 2027 and Bing’s APIs already retired, teams need a new plan for search data.
Use Vertex AI Search for site search, and a SERP API or managed data service for Google results. Start testing now so your tools keep working after the deadline.
SourcesGoogle: Custom Search JSON API overview · Search Engine Journal: Google partner-only web search API · Microsoft: Bing Search API retirement
Tell us your keywords, countries and devices. We will deliver clean search results data on schedule.
