Skip to the page

Programmable Search Engine API alternative

Same call, new host.

The Programmable Search Engine API, which Google calls the Custom Search JSON API, costs $5 per 1,000 queries after 100 free a day. It is closed to new customers and ends on January 1, 2027.

SpecStream answers the same call. Set the base address to https://api.specstream.ai, put a SpecStream key in key=, and GET /customsearch/v1 returns Google's JSON from the whole live web, with no engine to configure.

It costs $5 per 1,000 searches and scores 97.9 F-score on all 1,000 SimpleQA Verified questions and 64.0 item F1 on all 200 WideSearch tasks (benchmarks).

New accounts get $10 of credit, no card. It covers 2,000 searches.

SpecStream next to Google's Programmable Search products

SpecStreamProgrammable Search Engine APIProgrammable Search ElementVertex AI Search
What it isThe Search API of the live web data engine, answering Google's Custom Search call on its own pathThe Custom Search JSON API: web and image results from a Programmable Search Engine, by programA search box and results on your own websitesGoogle's Cloud search product, now titled Agent Search
What it searchesThe whole live web, read at the moment of the callThe engine you configured under cxAt most 50 domains, for site-specific searchUp to 50 domains. For full web search, Google asks you to contact it
StatusYes. The Custom Search route is live at https://api.specstream.ai/customsearch/v1Closed to new customers. Existing customers have until January 1, 2027Stays. Google's blog says it is being simplified for search on your own websitesGoogle's named alternative to the JSON API, for up to 50 domains
The requestGET /customsearch/v1?key=...&q=...&num=&start=, as your code sends it today. cx is accepted and not usedGET /customsearch/v1 with q, an API key and cxA search element on your own websitesA POST to the Agent Search servingConfigs.search method in a Google Cloud project
The replyGoogle's JSON: kind customsearch#search, items[] with title, link, snippet and displayLink, searchInformation.totalResults and queries.nextPageitems[] with the URL, title and text snippets of each resultA search experience on your own websitesThe reply of the Agent Search servingConfigs.search method
Price$5 per 1,000 searches of up to 10 results, $0.005 a call$5 per 1,000 queries after 100 free a day, up to 10,000 a dayFree, Google's blog says, for up to 50 domains$1.50 per 1,000 queries on Standard and $4.00 on Enterprise, plus data storage

Why developers move their Programmable Search Engine calls to SpecStream

Other Programmable Search Engine API alternatives

How SpecStream scores

The same numbers as the benchmarks page, from the official tasks and scorers.

How to move a Programmable Search Engine call to SpecStream

1. Create a key under Agents & API in the workspace. A new account gets $10 of credit, no card, which covers 2,000 searches.

2. Set the base address to https://api.specstream.ai in place of https://www.googleapis.com or https://customsearch.googleapis.com, and send the SpecStream key in key=.

const base = "https://api.specstream.ai"; // was https://www.googleapis.com
const params = new URLSearchParams({ key: SPECSTREAM_KEY, cx: CX, q: "open source vector databases", num: "10" });
const reply = await fetch(`${base}/customsearch/v1?${params}`).then((r) => r.json());

for (const item of reply.items) console.log(item.title, item.link, item.snippet);

3. Leave cx in the request or take it out; it is not used. The route returns web results, so send calls without searchType.

Frequently asked questions

Something we didn't answer? Talk to a human

Is the Programmable Search Engine API being shut down?
Yes, on January 1, 2027. The API behind it, the Custom Search JSON API, is closed to new customers, and existing customers have until that date to move.
How much does the Programmable Search Engine API cost?
$5 per 1,000 queries after 100 free queries a day, up to 10,000 a day, for existing customers. SpecStream answers the same call at $5 per 1,000 searches, with no cap of 10,000 a day.
What is the difference between the Programmable Search Engine and the Custom Search JSON API?
The engine is the set of sites you configure; the Custom Search JSON API returns its results to your code as JSON. Google's blog says the Search Element stays for search on your own websites, while the JSON API ends on January 1, 2027.
Do I need a search engine ID (cx) on SpecStream?
No. cx is accepted and not used, so a request that sends it works unchanged. SpecStream searches the whole live web, and siteSearch keeps a search to one site.
What is the best Programmable Search Engine API alternative?
SpecStream, at $5 per 1,000 searches. It answers GET /customsearch/v1 in Google's JSON, so the move is one changed line, and it scores 97.9 F-score on all 1,000 SimpleQA Verified questions.
Can I get a Programmable Search Engine API key today?
No. Google's page says the API is not available for new customers. A SpecStream key takes a minute under Agents & API in the workspace, with $10 of credit and no card.

Sources

SpecStream wrote this page. Each figure about Google and other providers comes from that company's own page.

  1. Google Custom Search JSON API overviewdevelopers.google.com/custom-search/v1/overview, read Nov 10, 2026
  2. Google Custom Search JSON API reference, cse.listdevelopers.google.com/custom-search/v1/reference/rest/v1/cse/list, read Nov 10, 2026
  3. Google Custom Search JSON API, using RESTdevelopers.google.com/custom-search/v1/using_rest, read Nov 10, 2026
  4. Programmable Search Engine blog, January 20, 2026programmablesearchengine.googleblog.com/2026/01/updates-to-our-web-search-products.html, read Nov 10, 2026
  5. Google Cloud, Agent Search pricingcloud.google.com/generative-ai-app-builder/pricing, read Nov 10, 2026
  6. Google Cloud, servingConfigs.search referencecloud.google.com/generative-ai-app-builder/docs/reference/rest/v1/projects.locations.collections.engines.servingConfigs/search, read Nov 10, 2026
  7. Brave Search APIbrave.com/search/api/, read Nov 10, 2026
  8. Brave, alternatives to the Google Search APIbrave.com/learn/google-api-shutdown/, read Nov 10, 2026
  9. Perplexity API pricingdocs.perplexity.ai/docs/getting-started/pricing, read Nov 10, 2026
  10. SpecStream benchmarksspecstream.ai/benchmarks, read Nov 10, 2026
  11. SpecStream pricingspecstream.ai/pricing, read Nov 10, 2026
  12. SpecStream for agentsspecstream.ai/agents.md, read Nov 10, 2026