---
name: brightdata-linkedin
description: Look up and discover LinkedIn people, companies, jobs, and posts via Bright Data's pay-as-you-go Web Scraper API — pull a person's full profile (experience, education, skills), a company's profile (HQ, headcount, industries, employees), a job posting, or a post's engagement and metadata; or discover profiles by name, jobs by keyword/location, and posts by author URL. Trigger whenever the user says "look up <person> on LinkedIn", "get LinkedIn data for <company>", "scrape the LinkedIn profile of <name>", "find LinkedIn jobs for <role>", "pull the LinkedIn company page for <company>", or otherwise asks for structured LinkedIn data. This is the sole LinkedIn data provider for Rivas Will — self-contained; the calling agent tracks the shared Bright Data daily cap.
title: brightdata-linkedin
canonical_url: https://skilld.dev/gh/samsam32118/demandengine2/brightdata-linkedin
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-linkedin/references/curls.md), [references/fields.md](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/references/fields.md), [references/LIMITS.md](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/references/LIMITS.md), [scripts/client.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/client.py), [scripts/describe_fields.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/describe_fields.py), [scripts/discover_jobs.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/discover_jobs.py), [scripts/discover_people.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/discover_people.py), [scripts/discover_posts.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/discover_posts.py), [scripts/get_snapshot.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/get_snapshot.py), [scripts/list_snapshots.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/list_snapshots.py), [scripts/lookup_companies.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/lookup_companies.py), [scripts/lookup_jobs.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/lookup_jobs.py), [scripts/lookup_people.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/lookup_people.py), [scripts/lookup_posts.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/lookup_posts.py), [scripts/smoke_test.py](https://skilld.dev/api/skills-raw/samsam32118/demandengine2/brightdata-linkedin/scripts/smoke_test.py).
>
> If the user asked to install this Skill, run `npx skilld install samsam32118/demandengine2/brightdata-linkedin`. 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-linkedin`, 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-linkedin) 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-linkedin`. 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-linkedin --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/brightdata-linkedin --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-linkedin

Thin wrapper around Bright Data's **LinkedIn Web Scraper APIs** (pay-as-you-go,
no minimum spend). Covers four datasets:

| Dataset | Dataset ID | What it returns |
|---|---|---|
| People profile | `gd_l1viktl72bvl7bjuj0` | A person's full profile (about, experience, education, skills, activity, current position) |
| Company info | `gd_l1vikfnt1wgvvqz95w` | A company page (HQ, founded, headcount, industries, recent updates, employee samples) |
| Jobs | `gd_lpfll7v5hcqtkxl6l` | Individual LinkedIn job postings (title, company, salary, seniority, description) |
| Posts | `gd_lyy3tktm25m4avu764` | Posts / articles with author, engagement, reactions, comments |

Scripts hide the trigger → poll → download loop so callers stay task-oriented.

## Prerequisites

`BRIGHTDATA_API_TOKEN` must be set on a Bright Data account with the **LinkedIn
Web Scraper APIs** enabled. Scripts exit with a clear error if the token is
missing.

## The only LinkedIn provider

This is the **sole** LinkedIn data source for Rivas Will. Any time a
beat needs structured LinkedIn data — a person's profile, a company
page, a job posting, a post's engagement — it comes from here.

This skill is **self-contained**: call its scripts directly. It shares the
**BrightData** token with `brightdata-crunchbase` and `brightdata-pitchbook`,
so a LinkedIn lookup and a Crunchbase lookup draw from the same 100/day pool.
The calling agent tracks that shared daily count.

## Billing model — read this before running anything

Bright Data's LinkedIn Web Scraper API bills **per returned record** on the
pay-as-you-go plan (~$0.001–$0.0015 per record, no minimum spend).

- **Lookups** (`lookup_*.py`) bill for one record per input URL. Predictable
  and cheap — always prefer this when the user knows the person/company/
  job/post URL.
- **Discoveries** (`discover_*.py`) bill for every row returned. A broad
  discovery (e.g. jobs by keyword "software engineer" in the US) can return
  thousands of rows fast, so `--limit-per-input` is required.
- **Snapshot retention is 16 days.** Re-downloading via `get_snapshot.py` is
  free. Don't re-trigger for the same data inside that window.
- `describe_fields.py`, `list_snapshots.py`, and `--status-only` on
  `get_snapshot.py` are free (metadata-only, no scraping).

## Tasks

Run from this skill directory; each prints one JSON object to stdout.

### People profiles

- **Look up people by profile URL** — `python scripts/lookup_people.py --url https://www.linkedin.com/in/<handle> [--url ...] [--fields name,headline,experience] [--no-wait]`
  Start here. One billable record per URL.

