Skip to content
Blog5 min read

Google Custom Search JSON API alternative: google.com results as JSON before the January 1, 2027 shutdown

Guide
Custom Search JSON API fields mapped to GOOGLE_SERP fields on querying.ai, with the cost of 1,000 searches: $5 on the Custom Search JSON API, $0.75 to $0.30 on querying.ai plans

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
}
GOOGLE_SERP response fields, November 2026
FieldWhat it holds
organicResultsOrganic results: position, title, link, displayedLink, snippet, page. Always present
pageThe results page that was loaded, 1 to 10
adsTop and bottom text ads and sponsored shopping cards, when the page shows them
peopleAlsoAsk, relatedSearchesGoogle's question and related search panels, when the page shows them
mapThe local pack with name, position, placeId and mapsUrl, when the page shows one
videos, shoppingCards, knowledgeGraphVideo cards, product grids and the knowledge panel, when the page shows them
rawContentThe 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.

Custom Search JSON API to GOOGLE_SERP
cse.list parameter or fieldGOOGLE_SERPNote
qpayload.queryUp to 100,000 characters
glpayload.countryISO 3166-1 alpha-2, US by default
hlpayload.hlGoogle's interface language
start, numpayload.pageTen organic results a page, pages 1 to 10
cx(none needed)Results come from google.com
items[].titleorganicResults[].titleSame value
items[].linkorganicResults[].linkSame value
items[].snippetorganicResults[].snippetSame value
items[].formattedUrlorganicResults[].displayedLinkThe URL line Google prints with the result
(start plus index)organicResults[].positionCounts across pages, so page 2 starts at 11
(no cse.list field)ads, peopleAlsoAsk, mapPanels 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

Cost of 1,000 Google searches, list prices on November 13, 2026
OptionPer 1,000Custom Search cost divided by thisWhat you get
Custom Search JSON API, existing customers until January 1, 2027$5.001.0xUp to 10 results from your Programmable Search Engine
querying.ai Basic, $20 / 8,000 credits$0.756.7xOne google.com results page with ads and panels
querying.ai Pro, $200 / 170,000 credits$0.3514.2xOne google.com results page with ads and panels
querying.ai Scale, $500 / 480,000 credits$0.3116.0xOne google.com results page with ads and panels
querying.ai Max, $1,000 / 1,000,000 credits$0.3016.7xOne 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_SERP returns web results. Image search and the cse.list filters siteSearch, dateRestrict and fileType have no matching payload fields.
  • page above 1 with device mobile or android returns 422 VALIDATION_ERROR, because the mobile page has no page links.
  • An empty organicResults in a completed task means Google returned no results for the query, confirmed on a second browser before it is returned.
  • A page outside 1 to 10 returns 422 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.

  • 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.

Start free

500 free credits when you sign up. Collect your first answers in minutes.

Start free

More from the blog