Tools / Web search and scraping / How to
Give web.extract a page URL and a template (press release, leadership page, official bio, org chart or job posting) and get structured records back. Each record carries the sentence on the page that supports it, the page date and the source URL, so a person or an agent can check any value against the page.
Ask your agent
Read this press release and tell me who the deal is with, quoting the sentence that says so.
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.extract (page to records), run through RouterGrowth on November 2, 2026. These are the first rows it returned; fields that name a person are masked.
| event_type | name | title | organization | counterparty |
|---|---|---|---|---|
| contract | Cloudflare | N/A | Cloudflare, Inc. | Replicate |
| mention | Ma*** | co-founder and CEO | Cloudflare | |
| mention | Be*** | co-founder and CEO | Replicate |
Press release template on a Cloudflare acquisition announcement: three records with the supporting sentence and page date 2025-11-17; the acquisition is labelled contract, and event_date came back empty.
Step by step
Pick the template closest to the page: press_release, leadership_page, official_bio, org_chart or job_posting. The template decides the record shape.
Call web.extract with url and template. Add prompt if the page needs extra guidance, such as which section matters.
Read evidence_text on each record. It is the sentence the value came from, quoted from the page.
Some fields come back blank or as N/A when the page does not state them. Treat both as unknown.
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.
Read this press release and tell me who the deal is with, quoting the sentence that says so.
Find the latest funding announcement from this company, then extract the parties and the date from it.
Extract the leadership page of each company in this list and put the titles in a table.
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.extract -i '{"url": "https://www.cloudflare.com/press/press-releases/2025/cloudflare-to-acquire-replicate-to-build-the-most-seamless-ai-cloud-for-developers/", "template": "press_release"}'curl -X POST https://api.routergrowth.com/v1/run \
-H "Authorization: Bearer $ROUTERGROWTH_API_KEY" \
-d '{"capability": "web.extract", "input": {"url": "https://www.cloudflare.com/press/press-releases/2025/cloudflare-to-acquire-replicate-to-build-the-most-seamless-ai-cloud-for-developers/", "template": "press_release"}}'Worth knowing
evidence_text holds the sentence behind the record and source_url the page, so a wrong read is quick to spot.
event_type is the template's closest fit, not the page's word. In the example an acquisition reads as contract, so check the sentence before you rely on the label.
It does not crawl a site or follow links. To cover a section, list the URLs and run one call for each.
FAQ
No. You send a URL and a template or a JSON schema; there are no CSS selectors or XPath to keep up.
Yes. Pass schema instead of template, with the list under a records array.
A no match is not billed. The call is priced per page, and the price shows on this page.
In the example run the response held the page as markdown next to the records. For the page alone, web.scrape is the call.
Records key on the person or posting, so a watch on the same page reports who joined, left or changed title.
More on Web search and scraping
Reading this as an agent? This page as markdown: /tools/web-scraping/extract-data-from-website.md
Connect your agent once. The first calls run on the $1 that comes with signup.