# Web Scraping

> Keywords we look for on websites — what your buyers write, or a competitor's script — and every match becomes a lead.

Every section below does the same job: in the dashboard (Guide), from your code (API) or through an AI assistant (MCP).

## Guide — In the dashboard

Source: /docs/leads/web-scraping

Web Scraping looks for your keywords on websites across the open web, in the page text and in the scripts a site loads. Use a phrase your buyers write about themselves ("ships worldwide") or a domain such as a competitor's tracker. Every company that matches becomes a lead, with its people.

<DemoFrame guide="leads-web-scraping" to="/identify/{workspace}?tab=scraping" />

1. **Leads → Web Scraping → + Add keyword.**
2. **Type the keyword**, pick Exact or Fuzzy, or click a suggestion.
3. **Set the daily limit** (1 credit per lead) and click Done.

### Every control on this screen [#every-control-on-this-screen]

Every button, field and switch, with what it does.

<ScreenControls screens={["leads-scraping", "leads-keywords"]} />


---

## API — From your code

Source: /docs/leads/web-scraping/api

Authenticated with `?privateKey=YOUR_KEY` (see [Authentication](/docs/authentication)).

<Endpoints ops={["GET /v3/web-scraping", "PUT /v3/web-scraping", "POST /v3/web-scraping/keyword-suggestions"]} />

<ApiPlayground
  method="get"
  path="/v3/web-scraping"
  tool="get_web_scraping"
  args={`{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}`}
/>

### Use case: Watch a competitor [#use-case-watch-a-competitor]

`PUT /v3/web-scraping` with `enabled: true` and a keyword like `{ "value": "competitor-tool.com", "matchMode": "exact" }`. Send the whole list: it replaces the keywords.

### Use case: Which keywords work [#use-case-which-keywords-work]

`GET /v3/web-scraping` returns leads per keyword over the last 7 days; pause the silent ones.


---

## MCP — AI agents

Source: /docs/leads/web-scraping/mcp

Connect the [MCP server](/docs/mcp#quickstart), then just ask.

<Tools names={["get_web_scraping", "update_web_scraping", "suggest_web_scraping_keywords"]} />

### Use case [#use-case]

> Find companies that have a competitor's tracker on their site.

<McpToolCall name="update_web_scraping">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9",
  "enabled": true,
  "keywords": [
    {
      "value": "competitor-tool.com",
      "matchMode": "exact"
    }
  ]
}
```

</McpToolCall>

### Use case [#use-case-1]

> Which of my keywords brought leads this week?

<McpToolCall name="get_web_scraping">

```json
{
  "websiteId": "64b7f0a1c2d3e4f5a6b7c8d9"
}
```

</McpToolCall>

