Skip to content

Engineering Blueprints · Python, TypeScript & MCP · SERP, Trends & News

Engineering guides for Search SERP, Trends & AI RAG.

Line-by-line pricing teardowns, migration scripts, and AI agent grounding patterns. Every blueprint ships with working Python, TypeScript, and cURL examples plus verified 200 OK JSON payloads.

Pricing Audit · Save 15x–75x vs SerpApi7 min read · Updated 2026-11-14

SerpApi Pricing Breakdown (2026): Why $75/mo Equals $15.00/1K & How to Cut Costs 15x–75x

SerpApi's entry Developer plan costs $75/month for 5,000 searches ($15.00 per 1,000 queries) and wipes unused credits every 30 days. SearchData API delivers live Google SERP + PAA, 54-week Trends, and News at $0.08–$0.20/1K with a $9 never-expiring Indie Pack.

  • →SerpApi's $75/month Developer plan works out to $15.00 per 1,000 searches — 75x higher than SearchData API's $0.20/1K base rate and 187x higher than our $0.08/1K Scale tier.
  • →Unused SerpApi monthly searches expire every 30 days, whereas SearchData API Pay-As-You-Go packs (starting at $9 for 75,000 credits = 37,500 SERP queries) never expire.
GET /v1/searchGET /v1/trends/interest
Read blueprint →
Trends Telemetry · Replace Broken pytrends8 min read · Updated 2026-11-14

Google Trends API Guide (2026): Query Realtime Breakouts & 54-Week Curves Without HTTP 429s

Unofficial libraries like pytrends were archived and routinely fail with HTTP 429 Too Many Requests on cloud IPs. Query deterministic JSON for realtime breakouts (/v1/trends/realtime) and 54-week interest curves (/v1/trends/interest).

  • →pytrends was archived in 2025 and triggers immediate HTTP 429 / cookie token challenges from datacenter subnets.
  • →GET /v1/trends/realtime streams daily & realtime trending topics, traffic volume tiers (e.g., 200K+, +450%), and linked news articles for 2 Credits ($0.20/1K).
GET /v1/trends/interestGET /v1/trends/realtime
Read blueprint →
News Wire Benchmark · Replace $449/mo NewsAPI6 min read · Updated 2026-11-14

Best Google News API & NewsAPI.org Alternative in 2026 ($0.20/1K Commercial Ready)

NewsAPI.org prohibits commercial production use on its free tier (with a 24-hour article delay) and jumps straight to $449/month for Business. Stream live Google News coverage at $0.08–$0.20 per 1,000 requests.

  • →NewsAPI.org's Developer tier forbids commercial production apps and delays articles by 24 hours; its Business tier starts at $449/month.
  • →SearchData API streams live publisher articles, source favicons, ISO-8601 UTC timestamps, and snippets in real time from $0.08–$0.20/1K.
GET /v1/news/searchGET /v1/news/top
Read blueprint →
Migration Blueprint · Bypass 10K/Day Quota Cap6 min read · Updated 2026-11-14

Google Custom Search JSON API Alternative (2026): Cut $5/1K to $0.20/1K & Remove the 10K/Day Cap

Google's Programmable Search Engine (Custom Search JSON API) bills $5.00 per 1,000 queries, caps every project at 10,000 queries/day, omits People Also Ask, and returns filtered Programmable Search rankings that diverge from real Google.com results.

  • →Google Custom Search JSON API costs $5.00 per 1,000 queries — 25x to 62x more expensive than SearchData API ($0.08–$0.20/1K).
  • →Google CSE enforces a hard 10,000 queries/day limit on the standard JSON API, blocking high-concurrency RAG and SEO crawls.
GET /v1/searchGET /v1/autocomplete
Read blueprint →
Head-to-Head Comparison · SERP + 54w Trends + MCP6 min read · Updated 2026-11-14

Serper.dev vs SearchData API (2026): Pricing, $9 Indie Pack, 54-Week Trends & Remote MCP

Serper.dev popularized affordable SERP JSON, but requires a $50 minimum top-up, expires credits after 6 months, and lacks 54-week Google Trends curves and hosted Remote MCP. Here is how SearchData API compares.

  • →$9 vs $50 Minimum Top-Up: Ship indie AI tools with our $9 Indie Starter Pack (75,000 never-expiring credits) instead of a $50 upfront commitment.
  • →Never-Expiring PAYG Credits: SearchData API PAYG credits never expire, whereas Serper credits expire after 6 months.
GET /v1/searchGET /v1/trends/interest
Read blueprint →
AI Agent Blueprint · LangChain, LlamaIndex & MCP7 min read · Updated 2026-11-14

Real-Time Web Search & News Grounding for LangChain, LlamaIndex & MCP Agents (2026)

Eliminate LLM knowledge-cutoff hallucinations by wiring live Google SERP rankings, PAA answers, and breaking news wires directly into LangChain, LlamaIndex, Vercel AI SDK, or Claude/Cursor MCP.

  • →Costs $0.00008–$0.0002 per tool invocation — allowing deep research agents to run 10 parallel queries for less than a fifth of a cent.
  • →Returns clean plain-text snippets and People Also Ask Q&A pairs ready for prompt injection without HTML DOM stripping.
GET /v1/searchGET /v1/news/search
Read blueprint →
Python Error Rescue · HTTP 429 Fix6 min read · Updated 2026-11-15

How to Fix pytrends HTTP 429 Too Many Requests in Python (2026)

Why unofficial pytrends scripts crash with ResponseError: Google returned a response with code 429 on AWS, Hetzner, and GCP — plus 3 native workarounds and a zero-429 Python JSON replacement.

  • →Cloud ASNs (AWS EC2/Lambda, Hetzner, GCP, DigitalOcean, GitHub Actions) hit HTTP 429 on the very first trends.google.com/trends/api/explore token handshake.
  • →Passing retries=3, backoff_factor=0.5 in pytrends 4.9.2 raises TypeError: Retry.__init__() got an unexpected keyword argument 'method_whitelist' on urllib3 >= 2.0.
GET /v1/trends/interestGET /v1/trends/realtime
Read blueprint →

Ready to test live SERP, Trends & News JSON?

Mint your sr_live_ API key in 5 seconds with 12,000 free Credits ($1.20) — no credit card required.