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

Tools / Google Search / API

Let your agent check Google itself, with a cost cap on every look

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.

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

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

What does it return?

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.

9records returned
7.2 sto answer
$0.0026charged for the run
positiondomaintitle
2www.agendrix.comTop 10 HR Software for Small Business in Canada (2026)
4www.zoho.comHR software for small business | Zoho People
8goklaim.comTop 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

How do you do it?

  1. Connect the agent

    Add the RouterGrowth MCP server, or give the agent the CLI or a key for REST.

  2. Let it find the call

    The agent runs discover and inspect, which give it the input schema and the price before it spends.

  3. Cap each run

    The agent sets max_cost on the run, so a loop of searches has a known ceiling.

  4. Hand it structured results

    It reads results, serp_features and ai_overview_sources as fields, with no HTML to parse.

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.

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

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": "hr software for small business", "location": "Toronto,Ontario,Canada"}'
REST
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

What should you know first?

Tell the agent to read domain

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.

Results are not filtered for the place

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.

Budget for a pause

The example took 15.1 seconds. An agent can run several searches at once instead of waiting on each.

FAQ

Questions about google search api for ai agents

Does the agent need its own Google credentials?

No. It uses a RouterGrowth key or the MCP connection. RouterGrowth is independent and is not Google's API.

Which agents can use it?

Any client that speaks MCP, or anything that can run a CLI command or make an HTTP request.

How do I stop a loop from overspending?

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.

Can the agent open the results?

seo.serp returns snippets only. It can pass a URL to web.scrape to read the page.

More on Google Search

Related pages

Reading this as an agent? This page as markdown: /tools/google-search/api-for-ai-agents.md

One key. Every network.

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