Receber por email
← Voltar para o catálogo

linkedin-scraper

Get LinkedIn profiles, company pages, and posts

744estrelas
Atualizado há 4 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add gooseworks-ai/goose-skills

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/linkedin-scraper/svg)](https://www.skillteca.com.br/skills/linkedin-scraper)

Skills relacionadas

Ver todas de Pesquisa e Web →

Alerta por categoria

Receba novas skills de Pesquisa e Web toda segunda

1 email curto, só com as skills novas de Pesquisa e Web. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

LinkedIn Scraper

Setup

Read your credentials from ~/.gooseworks/credentials.json:

export GOOSEWORKS_API_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json'))['api_key'])")
export GOOSEWORKS_API_BASE=$(python3 -c "import json;print(json.load(open('$HOME/.gooseworks/credentials.json')).get('api_base','https://api.gooseworks.ai'))")

If ~/.gooseworks/credentials.json does not exist, tell the user to run: npx gooseworks login

All endpoints use Bearer auth: -H "Authorization: Bearer $GOOSEWORKS_API_KEY"

Scrape public LinkedIn data including profiles, company pages, and posts.

When to Use

  • User asks about someone's LinkedIn profile
  • User wants company information from LinkedIn
  • Research on a professional or company

How It Works

Uses the Scrape Creators API via Orthogonal to scrape LinkedIn data.

Note: Scrape Creators LinkedIn endpoints use full LinkedIn URLs as the query parameter (not usernames).

Usage

Get User Profile

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/profile","query":{"url":"https://linkedin.com/in/satyanadella"}}'

<details> <summary>curl equivalent</summary>

curl -X POST "https://api.orth.sh/v1/run" \

  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/profile","query":{"url":"https://linkedin.com/in/satyanadella"}}'

</details>

Get Company Page

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/company","query":{"url":"https://linkedin.com/company/anthropic"}}'

Get Specific Post

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/post","query":{"url":"https://linkedin.com/posts/somepost"}}'

Parameters

User Profile

  • url (required) - LinkedIn profile URL (e.g., https://linkedin.com/in/username)

Company Page

  • url (required) - LinkedIn company page URL (e.g., https://linkedin.com/company/name)

Post

  • url (required) - LinkedIn post URL

Response

User Profile includes:

  • Name, headline, location
  • Current position
  • Education history
  • Skills
  • Connection count
  • Profile URL

Company Page includes:

  • Company name and description
  • Industry and size
  • Headquarters location
  • Founded date
  • Employee count
  • Specialties

Examples

User: "Look up Satya Nadella on LinkedIn"

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/profile","query":{"url":"https://linkedin.com/in/satyanadella"}}'

User: "Tell me about Anthropic's LinkedIn page"

curl -s -X POST $GOOSEWORKS_API_BASE/v1/proxy/orthogonal/run \
  -H "Authorization: Bearer $GOOSEWORKS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"api":"scrapecreators","path":"/v1/linkedin/company","query":{"url":"https://linkedin.com/company/anthropic"}}'

Error Handling

  • success: false — the API may temporarily fail to access LinkedIn; retry after a few seconds
  • Private/restricted profiles return limited or no data
  • Rate limiting may apply — add short delays between sequential requests

Tips

  • Use full LinkedIn URLs (e.g., https://linkedin.com/in/USERNAME)
  • For companies, use the full company page URL
  • Some profiles may have restricted visibility
Compartilhar X LinkedIn