   [Home](https://scrapfly.io/)/[Scrapers](https://scrapfly.io/scrapers)/**LinkedIn** 

Job listings · job postings · company pages · articles

# // LinkedIn Scraper API

Get public LinkedIn job listings, company pages and articles as clean JSON. Send a public LinkedIn URL to Scrapfly and read the structured data the page already carries.

- **Clone it and run it.** An open-source LinkedIn scraper for job search, job pages, company pages and articles, tested against live LinkedIn every night.
- **Company data in one request.** Read a public company page's name, headquarters, size, type and industry, plus its description, website and specialties.
 
 [Get free API key](https://scrapfly.io/register) [View GitHub scraper](https://github.com/scrapfly/scrapfly-scrapers/tree/main/linkedin-scraper) [Read the API docs](https://scrapfly.io/docs/scrape-api/getting-started) 

1,000 free credits. No credit card required.

 [  ](https://scrapeway.com/web-scraping-api/scrapfly) [  ](https://www.capterra.com/p/212653/Scrapfly/reviews/)  

 4.8/5 from 248 reviews 

 

 

 

 

 LinkedIn pages · illustration

  

 

 Company JSON**Output**

```
{
  <span class="c-str">"name"</span>: <span class="c-str">"Microsoft"</span>,
  <span class="c-str">"hq"</span>: <span class="c-str">"Redmond, Washington"</span>,
  <span class="c-str">"size"</span>: <span class="c-str">"10,001+ employees"</span>,
  <span class="c-str">"type"</span>: <span class="c-str">"Public Company"</span>,
  <span class="c-str">"industry"</span>: <span class="c-str">"Software Development"</span>
}
```

Printed by the Python request below[See the request ↓](#implementation)

   

  

What you can scrape from LinkedIn

Four kinds of public LinkedIn data you can scrape with Scrapfly, each from a page anyone can open.

 

## // Scrape LinkedIn job search results

Search public job listings by keyword and location. Each job card gives the title, company, location, posted date and the links to the job and the company page. LinkedIn's job search page loads further results from a public endpoint with a `start` offset, so you can page past the first screen of results.

- title
- company
- location
- posted\_date
- job\_url
- company\_url

  

## // Scrape LinkedIn job postings

Every public job page carries a schema.org `JobPosting`: title, hiring company, employment type, industry, location with coordinates, date posted and closing date, plus education and experience requirements and the full description.

- title
- hiringOrganization
- employmentType
- jobLocation
- datePosted
- validThrough

  

## // Scrape LinkedIn company pages

A public company page lists the company's name, description, website, industry, company size, headquarters, type, specialties and street address. Its Life tab adds the company's affiliated pages and the similar pages LinkedIn suggests.

- name
- industry
- company\_size
- headquarters
- specialties
- website

  

## // Scrape LinkedIn articles

Public LinkedIn articles carry their title, author, publish and update dates, like and comment counts, cover image and body text.

- name
- author
- datePublished
- commentCount
- interactionStatistic
- articleBody

  

 

  

Reliability

## // Read the data LinkedIn publishes with each page

Public LinkedIn job, company and article pages carry their core data as schema.org JSON-LD, so your parser reads one script tag instead of chasing layout classes. Scrapfly fetches the page through an IP in the country you choose, and you read the JSON.

 `application/ld+json`

 `JobPosting`, `Organization` and `Article` objects with the field names schema.org documents.

 

 `country=US`

Set the country of the IP each request goes out from. Job search takes its own `location` parameter.

 

 `start=`

Page through job search results from an offset, starting where the previous page ended.

 

 

 

  

Choose your tools

## // Scrapfly products for LinkedIn scraping

Start with the Web Scraping API and residential proxies. Add the job posting extraction model, screenshots or a browser session as your workflow needs them. One API key covers every product.

 

### Web Scraping API for LinkedIn pages

Send a public LinkedIn job search, job, company or article URL through residential proxies in the country you choose and get the page back as HTML.

Parse the JSON-LD and the job cards from it, or point the open-source scraper at the same URLs.

```
GET /scrape?url=https://www.linkedin.com/jobs/search?keywords=Python+Developer%26location=United+States&proxy_pool=residential&country=US
```

 [Explore Web Scraping API →](https://scrapfly.io/products/web-scraping-api)  

### Data Extraction API for LinkedIn jobs

Set `extraction_model` to `job_posting` to turn a public job page into structured JSON, with no parser to write.

Get the job title, company, location, employment type, posted date, requirements and benefits, and the salary range when the posting lists one.

```
GET /scrape?url=https://www.linkedin.com/jobs/view/senior-python-software-developer-onsite-at-raytheon-4492061521&proxy_pool=residential&country=US&extraction_model=job_posting
```

 [Explore Data Extraction API →](https://scrapfly.io/products/extraction-api)  

### Screenshot API for LinkedIn pages

Capture a public company page as an image.

Keep a dated visual record of a company page next to your JSON.

```
GET /screenshot?url=https://www.linkedin.com/company/microsoft&country=us&format=png
```

 [Explore Screenshot API →](https://scrapfly.io/products/screenshot-api)  

### Cloud Browser API for LinkedIn sessions

Connect Playwright or Puppeteer to a hosted Chromium with a residential IP in the country you choose.

Open a public job page and read the rendered page, including its `JobPosting` JSON-LD.

```
chromium.connect_over_cdp("wss://browser.scrapfly.io?key=KEY&proxy_pool=residential&country=us")
```

 [Explore Cloud Browser API →](https://scrapfly.io/products/cloud-browser-api)  

### Open-source LinkedIn scraper on GitHub

Clone the maintained Python scraper for public job search, job pages, company pages and articles.

It runs on the Web Scraping API, returns JSON for each page type, and is tested against live LinkedIn every night.

- scrape\_job\_search
- scrape\_jobs
- scrape\_company
- scrape\_articles

 [View the scraper on GitHub →](https://github.com/scrapfly/scrapfly-scrapers/tree/main/linkedin-scraper)  

 

  

One request

## // Get a company's profile from LinkedIn

The JSON at the top is sample output from November 24, 2026, for Microsoft's public company page: one request through a US residential IP, the name read from the page's JSON-LD and the rest from its About list.

Install `scrapfly-sdk` and `parsel`, then replace the key below. Change the company URL to read any public company page.

**Prefer the full scraper?** The open-source [LinkedIn scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/linkedin-scraper) collects job search results, job pages, company pages and articles, in Python 3.12. It runs against live LinkedIn every night. Clone it, set `SCRAPFLY_KEY`, and point it at your own searches and URLs.

 

 Python · scrapfly-sdkscrape + parse

```
<span class="c-key">import</span> json
<span class="c-key">from</span> scrapfly <span class="c-key">import</span> ScrapeConfig, ScrapflyClient

client = ScrapflyClient(key=<span class="c-str">"YOUR_SCRAPFLY_KEY"</span>)
result = client.scrape(ScrapeConfig(
    <span class="c-str">"https://www.linkedin.com/company/microsoft"</span>,
    proxy_pool=<span class="c-str">"residential"</span>, country=<span class="c-str">"US"</span>,
))
sel = result.selector

<span class="c-com"># The public company page carries schema.org JSON-LD</span>
ld = json.loads(sel.css(
    <span class="c-str">"script[type='application/ld+json']::text"</span>).get())
org = next(n <span class="c-key">for</span> n <span class="c-key">in</span> ld[<span class="c-str">"@graph"</span>]
           <span class="c-key">if</span> n[<span class="c-str">"@type"</span>] == <span class="c-str">"Organization"</span>)

<span class="c-com"># and an "About" list: Industry, Company size, ...</span>
about = {}
<span class="c-key">for</span> row <span class="c-key">in</span> sel.css(<span class="c-str">"div[data-test-id*='about-us']"</span>):
    key = row.css(<span class="c-str">"dt::text"</span>).get().strip()
    value = <span class="c-str">" "</span>.join(row.css(<span class="c-str">"dd ::text"</span>).getall())
    about[key] = <span class="c-str">" "</span>.join(value.split())
<span class="c-key">if</span> <span class="c-key">not</span> about:
    <span class="c-key">raise</span> RuntimeError(<span class="c-str">"No company details found"</span>)

output = {
    <span class="c-str">"name"</span>: org[<span class="c-str">"name"</span>],
    <span class="c-str">"hq"</span>: about.get(<span class="c-str">"Headquarters"</span>),
    <span class="c-str">"size"</span>: about.get(<span class="c-str">"Company size"</span>),
    <span class="c-str">"type"</span>: about.get(<span class="c-str">"Type"</span>),
    <span class="c-str">"industry"</span>: about.get(<span class="c-str">"Industry"</span>),
}
print(json.dumps(output, indent=<span class="c-num">2</span>, ensure_ascii=<span class="c-key">False</span>))
```

 

 

 

  

What the data is used for

## // Common LinkedIn scraping use cases

### Job market analysis

Track which roles are open, where, and how fast new postings appear for the skills you follow.

 

### Hiring signals

See which companies are hiring for which teams, a lead signal for sales and investment research.

 

### Salary research

Collect the pay ranges that postings publish and compare them by role, level and location.

 

### Company enrichment

Add industry, size, headquarters and website from public company pages to your account records.

 

### Competitor monitoring

Watch a competitor's open roles and company page for changes in focus or growth.

 

### Content research

Follow public articles on a topic, with their dates and engagement counts.

 

 

 

  

Common questions

## // LinkedIn scraping FAQ

 Is scraping LinkedIn legal?

There is no universal answer. Legality depends on your jurisdiction, the data, the access method and how you use the result. Keep the workflow to public pages, review LinkedIn's User Agreement, and get legal advice before commercial use. Where the data includes personal information, privacy laws such as the GDPR and CCPA apply.

 Which LinkedIn pages can I scrape with Scrapfly?

Public pages that load without signing in: job search results, job postings, company pages and articles. Content that requires a LinkedIn account, such as messages, connections or member search, is out of scope.

 How do I get more than the first page of job results?

LinkedIn's job search page loads more results from its public `jobs-guest` endpoint with a `start` offset. Request it with the same keywords and location, starting where the previous page ended, as the open-source scraper does.

 Can I get salary data from LinkedIn jobs?

When a posting lists a pay range, the `job_posting` extraction model returns it in a `salary` field, with the original text and the currency. Postings without a published range return no salary.

 Can I scrape LinkedIn from another country?

Yes. Set `country` to choose where the request's IP is located. For job search, the `location` parameter in the search URL decides which jobs LinkedIn lists.

 How much does scraping LinkedIn cost?

A LinkedIn page costs 26 credits on datacenter proxies and 50 on residential proxies, which includes a 25-credit surcharge for linkedin.com. The job posting extraction model adds 5 credits. The free plan includes 1,000 credits a month.

 What are the rate limits when scraping LinkedIn?

Scrapfly sets no LinkedIn-specific limit. Your maximum parallelism is the concurrency quota on your plan, or a lower cap configured for the project. Each in-flight request uses one slot until it finishes.

 

 

  

Start with one request

## Send the URL. Read the JSON.

Web Scraping API with residential proxies, one call per public LinkedIn page.

Proxies across 75+ countries

[LinkedIn scraper on GitHub](https://github.com/scrapfly/scrapfly-scrapers/tree/main/linkedin-scraper)[How to scrape LinkedIn](https://scrapfly.io/blog/posts/how-to-scrape-linkedin)[All scraper pages](https://scrapfly.io/scrapers)

 

[Get free API key](https://scrapfly.io/register)[Read the docs](https://scrapfly.io/docs/scrape-api/getting-started)