21 Jul 2023

This Python package is meant to scrape and parse search results from Google, Bing, Baidu, Yandex, Yahoo, eBay and more, using SerpApi.
Paid plans: https://serpapi.com/pricing
$50 for 5k searches per month.
$130 for 15k searches per month.
from serpapi import GoogleSearch
params = {
"q": "Coffee",
"location": "Austin, Texas, United States",
"hl": "en",
"gl": "us",
"google_domain": "google.com",
"api_key": "secret_api_key"
}
search = GoogleSearch(params)
results = search.get_dict()
29 Nov 2026 new prices, and how NicAI uses SerpApi for shopping.
What changed since 2023
The plans moved. There is now a free plan, and the paid tiers start lower:
| Plan | Price a month | Searches a month | Throughput an hour |
|---|---|---|---|
| Free | 0 USD | 250 | 50 |
| Starter | 25 USD | 1,000 | 200 |
| Developer | 75 USD | 5,000 | 1,000 |
| Production | 150 USD | 15,000 | 3,000 |
| Big Data | 275 USD | 30,000 | 6,000 |
Larger plans go up to 100s of 1,000s of searches. From Production up, the plans include SerpApi's Legal Shield, which covers up to 2M USD for scraping and parsing search engine data.
Only successful searches count. Cached, errored and failed searches are free, and SerpApi serves an identical search from its 1-hour cache.
How I use it in NicAI
I use 1 engine: Google Shopping. My personal shopping skill finds the best product for a need from reviews and test magazines, then asks SerpApi where to buy it in Germany.
The wrapper is ~/ai/_shared/serpapi.py, plain urllib, no SDK:
python3 ~/ai/_shared/serpapi.py shopping "wera kraftform kompakt 60" # products, numbered
python3 ~/ai/_shared/serpapi.py offers 1 # every shop for result 1
python3 ~/ai/_shared/serpapi.py account # plan and searches left (free)
shoppinglists the products for a query and stores them locally.offerstakes a result number and lists every shop's offer: total price with shipping, shop rating, stock and returns.- Market: Germany by default (
--gl de --hl de), with Austria, Switzerland, France and the UK as options.
⚠️ WARNING: always pass a
location. Without one, Google ranks the results for a US data centre and drops exact matches. The wrapper maps each country code to its location for that reason.
I'm on the free plan. 250 searches a month is plenty for personal shopping: the skill keeps a task to about 6 searches, and the script prints how many are left after each call.
The skill only ever fills a basket. It never orders: I pay. Amazon picks go to my separate Amazon skill; every other shop comes back as a direct product link.