Tools / Web search and scraping / API
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.
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
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.
| position | domain | title |
|---|---|---|
| 5 | cisa.gov | Zero Trust Maturity Model |
| 6 | csrc.nist.gov | NIST Guidance on Implementing a ZTA | CSRC |
| 7 | pages.nist.gov | Implementing 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
Put up to 10 domains in include_domains. Subdomains count: nist.gov also matched csrc.nist.gov and pages.nist.gov in the example.
Call web.search with query, include_domains and limit. site: in the query is read the same way.
result.filters says how many results were removed for being off domain, so you can tell a thin site list from a thin search.
Results hold a snippet, not the page. Pass the URLs you want to web.scrape for the full text.
Price
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.
In practice
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
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 web.search -i '{"query": "zero trust architecture guidance", "include_domains": ["nist.gov", "cisa.gov"], "limit": 6}'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
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.
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.
The input is query, limit, include_domains and dates. There is no image search and no paging parameter.
FAQ
No. RouterGrowth is independent and web.search is its own call, with its own input and response.
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.
No. Domains go in the request, so each call can search a different set of sites.
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
Reading this as an agent? This page as markdown: /tools/web-scraping/google-custom-search-api.md
Connect your agent once. The first calls run on the $1 that comes with signup.