What is Changing with Google Custom Search API in 2027?

Google is discontinuing the Custom Search JSON API on January 1, 2027. The API is already closed to new customers, and existing customers must transition to another solution by that date.
The change also affects certain Google Programmable Search Engine configurations, including those searching the entire web or more than 50 domains.
However, Google Search itself isn't shutting down. The Programmable Search Element will remain available for site-specific searches covering up to 50 selected domains.
Here's what the shutdown means, who is affected, and how to prepare.
TL;DR
- Shutdown date: January 1, 2027, for Google Custom Search JSON API.
- Affected users: Existing JSON API customers and Search Element users searching the entire web or more than 50 domains.
- What remains available: The Programmable Search Element for site-specific searches across up to 50 domains.
- Replacement options: Google's Agent Search (formerly Vertex AI Search), its separate full-web search offering, and third-party search APIs, depending on requirements.
What exactly is Google shutting down in 2027?
Google is retiring its Custom Search JSON API, which lets developers retrieve web and image search results programmatically from a configured Google Programmable Search Engine.
For example, an internal research application might use the API to search for industry reports and receive structured results containing titles, URLs, and snippets.
Instead of opening Google.com, the application retrieves search results through an API request and processes them automatically.
Google officially announced these changes on January 20, 2026. The transition deadline for affected customers is January 1, 2027.
| Google product | What happens on January 1, 2027? |
|---|---|
| Custom Search JSON API | Discontinued; existing customers must migrate |
| Search Element searching the entire web or more than 50 domains | Existing configurations must transition |
| Search Element searching up to 50 selected domains | Remains available for site-specific search |
| Google Search (Google.com) | Not affected by the announcement |
Whether migration is required depends on which Google search service an organization uses. For example, a university can continue using a Search Element that searches 10 departmental websites. However, if its internal applications also rely on the Custom Search JSON API, those API integrations must be replaced by January 1, 2027.
Use TinyFish in your agent
Add TinyFish to ChatGPT, Claude, Cursor and more in one click.
Connect TinyFish
Why is Google discontinuing Custom Search JSON API?
Google says it is simplifying and modernizing its search offerings to provide more focused solutions for different needs.
In its official announcement, Google outlined three directions:
- Site-specific search: Programmable Search Element for websites searching a defined collection of domains.
- Enterprise search: Agent Search (formerly Vertex AI Search) for advanced capabilities, including AI-powered search and retrieval.
- Full-web search: A separate offering for organizations that need to search beyond a fixed collection of websites.
Google hasn't publicly identified a specific financial or technical reason for retiring the JSON API.
How can you check if your application is affected?
The easiest way to identify an affected application is to check whether it uses the Custom Search JSON API or the embedded Programmable Search Element.
1. Check your application's API requests
Look for Google's Custom Search JSON API endpoint in your application code or configuration:
https://www.googleapis.com/customsearch/v1Applications calling this endpoint depend on the retiring API.
You may also find parameters such as key, cx, and q, which identify the API key, search engine, and query.
2. Check for an embedded Search Element
Websites using Google Programmable Search Element may load a JavaScript file such as:
https://cse.google.com/cse.js?cx=...This indicates an embedded Google search interface, not necessarily a JSON API integration.
If your website uses the Search Element, review its configuration in the Programmable Search Engine Control Panel.
Search Elements configured for up to 50 selected domains remain supported. Existing configurations searching the entire web or more than 50 domains must transition.
3. Review Google Cloud API usage
Existing customers can also check their Google Cloud project's API usage dashboard for Custom Search JSON API activity.
This is particularly important for internal applications because backend API requests may not be visible in a website's public code.
Teams should review internal repositories, API usage, and search configurations before deciding whether a migration is necessary.
What can replace Google Custom Search JSON API?
Google recommends different solutions depending on whether an application needs site-specific search, enterprise AI search, or full-web results.
Agent Search (formerly Vertex AI Search)
Google recommends Agent Search for certain search requirements involving up to 50 domains.
Agent Search supports enterprise search across configured data sources, along with capabilities such as AI-powered retrieval and answer generation.
However, it is a separate product with different integration requirements, not a direct replacement for every Custom Search JSON API feature.
Google's full-web search solution
For organizations that need to search beyond a fixed collection of websites, Google offers a separate full-web search solution through an inquiry process.
Customers must contact Google to learn about its capabilities, availability, and pricing.
Third-party web search APIs
Independent web search APIs are another option for applications that need structured web results.
For example, TinySearch provides structured web search results for applications, AI agents, and research workflows.
However, no replacement should be assumed to reproduce every Custom Search JSON API feature. Teams need to verify compatibility with their search requirements, including image search, filters, pagination, and response formats.
What should developers do before January 1, 2027?
Developers should identify existing API dependencies and test replacement solutions before the deadline.
Migrating may require more than changing an endpoint or API key.
Here are five steps to prepare:
- Identify existing integrations. Find applications, scripts, and workflows using Custom Search JSON API.
- Document required features. Check dependencies such as web and image search, regional targeting, domain filters, pagination, and JSON response fields.
- Review API usage. Record query volumes, performance requirements, and reliability expectations.
- Evaluate replacement options. Compare available solutions against the application's actual requirements.
- Test before switching. Validate search results, update response-handling logic, and test the application before deploying the replacement.
For business-critical applications, testing early helps identify compatibility issues before the existing service is retired.
What should you do next?
Google's January 2027 changes affect several search products, but not every Google-powered search experience is disappearing.
The Custom Search JSON API is being retired, while the Programmable Search Element will continue supporting site-specific search across up to 50 domains.
For affected organizations, the first step is understanding which search services their applications depend on and what capabilities a replacement must preserve.
Migrating from Google Custom Search JSON API?
If your organization relies on the retiring 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.



