Signup comes with $1 in credit. No subscription needed.Claim your $1

Tools / Google Search / API

Get Google results into a Python script with one POST request

From Python, POST to the RouterGrowth run endpoint with a Bearer key, capability seo.serp and an input of keyword and location. The response holds the results list, the SERP features and whether an AI Overview showed, ready to load into pandas. No SERP vendor SDK or second account is needed.

Real run: 9 records $0.0035 per results page seo.serp MCP · REST · CLI

Ask your agent

Write a Python script that checks Google in San Francisco for these 20 keywords and saves the top ten of each to CSV.

Connect RouterGrowth once, then ask in plain words. New workspaces start with $1 of credit. Get a key or read the setup guide.

A real run

What does it return?

One call to seo.serp (live serp results), run through RouterGrowth on October 19, 2026. These are the first rows it returned; fields that name a person are masked.

9records returned
4.7 sto answer
$0.0035charged for the run
positiondomaintitle
3www.scrapingdog.comWeb Scraping with Python: Complete Tutorial ...
4www.geeksforgeeks.orgImplementing Web Scraping in Python with BeautifulSoup
6medium.comA (Really) Gentle Introduction to Web Scraping in Python

Google in San Francisco for python web scraping tutorial: nine results, three of them YouTube videos, with tutorial blogs and a course page between them.

Step by step

How do you do it?

  1. Install nothing special

    requests or httpx is enough. Keep the key in an environment variable.

  2. POST the search

    Send capability seo.serp with input keyword, location and optional engine and language to /v1/run.

  3. Read the results

    result.results is a list of dicts with position, title, url, domain and snippet.

  4. Loop and store

    Iterate over a keyword list, write rows to CSV or a DataFrame, and keep run_id for audit.

Price

What does it cost?

List prices on Google, read from the catalog when this page was built. The exact figure is quoted before every run, and a monthly plan lowers it.

$0.0035per results page
No seatand no monthly plan needed
$0when the call finds nothing

In practice

What do you ask it?

You describe the job; the agent picks the calls, shows the price and runs them.

Write a Python script that checks Google in San Francisco for these 20 keywords and saves the top ten of each to CSV.

In Python, get keyword volumes for a seed list, then fetch the live results for the five biggest.

Connect

How do you connect it?

One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.

MCP server
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
CLI
npm install -g routergrowth && routergrowth setup
routergrowth run -c seo.serp -i '{"keyword": "python web scraping tutorial", "location": "San Francisco,California,United States"}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "seo.serp", "input": {"keyword": "python web scraping tutorial", "location": "San Francisco,California,United States"}}'

Worth knowing

What should you know first?

Synchronous for SERP

A search usually returns in a few seconds, so a simple blocking call works in a loop.

Positions are page wide

Position counts the whole page, so a video or block can take a slot between organic results.

Same pattern for every capability

Change the capability and input to call keywords, backlinks or social data with the same function.

FAQ

Questions about serp api python

Is there a Python package?

None is required. The API is JSON over HTTPS; the routergrowth CLI is there for shell use.

How do I pick Bing?

Add engine bing to the input.

Can I run searches in parallel?

Yes. Send requests concurrently; each is billed as its own search.

What if a search fails?

The response says why and nothing is charged. Retry or skip that keyword.

More on Google Search

Related pages

Reading this as an agent? This page as markdown: /tools/google-search/serp-api-python.md

One key. Every network.

Connect your agent once. The first calls run on the $1 that comes with signup.