Skip to content
Data
Skill

/scrape

Use when the user wants to scrape or extract structured data from any site: profiles, posts, products, reviews, prices, followers, job or property listings. Also for building a scraper, crawling a site for data, discovery by keyword or category, asks that say "data fields" or

From plugin
skills
27211 skills

Claude Code

$ npx -y skills add brightdata/skills --skill scrape --agent claude-code

SKILL.md

scrape.SKILL.md
name: scrape
description: 'Use when the user wants to scrape or extract structured data from any site: profiles, posts, products, reviews, prices, followers, job or property listings. Also for building a scraper, crawling a site for data, discovery by keyword or category, asks that say "data fields" or "recurring", or that name a dataset_id, snapshot_id, Web Scraper API, or Scraper Studio. Not the page itself (use fetch), not a search query (use search), not cost or credits (use billing).'

Bright Data - Scrape

Run the gates below to pick the product yourself - never ask the user which. State the pick in one line, and one word from the user overrides it.

The gates - run in order, first yes wins

| Check | If yes | |---|---| | **The marketplace check - already collected.** All three at once: a huge generic corpus, needed once, and a few months old is fine. Anything less falls through to gate 1. | The `datasets` skill. Buying the download is not scraping, so it has its own skill. | | **Gate 1 - library.** A ready scraper already returns these fields. Scrapers come first. Popular platforms resolve from the bundled top-25 table with zero API calls, and only an unlisted site goes to the live catalogue. The input is not always a URL - variants take usernames, hashtags, keywords, locations and more. | **Web Scraper API.** | | **Gate 2 - build it.** No ready scraper covers these fields, and any one of these: many pages share one layout, the job will run again, or the data only appears after browser actions (typing, scrolling, waiting, CAPTCHA) and the user has no Playwright, Puppeteer or Selenium setup. | **Scraper Studio.** | | **Fall-through.** One-time job, no ready scraper, and the pages share no layout. | Back to `fetch` (Web Unlocker), and the user owns the parser. |

Many pages means many URLs. One page holding many items is still one page, and with no ready scraper and no recurrence it falls through to fetch, which is a normal outcome, not a failure.

**Gate 1 in practice.** Open [references/web-scraper-api.md](references/web-scraper-api.md) and check its bundled top-25 table first, which costs zero API calls. When nothing matches, run `node scripts/find-scraper.mjs <query>` with a `gd_` id, a domain, or part of a scraper name - free reads of the scrapers catalogue (`GET /datasets/v3/scrapers`, filters `?dataset_id=` and `?domain=`), junk rows skipped. An id prints every variant's typed inputs, output fields (first 8, all with `--json`) and trigger line on its own, `--sample` adds the sample input, a name or domain needs `--schema` for the same, and `--variant <door>` narrows it to one door. Manual fallbacks for the same lookup: `bdata pipelines search "<site or data type>"`, or `curl -H "Authorization: Bearer $BRIGHTDATA_API_KEY" "https://api.brightdata.com/datasets/v3/scrapers?domain=<site>"`. All are free reads that trigger no job. An id the user or a colleague handed over gets the same treatment - resolve it with the script before triggering, because a handed id can be a marketplace row, stale, or the wrong variant. With the CLI, any scraper in the catalogue runs by id: `bdata pipelines run <dataset_id> <method> "<url>"`. An id the CLI rejects as unknown runs only through REST or `scripts/trigger.mjs`. Without the CLI, `node scripts/trigger.mjs <dataset_id> "<url>"` starts the job and `node scripts/poll.mjs <snapshot_id>` brings back the records. One URL can return many records (a profile's posts, a product's reviews), each one billed. `--limit <n>` is sent as `limit_per_input`, documented for discovery requests, so check the record count of the first run. Run the check and pick the scraper yourself, rather than asking the user which one to use. A single URL is not a reason to skip it. Web Scraper API has no built-in scheduler, so "daily" means the agent writes a cron job or a GitHub Actions workflow in the user's project.

