LINKEDIN PROFILE DATA ENRICHMENT

LinkedIn Company Data API: Firmographics from a Page URL

How to get public LinkedIn company page data through an API: industry, size, employees, HQ, founded year, specialties and posts, with code and cost.

By Surender Kumar, GTM Engineer, ProfileHunt · Published · 17 min read

Also in: Español · Português (Brasil) · Deutsch · Français · 简体中文 · हिन्दी · العربية · বাংলা · Русский · Bahasa Indonesia · اردو · 日本語 · मराठी · Tiếng Việt · తెలుగు · Hausa · Türkçe · தமிழ் · 한국어

LinkedIn Company Data API: Firmographics from a Page URL

A LinkedIn company data API takes a company page URL such as linkedin.com/company/hubspot and returns the page as structured JSON: name, tagline, website, industry, size band, employees on LinkedIn, headquarters, company type, founded year, specialties, followers, office locations, similar pages and recent posts. With ProfileHunt you send one URL to POST /v1/company, or up to 100 to the company Batch API, and you pay one credit ($0.0005) per company found. Pages that don't exist cost nothing.

You have a list of accounts, maybe a column of domains, maybe a CRM export with half the industry fields empty. You want firmographics you can filter, score and route on, read today rather than copied from a database refreshed last year. This guide covers how a LinkedIn company data API works, what it returns (with a real response), how to get from a domain to a company page, and what it costs per 1,000. If you're new to the category, the overview of what a LinkedIn profile API is explains the same model for people.

ProfileHunt is an independent service. It is not affiliated with, endorsed by or sponsored by LinkedIn.

Key takeaways

  • One URL in, one company object out. Every key is always present: null when the page doesn't show a value, [] for an empty list.
  • Public view only, no account. ProfileHunt reads what a logged-out visitor sees, with no LinkedIn account of any kind, no cookies and no session.
  • $0.50 per 1,000 companies found. 1 credit per company with status ok; gone and unavailable are free.
  • company_size and employees_on_linkedin are different numbers. One is the band the company picked; the other counts members who list it. In our own sample both companies have more members listed than their band allows.
  • You need the page URL, not just the domain. Map domains to pages first, then confirm each match with the returned website field.

What a LinkedIn company data API returns

A LinkedIn company data API returns the firmographic block of a company page plus its recent activity. The table below is the full ProfileHunt company object, from the company endpoint reference.

FieldTypeWhat it holds
public_idstringThe name from the URL, after /company/
company_urlstringhttps://www.linkedin.com/company/ plus that name
company_idstring or nullLinkedIn's numeric id, when the page shows it
namestringCompany name
taglinestring or nullThe one-line description under the name
descriptionstring or nullThe About text
websitestring or nullThe company's website
industrystring or nullIndustry as shown
company_sizestring or nullThe size band, e.g. "5,001-10,000 employees"
employees_on_linkedinnumber or nullMembers who list the company as their employer
headquartersstring or nulle.g. "Cambridge, Massachusetts"
countrystring or nullTwo-letter code of the headquarters, e.g. "US"
company_typestring or nullPublic Company, Privately Held, Partnership…
foundedstring or nullYear founded
specialtiesstring[]The specialties list
followersnumber or nullPage followers
logo_url, cover_urlstring or nullImage links on LinkedIn's servers
locationsstring[]Office addresses, primary first
affiliated_pages{name, url}[]Showcase pages and subsidiaries the company lists
similar_pages{name, url}[]Pages LinkedIn shows as similar
last_post_atstring or nullTime of the newest post, ISO 8601 UTC
recent_postsPost[]Recent posts, newest first: url, posted_at, text, likes
scraped_atstringWhen ProfileHunt read the page, ISO 8601 UTC

What it does not return

Funding, revenue, technographics and an employee list are not in the company object. Neither are emails or phone numbers. If your scoring model needs funding rounds or revenue, pair this data with a funding database or a company registry; the LinkedIn page gives you the identity, size, location and activity layer.

A company page turned into a fan of structured fields

How a LinkedIn company data API works

A LinkedIn company data API works in three steps: you send a company page URL, the provider reads the public page live, and you get JSON back with a status. Nothing is cached at ProfileHunt, so each call reads the page again and scraped_at tells you exactly when.

