Menu

Google Custom Search JSON API ends January 1, 2027: migration code for Python, Node and curl, with a price table
📰

Google Custom Search JSON API ends January 1, 2027: migration code for Python, Node and curl, with a price table

DEV Community: api·Tarek Etman·3 days ago
#LJ3nifHX
#devtoapi#devto#dev#search#specstream
Long article (2630 words) — no AI summary yet.
Reading 0:00
15s threshold

By Tarek Etman, Founder & CEO, SpecStream

Google's Custom Search JSON API stops working for everyone on January 1, 2027. If your code calls googleapis.com/customsearch/v1 , you can move it to SpecStream by changing the host to api.specstream.ai and the key. The reply keeps Google's shape ( items[].title , link , snippet , displayLink ), so your parser stays as it is, and each call costs $1 per 1,000 instead of Google's $5.

Below is the code for both ways to move (keep Google's shape, or port to our native endpoint), in Python, Node and curl, then a price and latency table for the APIs people are moving to, and a small script to measure latency yourself.

What Google said

From the Custom Search JSON API overview page [1]:

"The Custom Search JSON API is closed to new customers. Vertex AI Search is a favorable alternative for searching up to 50 domains.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.