**When the user has no URLs.** Many ready scrapers take a discovery input instead: a keyword, a category URL, a best-sellers URL, a location. Read the scraper's catalogue entry, its `input_schema` and discovery doors, before assuming it needs a URL; metadata lists outputs only. Sites with no ready scraper go to Scraper Studio, which covers single-page, search-discovery and multi-page patterns.

**Gate 2 in practice.** Scraper Studio has a built-in scheduler (hourly, daily, weekly, or custom). It heals itself when the site changes, and a heal can wait for the user's approval (`scraper heal` and `scraper approve` in the CLI). It also handles multi-page crawl jobs, and it does the browser work for you. For an urgent ask on a collector that already exists, `bdata scraper run <collector_id> <url> --sync` returns data in one call, single URL only, server-side cap of 25 to 50 seconds. If it times out it prints a `response_id`: poll `GET /dca/get_result?response_id=` with it rather than re-running, which starts a second run. For many URLs at once drop `--sync`: `--urls a,b,c` or `--input-file urls.txt` sends one batch through `/dca/trigger` and polls until the records land.

The boundaries

Instagram profiles, posts, reels and comments belong to the `instagram` skill, which carries their dataset ids and quirks. Pages themselves belong to `fetch`: markdown, HTML, a screenshot, "for my RAG", or an explicit hurry word ("now", "quick", "ASAP") on a one-off pull. A single URL is not a hurry word, and a live chat is not a hurry word. Anything starting from a search query belongs to `search`. A user who already drives a browser with Playwright, Puppeteer, Selenium or a computer-use model belongs to the `browser` skill. A user with no such setup stays here, and Studio does the browser work.

The two override words

  • **fields** (or "records") - forces structured data fields. Run gate 1, then gate 2.
  • **recurring** - puts the job on a schedule. It does not skip the gates. With a ready scraper the product stays Web Scraper API and the agent writes the cron. Wi
Read more
@brightdata
Ships withskills

Stars on GitHub

Momentum

stars in total
272
Star history of brightdata/skills on GitHub, a chart by star-history.com

Other skills on skills.

agent-onboarding

agent-onboarding

The entry point to all Bright Data skills - start here, and it guides the agent to the right skill for the task at hand - web…

@brightdata@brightdataInstall Skill
billing

billing

Use when the question is about money on a Bright Data account: current balance, credit left, what was charged, spend or cost…

@brightdata@brightdataInstall Skill
brightdata-cli

brightdata-cli

Runs Bright Data jobs from a terminal with the bdata CLI, the published npm package @brightdata/cli. Use when the agent itself…

@brightdata@brightdataInstall Skill
brightdata-mcp

brightdata-mcp

Bright Data's MCP server, the tool layer that gives an LLM agent live web access with no shell. Use when wiring Bright Data tools…

@brightdata@brightdataInstall Skill
brightdata-sdk

brightdata-sdk

Bright Data's Python and Node.js SDKs for calling Web Scraper API, SERP, Web Unlocker and Scraper Studio from application code.…

@brightdata@brightdataInstall Skill
browser

browser

Use when the user already has browser automation and wants it unblocked or run in the cloud: Playwright, Puppeteer, Selenium or…

@brightdata@brightdataInstall Skill

More skills from other plugins.

paddleocr-doc-parsing

paddleocr-doc-parsing

Use this skill to extract structured Markdown/JSON from PDFs and document images—tables with cell-level precision, formulas as…

paddleocr2mo93k
@paddlepaddle@paddlepaddleInstall Skill
context-loader
Auto-invoked

context-loader

Search memories from earlier Pi sessions in this repository. Use it when earlier work may already explain the code, error,…

mem013d69k
@mem0ai@mem0aiInstall Skill
analyzing-ai-citations

analyzing-ai-citations

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT, Claude, and an…

posthog2w41k
@posthog@posthogInstall Skill

Questions about scrape.

Which coding agents can use scrape?
scrape installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.