# LinkedIn News Annual Rankings Extractor (`xyrelith-data/linkedin-annual-rankings-scraper`) Actor

Extract structured rows from LinkedIn News annual rankings - Top Companies, Top Startups, Top MBA and Top Colleges - with rank, LinkedIn page URL and slug, industry, locations, skills, job titles, headcount, funding and article metadata across country, metro and language editions.

- **URL**: https://apify.com/xyrelith-data/linkedin-annual-rankings-scraper.md
- **Developed by:** [Xyrelith Data](https://apify.com/xyrelith-data) (community)
- **Categories:** Jobs, Lead generation, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## LinkedIn News Annual Rankings Extractor

Turn LinkedIn News' annual ranking articles into clean, analysis-ready rows. Paste a **Top Companies**, **Top Startups**, **Top MBA** or **Top Colleges** article URL — or let the actor discover the lists itself — and get one row per ranked company, startup or school with its rank, LinkedIn page, industry, location and the list's own skills, job titles and hiring highlights. Works across the U.S., U.K., Canada, India, Australia, Germany, France, Italy, Spain, Brazil, the Netherlands, Singapore, Israel and Europe, plus city editions (including U.S., Indian, French, Spanish, Brazilian and German metros) and German, French, Italian, Spanish and Portuguese MBA editions. No login, cookies or API key.

### What this actor does

- **Four list families:** Top Companies, Top Startups, Top MBA Programs and Top Colleges.
- **Three modes:** parse your article URLs, discover lists across editions and cross-links, or catalog every available list.
- **Country, metro and language editions:** 13 countries/regions, city editions across the U.S., India, France, Spain, Brazil and Germany, and 7 languages.
- **Rich ranking rows:** rank, entity name, LinkedIn company/school page and slug, industry, location/HQ, description and every published highlight.
- **List highlights normalized:** top locations, skills, job titles, job functions, headcount, founded year, CEO, funding, hybrid/remote share, school type, enrollment and more.
- **Original labels preserved** in a `highlights` array, so translated editions stay traceable.
- **Empty fields are omitted** — no nulls, no placeholders.
- **Dated coverage:** structured articles from 2024 through 2026.

### Output per ranking entry

- `listName` — the article's own list title
- `listFamily` — `topCompanies`, `topStartups`, `topMba` or `topColleges`
- `year` — ranking year
- `edition` — country, metro, `Global` or `Europe`
- `editionType` — `country`, `metro`, `region` or `global`
- `countryCode` — ISO-style code (`US`, `GB`, `DE`, …) where the edition has one
- `language` — `en`, `de`, `fr`, `it`, `es`, `pt` or `nl`
- `listVariant` — `general`, `large`, `midsize`, `metro`, `startups`, `mbaPrograms` or `colleges`
- `rank` — position in the list (sequential when an article restarts ranks across sections)
- `rankPublished` — the article's own rank when it differs from `rank`
- `entityName` — company, startup or school name as ranked
- `entityType` — `company` or `school`
- `linkedinName` — name shown on the LinkedIn page, when different
- `linkedinUrl`, `linkedinSlug` — LinkedIn company/school page and slug
- `industry` — LinkedIn industry, when shown
- `location` — city/region shown on the entity card
- `headquarters` — published HQ (or the entity-card location for company lists)
- `description` — short editorial description
- `topLocations` — list's top locations/regions
- `notableSkills[]`, `commonJobTitles[]`, `largestJobFunctions[]`
- `topIndustries[]` — for Top Colleges
- `hybridRemoteShare`, `hybridRemoteSharePercent`
- `headcount`, `headcountNumber`
- `yearFounded`, `ceo`, `totalFunding`, `foundingPartners`
- `schoolType`, `undergraduateEnrollment`, `undergraduateEnrollmentNumber`, `tuition`
- `educationLevel`, `alternativeMbaPrograms` — when the source publishes them
- `editorialInsight` — the list's "what you should know" / "where they stand out" paragraph
- `highlights[]` — every published label-value pair (`label`, `value`)
- `articleUrl`, `articleTitle`, `publishDate`, `author`, `listSize`
- `sourceUrl`, `recordType: "rankingEntry"`, `scrapedAt`

### Output per list (mode = `catalog`)

- `listName`, `listFamily`, `year`, `edition`, `editionType`, `countryCode`, `language`, `listVariant`
- `articleUrl`, `articleTitle`, `publishDate`, `author`
- `listSize`, `rankCount`
- `sourceUrl`, `recordType: "rankingList"`, `scrapedAt`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `byUrls` | `byUrls` parses exact articles, `discover` crawls seeds and cross-links, `catalog` lists articles only |
| `articleUrls` | array | – | Ranking article URLs (mode=byUrls) |
| `seedUrls` | array | `[]` | Optional discovery starts; empty uses the built-in seed registry |
| `listFamilies` | array | `[]` = all | `topCompanies`, `topStartups`, `topMba`, `topColleges` |
| `years` | array | `[]` = all | `2024`, `2025`, `2026` |
| `countries` | array | `[]` = all | `US`, `GB`, `CA`, `IN`, `AU`, `DE`, `FR`, `IT`, `ES`, `BR`, `NL`, `SG`, `IL`, `EU` |
| `metroAreas` | array | `[]` = all | City edition keys such as `newYorkCity`, `boston`, `hyderabad`, `paris`, `madrid`, `curitiba`, `munich` |
| `maxArticles` | integer | `50` | Fetch cap for any mode (1–200) |
| `maxItems` | integer | `500` | Row cap (1–20,000) |

### Examples

#### Example: one Top Companies article

```json
{
  "mode": "byUrls",
  "articleUrls": [
    "https://www.linkedin.com/pulse/linkedin-top-companies-2026-50-best-large-employers-grow-zupfe"
  ],
  "maxItems": 50
}
```

#### Example: every 2026 Top Startups city list

```json
{
  "mode": "discover",
  "listFamilies": ["topStartups"],
  "years": ["2026"],
  "metroAreas": [
    "austin",
    "boston",
    "chicago",
    "dallas",
    "denver",
    "losAngeles",
    "newYorkCity",
    "sanFrancisco",
    "seattle",
    "washingtonDc"
  ],
  "maxItems": 200
}
```

#### Example: Top MBA in German, Spanish and French

```json
{
  "mode": "discover",
  "listFamilies": ["topMba"],
  "years": ["2026"],
  "maxItems": 400
}
```

#### Example: catalog every available list

```json
{
  "mode": "catalog",
  "years": ["2026"],
  "maxArticles": 100
}
```

### Use cases

- **Talent acquisition and employer branding** — compare Top Companies and Top Startups by market, skills and hiring highlights.
- **B2B account lists** — turn Top Startups into a ready-to-enrich list of fast-growing companies with LinkedIn pages and HQs.
- **Market and competitor research** — track rank movement, new entrants and the skills/job-title mix of leading employers.
- **MBA and college admissions** — export global MBA and U.S. college rankings with locations, industries and outcomes highlights.
- **Recruitment marketing** — find the roles, functions and locations each ranked employer is hiring for.
- **Data teams** — load structured ranking rows into a warehouse, dashboard or CRM without hand-copying long articles.

### FAQ

#### Do I need a LinkedIn account, cookies or an API key?

No. The actor reads the public guest version of LinkedIn News articles. There is nothing to log in to and no credential field.

#### Do I need to configure a proxy?

No. The actor chooses a working connection automatically. Just fill in the input and run it.

#### Which years are supported?

Structured ranking articles from 2024, 2025 and 2026. Older articles use a legacy layout without rank headings or company cards, so they are not supported.

#### Which editions are covered?

Top Companies and Top Startups: U.S., U.K., Canada, India, Australia, Germany, France, Italy, Spain, Brazil, the Netherlands, Singapore, Israel and Europe, plus city editions in the U.S., India, France, Spain, Brazil and Germany. Top MBA: global plus German, Spanish, French, Italian and Portuguese editions. Top Colleges: U.S.

#### Why are some fields missing on some rows?

LinkedIn publishes different highlights per list and per entry. Empty fields are omitted rather than filled with placeholders. Use `highlights[]` to see every label-value pair the article actually contains.

#### Why is `rankPublished` different from `rank`?

A few articles (for example the Europe edition) combine several short country sections and restart numbering. `rank` stays unique in the dataset; `rankPublished` keeps the article's own number.

#### Is Jobs on the Rise included?

No. Jobs on the Rise ranks job areas, not companies or schools, and has no LinkedIn entity pages. This actor focuses on the entity rankings: Top Companies, Top Startups, Top MBA and Top Colleges.

#### Are Top Companies metro editions included?

Yes, where LinkedIn publishes them as public ranking articles. The actor covers city editions for Top Companies and Top Startups, including U.S., Indian, French, Spanish, Brazilian and German metros.

#### Can I paste a URL with a country subdomain or tracking parameters?

Yes. The actor normalizes `it.linkedin.com`, `http://`, trailing slashes and tracking query strings to the canonical article URL.

#### Is this affiliated with LinkedIn?

No. This is a third-party actor that reads publicly available ranking articles.

### Limitations

- Structured coverage starts with the 2024 article template; 2017-2023 articles use a legacy layout.
- Some entries genuinely omit a LinkedIn page, description, funding or insight; those fields are left out.
- Jobs on the Rise is outside the entity-ranking scope.
- City-edition coverage follows what LinkedIn publishes as articles; the built-in registry covers the 2026 city lists, and older city lists are reached through cross-links.
- Normalized highlight fields are mapped for English, German, French, Italian, Spanish, Portuguese and Dutch; other locales keep the publisher's labels in `highlights`.
- LinkedIn may rate-limit automated requests or show a guest sign-in wall on some company pages; the actor returns the canonical page URLs from the article.
- The actor reads the article as published; it does not reconstruct historical versions or recalculate ranks.

# Actor input Schema

## `mode` (type: `string`):

What to fetch.

## `articleUrls` (type: `array`):

LinkedIn News ranking article URLs. Accepts full linkedin.com/pulse/ links, with or without a country subdomain or tracking query.

## `seedUrls` (type: `array`):

Optional starting URLs for discovery. Leave empty to use the built-in 2024-2026 seed registry. Cross-links to sibling editions are followed one hop.

## `listFamilies` (type: `array`):

Restrict discovery to one or more ranking families. Leave empty for all families.

## `years` (type: `array`):

Restrict discovery to one or more years. Leave empty for all available years. Structured lists are available for 2024-2026.

## `countries` (type: `array`):

Restrict discovery to one or more country or regional editions. Leave empty for all editions.

## `metroAreas` (type: `array`):

Restrict discovery to one or more city editions. Leave empty for all editions.

## `maxArticles` (type: `integer`):

Hard cap on articles fetched in any mode; discover and catalog also stop crawling when it is reached.

## `maxItems` (type: `integer`):

Hard cap on emitted dataset records.

## Actor input object example

```json
{
  "mode": "byUrls",
  "articleUrls": [
    "https://www.linkedin.com/pulse/linkedin-top-companies-2026-50-best-large-employers-grow-zupfe"
  ],
  "seedUrls": [],
  "listFamilies": [],
  "years": [],
  "countries": [],
  "metroAreas": [],
  "maxArticles": 1,
  "maxItems": 2
}
```

# Actor output Schema

## `rankings` (type: `string`):

Dataset containing all scraped LinkedIn News ranking entries.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "byUrls",
    "articleUrls": [
        "https://www.linkedin.com/pulse/linkedin-top-companies-2026-50-best-large-employers-grow-zupfe"
    ],
    "seedUrls": [],
    "listFamilies": [],
    "years": [],
    "countries": [],
    "metroAreas": [],
    "maxArticles": 1,
    "maxItems": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("xyrelith-data/linkedin-annual-rankings-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "byUrls",
    "articleUrls": ["https://www.linkedin.com/pulse/linkedin-top-companies-2026-50-best-large-employers-grow-zupfe"],
    "seedUrls": [],
    "listFamilies": [],
    "years": [],
    "countries": [],
    "metroAreas": [],
    "maxArticles": 1,
    "maxItems": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("xyrelith-data/linkedin-annual-rankings-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "byUrls",
  "articleUrls": [
    "https://www.linkedin.com/pulse/linkedin-top-companies-2026-50-best-large-employers-grow-zupfe"
  ],
  "seedUrls": [],
  "listFamilies": [],
  "years": [],
  "countries": [],
  "metroAreas": [],
  "maxArticles": 1,
  "maxItems": 2
}' |
apify call xyrelith-data/linkedin-annual-rankings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xyrelith-data/linkedin-annual-rankings-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/5XRLCZcMtbuUzDhlm/builds/ISbMibV8CXK5SxdII/openapi.json
