# Web Scraping keywords from your code (/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.
