Google closed the Custom Search JSON API to new customers and ends it for existing customers on January 1, 2027. Get google.com organic results, ads and results page panels as JSON with one API call, map your cse.list fields, and compare the cost per 1,000 searches.
What is changing with the Custom Search JSON API
The Custom Search JSON API returns web and image results from a Programmable Search Engine as JSON. Google closed it to new customers, and existing customers have until January 1, 2027 to transition to an alternative solution. Until that date existing customers keep 100 free queries a day and pay $5 per 1,000 extra queries, up to 10,000 queries a day. Source: Custom Search JSON API overview.
The search engine behind the API changed as well. Since January 20, 2026 every new Programmable Search Engine searches a list of up to 50 domains, and an existing engine set to search the entire web keeps that setting until January 1, 2027. Source: Update sites in your search engine.
Google names Vertex AI Search for searching up to 50 domains and offers a contact form for full web search. Rank tracking, link discovery and research datasets need the whole google.com results page for every query, as structured data, at a known price per query.
Get google.com results as JSON with GOOGLE_SERP
GOOGLE_SERP takes a query, a country as an ISO 3166-1 alpha-2 code (US by default), an hl interface language and a page from 1 to 10. Each page holds ten organic results, so ten pages reach result 100, the same depth the Custom Search JSON API allows. Every task costs 0.3 credits. Reference: Google Search.
curl -X POST https://api.querying.ai/v1/async/task \
-H "Authorization: Bearer $QUERYING_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"taskType": "GOOGLE_SERP",
"payload": { "query": "best project management software", "country": "US", "hl": "en", "page": 1 }
}'The submit call answers with a task id right away. Read the task by id until its status is COMPLETED, or pass a webhook URL and receive the result when it lands. Results stay readable for 24 hours after the task completes, so store them as they arrive. Polling, webhooks and statuses: Async tasks.
curl https://api.querying.ai/v1/async/task/8f2c1e40-... \
-H "Authorization: Bearer $QUERYING_API_KEY"A completed task carries the results page in one shape:
{
"organicResults": [
{ "position": 1, "title": "...", "link": "https://...", "displayedLink": "...", "snippet": "...", "page": 1 }
],
"peopleAlsoAsk": [{ "...": "..." }],
"relatedSearches": [{ "...": "..." }],
"ads": [{ "position": 1, "blockPosition": "...", "title": "...", "link": "https://..." }],
"page": 1
}| Field | What it holds |
|---|---|
| organicResults | Organic results: position, title, link, displayedLink, snippet, page. Always present |
| page | The results page that was loaded, 1 to 10 |
| ads | Top and bottom text ads and sponsored shopping cards, when the page shows them |
| peopleAlsoAsk, relatedSearches | Google's question and related search panels, when the page shows them |
| map | The local pack with name, position, placeId and mapsUrl, when the page shows one |
| videos, shoppingCards, knowledgeGraph | Video cards, product grids and the knowledge panel, when the page shows them |
| rawContent | The results page HTML, with include.rawResponse set to true |
Map your cse.list parameters and fields
Most Custom Search code calls cse.list and reads items from the Search response. The table pairs each parameter and field with the one that carries the same value in a GOOGLE_SERP task.
| cse.list parameter or field | GOOGLE_SERP | Note |
|---|---|---|
| q | payload.query | Up to 100,000 characters |
| gl | payload.country | ISO 3166-1 alpha-2, US by default |
| hl | payload.hl | Google's interface language |
| start, num | payload.page | Ten organic results a page, pages 1 to 10 |
| cx | (none needed) | Results come from google.com |
| items[].title | organicResults[].title | Same value |
| items[].link | organicResults[].link | Same value |
| items[].snippet | organicResults[].snippet | Same value |
| items[].formattedUrl | organicResults[].displayedLink | The URL line Google prints with the result |
| (start plus index) | organicResults[].position | Counts across pages, so page 2 starts at 11 |
| (no cse.list field) | ads, peopleAlsoAsk, map | Panels on the results page |
The panels matter for search work. Ads show who pays for a query, peopleAlsoAsk lists the questions Google pairs with it, and map holds the local pack with each place's placeId.
Cost per 1,000 searches
| Option | Per 1,000 | Custom Search cost divided by this | What you get |
|---|---|---|---|
| Custom Search JSON API, existing customers until January 1, 2027 | $5.00 | 1.0x | Up to 10 results from your Programmable Search Engine |
| querying.ai Basic, $20 / 8,000 credits | $0.75 | 6.7x | One google.com results page with ads and panels |
| querying.ai Pro, $200 / 170,000 credits | $0.35 | 14.2x | One google.com results page with ads and panels |
| querying.ai Scale, $500 / 480,000 credits | $0.31 | 16.0x | One google.com results page with ads and panels |
| querying.ai Max, $1,000 / 1,000,000 credits | $0.30 | 16.7x | One google.com results page with ads and panels |
querying.ai prices come from each plan's monthly price divided by its credits. A new account starts with 500 free credits, which is 1,666 Google searches to test a port before you pick a plan.
Limits to plan for
GOOGLE_SERPreturns web results. Image search and the cse.list filterssiteSearch,dateRestrictandfileTypehave no matching payload fields.pageabove 1 withdevicemobileorandroidreturns422 VALIDATION_ERROR, because the mobile page has no page links.- An empty
organicResultsin a completed task means Google returned no results for the query, confirmed on a second browser before it is returned. - A
pageoutside 1 to 10 returns422 VALIDATION_ERROR, and a failed task costs 0 credits.
Frequently asked questions
When does the Google Custom Search JSON API shut down?
Existing customers have until January 1, 2027 to transition to an alternative solution. The API is already closed to new customers.
What does Google recommend for search results now?
Vertex AI Search for searching up to 50 domains, and a contact form for teams that need full web search.
How do I get Google search results as JSON?
Send a GOOGLE_SERP task with a query and a country to POST /v1/async/task, then read the task by id or on a webhook. The result holds organicResults and the panels the page shows.
How much does one Google search cost on querying.ai?
0.3 credits, which is $0.75 per 1,000 searches on Basic and $0.30 on Max.
How many results can I get for one query?
Ten organic results per page and pages 1 to 10, so 100 results across ten tasks of 0.3 credits each.
Can I get the AI Overview from the same page?
Use the GOOGLE engine at 1.25 credits. It returns the same results page with its AI Overview and the pages it cites. See Google AI Overviews.
Put it to work
- Google SERP API: Search Results as JSON
Get google.com organic results, ads, People also ask, the local pack and other panels as JSON for 0.3 credits a search: $0.75 per 1,000 searches on Basic, $0.30 on Max. Search from any country, a US state or an exact location, on desktop or mobile, pages 1 to 10.
- SERP API: Search Results and Storefronts as JSON
Collect Google, Bing and Naver search results, up to 100 places in one city from Google's Places tab, the articles Google's News tab lists for a search, product searches and product pages from 21 storefronts such as Amazon, Coupang and Olive Young as JSON through one async API.