StepWhat happensWhat you control
1. RequestPOST /v1/company with { "url": "…" } and your API keyURL format, retries, batching
2. ReadThe public company page is read live, logged outNothing; no account or cookie is involved
3. Response{ "status", "company" }How you store nulls and lists

Accepted URL formats

The url must be a company page: linkedin.com/company/ followed by the company's name or its number. The same forms as profile URLs work.

InputAccepted?
https://www.linkedin.com/company/hubspotYes
linkedin.com/company/hubspot (no https://, no www.)Yes
https://br.linkedin.com/company/... (country subdomain)Yes
https://www.linkedin.com/company/1035 (numeric id)Yes
Extra path or query string after the nameYes
linkedin.com/in/... (a person's profile)No: 422 invalid_url, not charged
linkedin.com/showcase/... (a showcase page)No: 422 invalid_url, not charged

Statuses and what they cost

statuscompanyCredit
okThe company object1
gonenull: no public company page at this URL0
unavailablenull: LinkedIn didn't serve the page just then; retry later0

Errors come back with an HTTP status other than 200: 401 bad key, 402 out of credits, 422 not a company URL, 429 over 60 requests a minute on the key (with Retry-After), and 502/503/504 temporary. The errors page lists them all.

A real response: HubSpot's company page

Here is a real ProfileHunt response for linkedin.com/company/hubspot, read on 5 November 2026. The long description, image links and most specialties are trimmed.

curl -X POST https://api.profilehunt.dev/v1/company \
  -H "Authorization: Bearer $PROFILEHUNT_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "url": "https://www.linkedin.com/company/hubspot" }'
{
  "status": "ok",
  "company": {
    "public_id": "hubspot",
    "company_url": "https://www.linkedin.com/company/hubspot",
    "company_id": "68529",
    "name": "HubSpot",
    "tagline": "The agentic customer platform to scale your business.",
    "website": "https://hubspot.com",
    "industry": "Software Development",
    "company_size": "5,001-10,000 employees",
    "employees_on_linkedin": 12258,
    "headquarters": "Cambridge, Massachusetts",
    "country": "US",
    "company_type": "Public Company",
    "founded": "2006",
    "specialties": ["inbound marketing", "marketing", "software", "SEO", "..."],
    "followers": 1777577,
    "locations": [
      "2 Canal Park, Cambridge, Massachusetts 02141, US",
      "1 Sir John Rogerson's Quay, Dublin, County Dublin D02 CR67, IE",
      "..."
    ],
    "affiliated_pages": [
      { "name": "HubSpot For Startups", "url": "https://www.linkedin.com/showcase/hubspot-for-startups" },
      { "name": "HubSpot for Developers", "url": "https://www.linkedin.com/showcase/hubspot-for-developers" }
    ],
    "similar_pages": [
      { "name": "Salesforce", "url": "https://www.linkedin.com/company/salesforce" },
      { "name": "Stripe", "url": "https://www.linkedin.com/company/stripe" }
    ],
    "last_post_at": "2026-10-31T13:31:07.008Z",
    "recent_posts": [
      {
        "url": "https://www.linkedin.com/posts/hubspot_the-marketing-team-at-1201-am-on-november-activity-7522289050490265603-oZm0",
        "posted_at": "2026-10-31T13:31:07.008Z",
        "text": "the marketing team at 12:01 a.m. on November 1",
        "likes": 1379
      }
    ],
    "scraped_at": "2026-11-05T13:00:00.000Z"
  }
}

Three things in this one record are worth noticing before you build on it:

  • employees_on_linkedin (12,258) is above the top of the company_size band (10,000). The band is a self-declared bucket; the member count is a live tally. Stripe's page, read the same day, shows the same pattern: band 5,001–10,000, 16,694 members listed.
  • similar_pages mixes neighbours with noise. HubSpot's list includes Salesforce and Stripe, and also 3M. It is LinkedIn's suggestion, not a competitor list.
  • Stripe's specialties came back []. An empty list is a real answer: the page lists none. Your code should treat [] and null as "not shown", never as an error.

What most guides get wrong about LinkedIn company data

Most guides about scraping LinkedIn company pages treat the page as a single headcount number and a logo. Three mistakes come up again and again.

Mistake 1: treating company_size as headcount. The size band is chosen by the company page admin and changes rarely. employees_on_linkedin counts members who list the company, which includes contractors, people who never updated their profile after leaving, and staff at subsidiaries who tag the parent. Neither number is payroll. Use the band for segment routing (SMB, mid-market, enterprise) and the member count for trend lines, and label which one a dashboard shows.

Mistake 2: assuming a domain is enough. LinkedIn company pages are addressed by their own name or number, not by domain. stripe.com happens to be /company/stripe; plenty of companies use a page name that matches neither their domain nor their legal name. A company data API that claims to "look up any domain" is running a search or a mapping table in front of the page read, and the match quality of that step is what you should test.

Mistake 3: thinking firmographics need a login. Every field in the table above is on the public page that any logged-out visitor sees. Running a company page scraper on your own logged-in LinkedIn account adds risk to your account and buys you nothing for this job.

Step-by-step: enrich a list of accounts with LinkedIn company data

This is the workflow for a list of accounts, from domains to a filled table. It uses the ProfileHunt Company API; the same shape works with any provider that takes page URLs.

Step 1: Get a company page URL for every account

Start from what you have. If your CRM already stores LinkedIn company URLs, use them. If you only have domains, find each company's page: most company websites link to their LinkedIn page in the footer, and a web search for the company name plus "LinkedIn" finds the rest. Keep the domain in its own column; you will use it in Step 4.

Step 2: Clean the URLs

Drop rows that point at /in/ profiles or /showcase/ pages; they would come back 422 invalid_url (not charged, but noise in your logs). Deduplicate on the part after /company/, lower-cased. Country subdomains, missing https:// and trailing query strings are fine as they are.

Step 3: Send them as batches of up to 100

For more than a handful, use the company Batch API: POST /v1/company/batches with up to 100 URLs, then poll GET /v1/company/batches/:id until status is completed. It works exactly like the batch API for profiles, with company in each result where profile batches have profile. Creating a batch counts as one request against the 60-per-minute limit; polling doesn't count.

import os, time, requests

API = "https://api.profilehunt.dev"
headers = {"Authorization": f"Bearer {os.environ['PROFILEHUNT_KEY']}"}

batch = requests.post(f"{API}/v1/company/batches", headers=headers, json={
    "urls": [
        "https://www.linkedin.com/company/hubspot",
        "https://www.linkedin.com/company/stripe",
    ],
}).json()

while batch["status"] == "processing":
    time.sleep(5)
    batch = requests.get(f"{API}/v1/company/batches/{batch['id']}", headers=headers).json()

for r in batch["results"]:
    print(r["status"], r["company"]["name"] if r["company"] else r["url"])

The same loop in Node.js:

const api = (path, init = {}) =>
  fetch(`https://api.profilehunt.dev${path}`, {
    ...init,
    headers: {
      Authorization: `Bearer ${process.env.PROFILEHUNT_KEY}`,
      "Content-Type": "application/json",
    },
  }).then(async r => {
    if (!r.ok) throw new Error(`${r.status} ${await r.text()}`);
    return r.json();
  });

let batch = await api("/v1/company/batches", {
  method: "POST",
  body: JSON.stringify({ urls: [
    "https://www.linkedin.com/company/hubspot",
    "https://www.linkedin.com/company/stripe",
  ] }),
});

while (batch.status === "processing") {
  await new Promise(r => setTimeout(r, 5000));
  batch = await api(`/v1/company/batches/${batch.id}`);
}

for (const r of batch.results) console.log(r.status, r.company?.name ?? r.url);

Results keep your order, so results[i] belongs to urls[i]. Each result's status is ok, gone, unavailable, failed, pending, invalid_url or duplicate. One credit per fetchable URL is held when the batch is created; found companies keep theirs and everything else is refunded automatically.

Step 4: Confirm each match with the website field

Before you write anything back, check that the page you fetched belongs to the account you meant. Compare the returned website with the domain you started from.

from urllib.parse import urlparse

def host(url_or_domain):
    if not url_or_domain:
        return None
    if "://" not in url_or_domain:
        url_or_domain = "https://" + url_or_domain
    h = urlparse(url_or_domain).hostname or ""
    return h.removeprefix("www.").lower() or None

def same_company(crm_domain, company):
    site = host(company.get("website"))
    return site is not None and site == host(crm_domain)

print(same_company("hubspot.com", {"website": "https://hubspot.com"}))  # True

Rows that fail the check go to a review queue, not into the CRM. Common reasons: the company redirects to a parent brand's domain, uses a country domain, or the page in Step 1 was a different company with a similar name.

Step 5: Store it with its read time

Write the fields you route on (industry, company_size, employees_on_linkedin, country, company_type, founded) into typed columns, keep the full JSON next to them, and store scraped_at. The profile JSON schema guide covers the same null-and-list handling for person records.

A record on the left linked to its matching company page on the right

LinkedIn company data API options compared

A LinkedIn company data API is one of four ways to get firmographics keyed to LinkedIn. The right one depends on how fresh the data must be and whether you can get approved for LinkedIn's own programme.

ApproachWhat you getFreshnessAccount neededCost model
Logged-out company page API (ProfileHunt and others)The public page as JSONRead live per callNonePer company found or per call
LinkedIn's Community Management APIOrganization lookup, follower and page statistics, page managementLiveA vetted developer appAccess by application
Pre-scraped datasets and enrichment databasesBulk rows, often with historyAs of the vendor's last refreshNonePer record, licence or plan
Account-based tools on your own loginWhatever your member session seesLiveYour LinkedIn accountPer seat

LinkedIn's own route is real but narrow. According to Microsoft Learn's Community Management overview, it is a "Vetted Product" with development and standard tiers, its approved use cases are page management and analytics, and the standard tier requires a screencast for each use case. It is built for managing pages you administer, not for enriching a list of other companies.

Prices, as of November 2026

Per-1,000 prices for company lookups, from each source on the date shown. Several figures come from vendor-written comparisons; they are marked.

ProviderUSD per 1,000 companiesSource and date
ProfileHunt direct API$0.50 (1 credit per company found; not-found free)ProfileHunt docs, November 2026
ScrapeCreators$0.99–$1.88 (1 credit per company call)ScrapeCreators blog, 24 Aug 2026, vendor-written
Bright Data Scraper API$1.30–$1.50 per delivered recordReported by ScrapeCreators, 24 Aug 2026, competitor-written
Serpent API$0.70–$1.00 by deposit sizeSerpent API blog, 13 Aug 2026, vendor-written

Compare the unit, not just the number. A price "per call" charges for misses unless the vendor says otherwise; ProfileHunt charges per company found, and Bright Data, as reported, bills per delivered record. The LinkedIn profile API pricing guide works through that math in detail.

Myth vs reality

MythReality
"LinkedIn company data is only available through LinkedIn's API."LinkedIn's company API is a vetted programme for page management and analytics. The public page itself is visible to any logged-out visitor, and that is what a company page API reads.
"Employee count on LinkedIn is the company's headcount."It counts members who list the company. Our HubSpot and Stripe samples both show more members than the top of their size band.
"Similar pages are competitors."They are LinkedIn's suggestions. HubSpot's list includes 3M next to Salesforce. Use them as a discovery seed, then filter by industry.
"A company page scraper needs a logged-in account to see the About section."Industry, size, headquarters, type, founded year and specialties are all on the logged-out page.
"Company data and personal data carry the same privacy risk."Data about a legal person is generally outside the GDPR (Recital 14). Post text can still name individuals, so treat recent_posts as possibly personal data.

Edge cases you will hit at scale

These are the cases that break naive pipelines once the list passes a few thousand rows.

CaseWhat you seeWhat to do
Rebrand or mergerThe old page URL returns gone, or a page with a new nameSearch for the new page; keep the old URL in history, not in the key
Numeric id URLpublic_id is the number you sentStore company_id as the stable key; names can change
Parent and subsidiaryaffiliated_pages lists the subsidiary; members may tag the parentDecide per account which page is the record of truth
Showcase page in your list422 invalid_url, not chargedFollow the parent company's page instead
Self-employed or stub pagescompany_size, industry, founded are nullKeep the row; nulls are an answer, not a failure
Temporary refusalunavailable, not chargedRetry later with backoff; don't mark the account dead
Headquarters vs descriptionheadquarters says one city, the About text names twoTrust the structured field for routing; keep the text for context

Advanced: using company pages as a monitoring signal

This section is for teams that already have firmographics loaded and want change data, not a one-off fill.

Two fields move often enough to be signals: employees_on_linkedin and last_post_at. Read the same pages on a schedule and store each read as a new row with its scraped_at, instead of overwriting.

  • Member-count trend. Week-over-week change in employees_on_linkedin is a rough hiring or contraction signal. It lags reality (people update profiles late), so compare windows of a month or more, and alert on direction, not on single-digit moves.
  • Activity gap. now − last_post_at tells you whether a page is maintained. A page with no post in a quarter is weak evidence the marketing team is thin or the company is winding down; combine it with the member trend before acting.
  • Band changes. A company_size change is rare and deliberate. When it happens, re-route the account.
  • Cost of the schedule. Each re-read is one credit if the page is found. 5,000 accounts read weekly is 20,000 reads a month, or $10 at $0.50 per 1,000. Decide cadence by how fast the field you act on moves, not by habit.

The batch API guide covers queueing and polling for jobs this size.

Is it legal to scrape LinkedIn company pages?

This is not legal advice; talk to your own counsel about your use. Here is what the public record shows.

LinkedIn's User Agreement (effective 3 November 2025) states that it "applies to Members and Visitors", and section 8.2 prohibits using software, scripts or robots "to scrape or copy the Services". The lawsuits LinkedIn has brought against data providers, including hiQ (stipulated judgment, 2022, per Proskauer) and Proxycurl (shut down in July 2025 under a settlement, per its founder), involved fake or logged-in accounts. In Meta v. Bright Data, a federal district court ruled in January 2024 that logged-out scraping of public data was not barred by Meta's terms as written (Farella Braun + Martel). That ruling is not appellate precedent, and it turned on terms that differ from LinkedIn's. Whether LinkedIn's Visitor language binds someone who never logs in has not been decided by a court.

ProfileHunt reads only public company pages, logged out, with no LinkedIn account of any kind: real, fake or customer-supplied. It uses no cookies and no session. Company pages also carry less privacy weight than person profiles, because data about a business is generally not personal data, though posts can mention people.

Where ProfileHunt fits

ProfileHunt fits when you have company page URLs, need the public page as clean JSON, and want to pay only for what's found. The direct API costs $0.50 per 1,000 companies ($1 buys 2,000 credits), credits never expire, there's no subscription, and a work-email signup comes with 100 free credits. The same company and profile data is also available as Apify actors at $2 per 1,000, for teams that already run their scraping on Apify.

It is the wrong tool if you need funding, revenue, technographics or contact details; use a funding database, a registry or a contact-data provider for those, keyed on the same account. It also doesn't turn a bare domain into a page URL for you; Step 1 above covers that.

Getting started

  1. Sign up at profilehunt.dev and create an API key.
  2. Read the company endpoint reference and the credits page.
  3. Send one URL to POST /v1/company, check the JSON, then move to batches of 100.

For the people side of the same accounts, the LinkedIn profile API overview shows how the profile endpoint pairs with this one: company page for the account, profiles for the people in it.

Frequently asked questions

Is there an API to get LinkedIn company data?

Yes. LinkedIn's own Community Management API is a vetted programme aimed at managing pages you administer. For enriching a list of other companies, a LinkedIn company data API such as the ProfileHunt Company API reads the public company page and returns it as JSON for $0.50 per 1,000 companies found.

How do I scrape a LinkedIn company page without logging in?

Send the page URL to an API that reads the logged-out view. With ProfileHunt, POST { "url": "https://www.linkedin.com/company/<name>" } to /v1/company; no LinkedIn account, cookie or session is involved. See the company endpoint docs.

Can I get LinkedIn company data from a domain name?

Not directly. LinkedIn company pages are addressed by page name or number, not domain. Find the page URL first (most company websites link to it), fetch the page, then confirm the match by comparing the returned website field with your domain.

What's the difference between company size and employees on LinkedIn?

company_size is the band the company chose for its page, such as "5,001-10,000 employees". employees_on_linkedin counts members who list the company as their employer. They often differ; HubSpot's page shows 12,258 members against a 5,001–10,000 band.

How much does a LinkedIn company data API cost?

ProfileHunt charges 1 credit per company found, which is $0.50 per 1,000; gone and unavailable pages are free. Other providers list roughly $0.70 to $1.88 per 1,000 as of November 2026, and some charge per call rather than per company found.

Does a LinkedIn company scraper return funding or revenue?

ProfileHunt does not include funding or revenue in the company object. Use a funding database or company registry for those, and join it to the LinkedIn data on the account.

How many LinkedIn company pages can I look up at once?

Up to 100 per batch request with POST /v1/company/batches. Creating a batch counts as one request against the 60-per-minute limit, and polling doesn't count, so large lists go through as a series of batches. The batch guide shows the full loop.

Get API key 100 free credits with a work email