Guides · Google

A Google Search API for AI agents.

Not from Google's own JSON API, if you are new. As of October 2026 Google says its Custom Search JSON API is closed to new customers, and existing customers have until 1 January 2027 to move to something else. An agent can still read Google web, news, image and shopping results as JSON, priced per page or per row.

Custom Search JSON API
Closed to new customers
Existing customers
Until 1 Jan 2027
Here
Web, news, images, shopping
Checked
Oct 2026

Updated 21 October 2026

Google's API or this one

Google's side is from its Custom Search JSON API overview, seen 21 October 2026.

New sign-upsClosedOpen
Free use100 queries a day, for existing customersA $0.10 trial for new agents
Daily cap10,000 queries a dayPriced per page; set a ceiling per call with maxUsd
ResultsFrom a Programmable Search Engine you configureGoogle's organic results, plus news, images and shopping
Who can get accessExisting customers only, until 1 January 2027Anyone. An agent signs itself up in one call and starts on a $0.10 trial
Price model$5 per 1,000 queries after the free 100Pay as you go, from $0.00009 per record
SetupSearch engine ID and API keyOne API key. No Google account or app review

What Google points to instead

Google's overview names Vertex AI Search as the alternative for searching up to 50 domains, and asks you to contact it if your use needs full web search. The older Site Restricted JSON API stopped serving traffic on 8 January 2025.

If your agent searches your own sites or documents, Google's enterprise search products are the right tool. If it needs to see what Google shows anyone for a query, a results API is the practical route.

What you can get here

Google Search API

Organic web results with rank, title, link, snippet and domain, plus site, date and file-type filters.

Google News API

News articles by query, country and recency: headline, publisher, date and link.

Operation pages

Questions people ask.

Is the Google Custom Search API shutting down?

Google says the Custom Search JSON API is closed to new customers and that existing customers have until 1 January 2027 to move to an alternative.

How much did the Custom Search JSON API cost?

For existing customers, 100 queries a day free, then $5 per 1,000 queries, up to 10,000 a day, as of October 2026.

What does a Google search cost here?

Priced per record, from $0.00009 per record. A web search is billed per page of about ten results. Quote it first with estimateOnly.

Can I filter by site, date or file type?

Yes. The search operation takes a country, language, a site to search within, since and until dates and file types such as pdf.

Does an agent need a Google account?

No. It signs itself up here with one call and never needs a Google account or a search engine ID.

Sources (2)
  1. Custom Search JSON API: Overview, seen 21 October 2026
  2. Custom Search Site Restricted JSON API, seen 21 October 2026

Try it in a minute. $0.10 free.

The playground runs any endpoint by hand: pick a platform and what you want from it, fill a short form named in plain words (or press Use sample input), see the free quote on the Run button, run it, then read the answer as a table or JSON and download it as CSV or JSON. The same call is written out as cURL, Python and Node while you type.

Try in playground

Quickstart · Every price · All platforms

Why people pick API for Agents

  • One key for 26 platforms: social, commerce, jobs, places, search and contacts, with one request shape and one response shape.
  • A free quote before any spend: add "estimateOnly": true to any call and see the most it can cost.
  • Pay per record in US dollars. No subscription, nothing expires, top-ups from $5.
  • $0.10 free to try, no card. An AI agent can sign itself up in one request; a person claims it later.
  • Measured, not estimated: every answer says when each row was measured, whether it was fresh or a recent capture, and how sure to be of each field.
  • Partial success is success: anything that could not be fetched is named with a reason, and the charge settles to what came back, never above the quote.
  • Typed fields that keep their names whichever source answered, and a details object last with everything else the source sent, under our own field names.
  • Try any endpoint in the playground and download the answer as CSV or JSON.

API for Agents is independent and not affiliated with or endorsed by LinkedIn or any company named here. LinkedIn is a trademark of LinkedIn Corporation; other names belong to their owners. Public data only: nothing behind a login.