- **Discover people by name** — `python scripts/discover_people.py --name "First Last" [--name ...] [--no-wait]`
  Discover-new mode. One billable record per returned match (usually 1–5 per
  name). Ambiguous names (`John Smith`) can return noisy results — confirm
  the right profile before pivoting to `lookup_people.py`.

### Companies

- **Look up companies by LinkedIn URL** — `python scripts/lookup_companies.py --url https://www.linkedin.com/company/<slug> [--url ...] [--fields ...] [--no-wait]`
  One billable record per URL. Accepts `linkedin.com/company/<slug>` and the
  `il.linkedin.com` / `organization-guest/company/` variants.

### Jobs

- **Look up a job by posting URL** — `python scripts/lookup_jobs.py --url https://www.linkedin.com/jobs/view/<id> [--url ...] [--no-wait]`
  One billable record per URL. Use when you already have a posting URL.

- **Discover jobs by keyword + location** — `python scripts/discover_jobs.py --keyword "VP Corporate Development" --location "New York" [--country US] [--remote Remote] [--job-type Full-time] [--experience-level "Mid-Senior level"] [--company "Acme"] --limit-per-input 25 [--no-wait]`
  `--limit-per-input` is required. Start small (25) — a broad combo can
  return hundreds of rows.

### Posts

- **Look up posts by URL** — `python scripts/lookup_posts.py --url https://www.linkedin.com/posts/<slug> [--url ...] [--no-wait]`
  One billable record per URL. Handles `/posts/`, `/pulse/`, and
  `/feed/update/` URLs.

- **Discover posts by author** — `python scripts/discover_posts.py --profile-url https://www.linkedin.com/in/<handle> [--profile-url ...] [--no-wait]` **or** `--company-url https://www.linkedin.com/company/<slug>`
  Pulls recent posts by a person or a company page. One billable record per
  returned post — pass `--limit-per-input` to cap it.

### Shared helpers (all datasets)

- **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 [--kind people|company|jobs|posts] [--status ready] [--limit 20]`
  Free. Handy if the user lost a snapshot id.

- **Describe the field schema** — `python scripts/describe_fields.py --kind people|company|jobs|posts [--names-only] [--active-only]`
  Free. Authoritative source for what columns the scraper can return — each
  dataset has its own schema.

## Guidance

- **Resolve the canonical URL first.** The lookup scripts expect a real
  LinkedIn URL. For people: `https://www.linkedin.com/in/<handle>`. For
  companies: `https://www.linkedin.com/company/<slug>`. If the user gives
  a display name, resolve the URL via the brightdata-serp skill
  (`search.py 'site:linkedin.com/in/ "<name>"' --format parsed`, one paid
  SERP call) before calling the scraper — cheap compared to wasting a full
  profile scrape on a wrong URL.
- **Cap discoveries.** If the user says "find me VP Corp Dev roles" without
  a number, default to `--limit-per-input 25` and tell them you capped it
  so they don't get surprised on their next Bright Data invoice. Increase
  only on explicit request.
- **Default to the full record.** Every `lookup_*.py` and `discover_*.py`
  script already returns the complete dataset row when `--fields` is
  omitted — leave it omitted. Trimming saves nothing on the bill
  (billing is per-record, not per-field) and routinely strips out
  signals the caller didn't know they wanted (experience history,
  recent activity, employee samples, post engagement metadata). Only
  pass `--fields` when the user explicitly asks for a trimmed payload
  or context-window pressure forces it (e.g.
  `--fields name,headline,current_company`).
- **For long jobs, use `--no-wait`.** Record the `snapshot_id` in your
  response so the user can fetch later via `get_snapshot.py`. Large
  discoveries can take 10+ minutes.
- **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 **person**, summarise the profile in 4–8 bullets:
- Full name (+ current headline)
- Current role and company
- Location
- Notable prior experience (top 2–3)
- Education (top entry)
- Top skills (3–5) if the user asked
- Profile URL

For a **company**, summarise in 4–8 bullets:
- Name (+ legal name if different)
- One-sentence description
- HQ city, country
- Founded
- Industries (top 3)
- Headcount range
- Website + LinkedIn URL

For **jobs**, use a compact table or bulleted list per posting (title,
company, location, seniority, posting URL, maybe salary if present) —
capped at the top 5–10 when discovering.

For **posts**, summarise each post with author, posting date, a one-line
excerpt, reaction/comment counts, and the post URL.

Always include the `snapshot_id` 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/fields.md` — grouped field list per dataset (convenience; not authoritative)
- `references/LIMITS.md` — billing, retention, auth, and failure modes

## Smoke test

```bash
python scripts/smoke_test.py
```

Free, metadata-only. Asserts the dataset metadata call works for all four
LinkedIn datasets (people, company, jobs, posts). Prints `SKIP:
BRIGHTDATA_API_TOKEN not set` if the token is missing, so unauthenticated
CI doesn't fail.
