Tools / Google Search / API
An agent working on market or SEO questions needs to see who ranks now, not what its training data remembers. seo.serp gives it the live Google results page for a keyword and place as JSON, over MCP, the CLI or REST, with a max_cost on each run. RouterGrowth is independent: this is not Google's API, and the agent never holds a Google key.
Ask your agent
Check Google in Toronto for hr software for small business, tell me which vendors show up and which are review sites.
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
One call to seo.serp (live serp results), run through RouterGrowth on November 4, 2026. These are the first rows it returned; fields that name a person are masked.
| position | domain | title |
|---|---|---|
| 2 | www.agendrix.com | Top 10 HR Software for Small Business in Canada (2026) |
| 4 | www.zoho.com | HR software for small business | Zoho People |
| 8 | goklaim.com | Top HR Software for Small Canadian Businesses |
Google in Toronto for hr software for small business: nine results with an AI Overview, ads and a video block; vendors and review sites share the page.
Step by step
Add the RouterGrowth MCP server, or give the agent the CLI or a key for REST.
The agent runs discover and inspect, which give it the input schema and the price before it spends.
The agent sets max_cost on the run, so a loop of searches has a known ceiling.
It reads results, serp_features and ai_overview_sources as fields, with no HTML to parse.
Price
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.
In practice
You describe the job; the agent picks the calls, shows the price and runs them.
Check Google in Toronto for hr software for small business, tell me which vendors show up and which are review sites.
Before you write this comparison page, look up who ranks for our main keyword, read the top three and list what they all cover.
See if an AI Overview shows for our five main keywords, then check whether assistants name us for the same questions.
Connect
One MCP server for Claude, ChatGPT, Claude Code, Codex and Cursor, or the same call over the CLI and REST with the input above.
claude mcp add --transport http routergrowth https://api.routergrowth.com/mcp
npm install -g routergrowth && routergrowth setup
routergrowth run -c seo.serp -i '{"keyword": "hr software for small business", "location": "Toronto,Ontario,Canada"}'curl -X POST https://api.routergrowth.com/v1/run \
-H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
-d '{"capability": "seo.serp", "input": {"keyword": "hr software for small business", "location": "Toronto,Ontario,Canada"}}'Worth knowing
All nine url values in the example were google.com/goto links, and one result had no domain. Have the agent name sites from domain and fetch a page only when it needs it.
A city changes the page but not every result: a UK guide appeared for Toronto in the example. The agent should read titles before it reports a local list.
The example took 15.1 seconds. An agent can run several searches at once instead of waiting on each.
FAQ
No. It uses a RouterGrowth key or the MCP connection. RouterGrowth is independent and is not Google's API.
Any client that speaks MCP, or anything that can run a CLI command or make an HTTP request.
Set max_cost per run, and use a batch with a total cap for a list of keywords. A batch whose inputs times max_cost pass the total cap is not submitted.
seo.serp returns snippets only. It can pass a URL to web.scrape to read the page.
More on Google Search
Reading this as an agent? This page as markdown: /tools/google-search/api-for-ai-agents.md
Connect your agent once. The first calls run on the $1 that comes with signup.