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

Tools / Web search and scraping / API

Ground an agent in sources from the domains you trust

An agent that answers from the web needs sources it can cite and you can trust. web.search takes a query plus include_domains (up to 10) or start_date and end_date, removes results outside them whichever provider answered, and returns title, URL, domain and snippet per result for the model to quote.

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

Ask your agent

Explain how PostgreSQL logical replication handles schema changes, using only postgresql.org, and cite each page you use.

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 October 26, 2026. These are the first rows it returned; fields that name a person are masked.

10records returned
57.4 sto answer
$0.007charged for the run
positiontitleurl
1Documentation: 18: Chapter 29. Logical Replicationhttps://www.postgresql.org/docs/current/logical-replication.html
2Documentation: 18: 26.1. Comparison of Different Solutionshttps://www.postgresql.org/docs/current/different-replication-solutions.html
3Documentation: 18: 29.8. Restrictionshttps://www.postgresql.org/docs/current/logical-replication-restrictions.html

Ten results for logical replication limited to postgresql.org, all from the PostgreSQL 18 docs; the filter removed none because the provider had applied it already.

Step by step

How do you do it?

  1. Give the agent the tool

    Connect RouterGrowth as an MCP server, or call /v1/run from your tool code.

  2. Set the allowed domains

    Pass include_domains for trusted sources, or start_date for recent pages only.

  3. Search, then read

    Run web.scrape on the top URLs so the model quotes the page, not the snippet.

  4. Cite the URL

    Return each claim with the url it came from, so the answer can be checked.

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.

Explain how PostgreSQL logical replication handles schema changes, using only postgresql.org, and cite each page you use.

Find pages on our category published since the first of this month and summarize them with links.

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": "logical replication", "include_domains": ["postgresql.org"], "limit": 6}'
REST
curl -X POST https://api.routergrowth.com/v1/run \
  -H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
  -d '{"capability": "web.search", "input": {"query": "logical replication", "include_domains": ["postgresql.org"], "limit": 6}}'

Worth knowing

What should you know first?

Filters run on the results

include_domains and the dates are applied to what comes back, so an off list result is removed even when a provider ignores the filter. filters in the response counts the removals.

Undated pages stay

With start_date, pages without a date are kept and counted in filters.kept_undated. Drop them when freshness matters.

Snippets are not the page

A snippet is a line or two. Scrape the URL before the model quotes it.

FAQ

Questions about web search api for llm

Does it work with Claude or ChatGPT agents?

Yes. Connect it as an MCP server or call the REST endpoint from a tool; the agent sends the query and the filters.

How many domains can I allow?

Up to 10 in include_domains, and their subdomains count.

Can I exclude a domain?

There is no exclude field. Name the domains you want, or drop results in code.

Is the limit exact?

No. This run asked for six and returned ten, so trim the list before it reaches the model.

More on Web search and scraping

Related pages

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

One key. Every network.

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