---
name: brightdata-pitchbook
description: Look up companies on PitchBook via Bright Data's pay-as-you-go Web Scraper API — pull a company's profile, founding date, HQ, headcount, industries, funding rounds, investors, valuation, and key people. Trigger whenever the user says "look up <company> on PitchBook", "get PitchBook data for <startup>", "who invested in <company>", "what's <company>'s valuation", "find PitchBook profile for <company>", "how much funding has <company> raised", "research <startup> on PitchBook", or otherwise asks for PitchBook-sourced company, funding, investor, or startup data. When the user only gives a company name (not a URL), this skill automatically searches the web to resolve the PitchBook URL first, then scrapes the profile. Use this instead of web search whenever the user wants structured PitchBook data — even if they don't explicitly say "Bright Data".
title: brightdata-pitchbook
canonical_url: https://skilld.dev/gh/samsam32118/demandengine2/brightdata-pitchbook
last_updated: 2026-09-22T08:45:36.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [references/curls.md](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/references/curls.md), [references/LIMITS.md](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/references/LIMITS.md), [scripts/client.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/scripts/client.py), [scripts/get_snapshot.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/scripts/get_snapshot.py), [scripts/list_snapshots.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/scripts/list_snapshots.py), [scripts/lookup_company.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-pitchbook/scripts/lookup_company.py).
>
> If the user asked to install this Skill, run `npx skilld install samsam32118/demandengine2/brightdata-pitchbook`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/brightdata-pitchbook`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/samsam32118/demandengine2/brightdata-pitchbook) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/brightdata-pitchbook`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/brightdata-pitchbook --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/brightdata-pitchbook --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# brightdata-pitchbook

Thin wrapper around Bright Data's **PitchBook Web Scraper API** (pay-as-you-go,
no minimum spend). Scripts handle the web-search URL-resolution step and the
Bright Data scrape call so callers stay task-oriented.

## Prerequisites

`BRIGHTDATA_API_TOKEN` must be set on a Bright Data account with the
**PitchBook Web Scraper API** (`gd_m4ijiqfp2n9oe3oluj`) enabled. Scripts exit
with a clear error if the token is missing.

## Two-step workflow

PitchBook profiles live at structured URLs like:

```
https://pitchbook.com/profiles/company/467033-41
```

If the user gives only a company name, resolve the URL first using the
**brightdata-serp** skill before calling the scraper:

```
python3 .claude/skills/brightdata-serp/scripts/search.py "<company name> pitchbook" --format parsed
```

Look for a result on `pitchbook.com/profiles/company/…` and extract the URL.
Then pass it to `lookup_company.py`.

## Billing model — read this before running anything

This skill calls Bright Data's PitchBook Web Scraper API. Each **returned**
record is billed per-record on the pay-as-you-go plan (~$0.001–$0.0015 per
record, **no minimum spend**).

- **Lookups** (`lookup_company.py`) bill for one record per input URL.
  Cheap and predictable — always prefer this path.
- Re-downloading via `get_snapshot.py` is **free** within the 16-day
  retention window. Don't re-trigger for the same data inside that window.
- `list_snapshots.py` and `--status-only` on `get_snapshot.py` are free
  (metadata-only, no scraping).

## Tasks

Run from the `scripts/` directory; each prints one JSON object to stdout.

- **Look up a company by PitchBook URL** — `python scripts/lookup_company.py --url https://pitchbook.com/profiles/company/<id> [--url ...]`
  Uses the synchronous `/scrape` endpoint; returns data directly (no polling).
  One billable record per URL.

- **Re-download an existing snapshot** — `python scripts/get_snapshot.py --snapshot-id s_xxx [--status-only]`
  Free within the 16-day retention window. Use this instead of re-triggering.

- **List recent snapshots** — `python scripts/list_snapshots.py [--status ready] [--limit 20]`
  Free. Handy if the user lost a snapshot id.

## Guidance

- **Resolve the PitchBook URL first.** If the user gives a display name
  ("that sneaker startup"), run `search.py "<company name> pitchbook"
  --format parsed` (brightdata-serp) and find the
  `pitchbook.com/profiles/company/<id>` URL in the results. Don't guess —
  a wrong URL wastes a billable record. One paid SERP call is cheap next to
  wasting a PitchBook scrape on a wrong URL.
- **The scrape endpoint is synchronous.** `lookup_company.py` uses
  `/datasets/v3/scrape?notify=false` which blocks until the data is ready.
  No polling loop needed for normal lookups (typically completes in
  15–60 seconds).
- **Prefer cached data.** Before triggering, ask whether the user already
  has a snapshot_id from a recent run — `get_snapshot.py` is free within
  16 days of the original trigger.
- **Don't dump raw JSON.** See the output contract below.

## Output contract

For a single company, summarise the profile in 4–8 bullets:
- Company name (+ legal name if different)
- Description (one sentence)
- HQ city, country
- Founded date
- Industries / verticals (top 3)
- Headcount range
- Total funding raised + last round type/date/amount
- Valuation (if available)
- Key people (CEO, founders) if present
- Website / PitchBook URL

Always include the `snapshot_id` (if one was returned) at the end so the
user can re-fetch for free. **Never dump the full JSON unless the user
explicitly asks for "raw data".**

## References

- `references/curls.md` — verified curl examples for every endpoint
- `references/LIMITS.md` — billing, retention, auth, and failure modes

## Smoke test

No live smoke test (avoids accidental billing). Verify setup by running:

```bash
python -c "import os; tok=os.environ.get('BRIGHTDATA_API_TOKEN'); print('token set' if tok else 'ERROR: BRIGHTDATA_API_TOKEN not set')"
```
