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

Tools / Web search and scraping / API

Search only the sites you choose and get web results as JSON

The usual reason to look for a custom search API is to search a chosen set of sites from code. web.search does that: pass a query and up to 10 include_domains, and get position, title, URL, domain and snippet back. RouterGrowth is independent. This is not Google's API, and there is no search engine to configure first.

Real run: 3 records $0.0035 per search web.search MCP · REST · CLI

Ask your agent

Search only these four vendor documentation sites for how each one handles single sign-on and cite the pages.

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 web.search (agent web search), run through RouterGrowth on November 2, 2026. These are the first rows it returned; fields that name a person are masked.

3records returned
47.9 sto answer
$0.007charged for the run
positiondomaintitle
5cisa.govZero Trust Maturity Model
6csrc.nist.govNIST Guidance on Implementing a ZTA | CSRC
7pages.nist.govImplementing a Zero Trust Architecture: Full Document

A search limited to nist.gov and cisa.gov kept three results after removing seven elsewhere; the first provider had none inside the domains, so the next answered and the run took 47.9 seconds.

Step by step

How do you do it?

  1. List the sites

    Put up to 10 domains in include_domains. Subdomains count: nist.gov also matched csrc.nist.gov and pages.nist.gov in the example.

  2. Send the query

    Call web.search with query, include_domains and limit. site: in the query is read the same way.

  3. Read filters

    result.filters says how many results were removed for being off domain, so you can tell a thin site list from a thin search.

  4. Open what matters

    Results hold a snippet, not the page. Pass the URLs you want to web.scrape for the full text.

Price

What does it cost?

List prices on this call, 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 search
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.

Search only these four vendor documentation sites for how each one handles single sign-on and cite the pages.

Find what nist.gov and cisa.gov published on zero trust, then read the top two pages and summarize the differences.

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 web.search -i '{"query": "zero trust architecture guidance", "include_domains": ["nist.gov", "cisa.gov"], "limit": 6}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "web.search", "input": {"query": "zero trust architecture guidance", "include_domains": ["nist.gov", "cisa.gov"], "limit": 6}}'

Worth knowing

What should you know first?

The filter runs after the search

Off-domain results are removed from what a provider returned, so you can get fewer than limit. The example asked for six and kept three.

Narrow filters can take longer

If a provider has nothing inside your domains, the next one tries. In the example that pushed the run to 47.9 seconds, so leave room in your timeouts.

Not every search option is here

The input is query, limit, include_domains and dates. There is no image search and no paging parameter.

FAQ

Questions about google custom search api

Is this Google's Custom Search API?

No. RouterGrowth is independent and web.search is its own call, with its own input and response.

Are the results from Google?

web.search routes across search providers, and the run's provider field says which answered. For Google's own results page in a chosen location, seo.serp is the call.

Do I need a search engine ID?

No. Domains go in the request, so each call can search a different set of sites.

Can I filter by date?

Yes. start_date and end_date take YYYY-MM-DD; undated results are kept and counted in filters.kept_undated.

More on Web search and scraping

Related pages

Reading this as an agent? This page as markdown: /tools/web-scraping/google-custom-search-api.md

One key. Every network.

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