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:
nullwhen 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;goneandunavailableare free. company_sizeandemployees_on_linkedinare 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
websitefield.
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.
| Field | Type | What it holds |
|---|---|---|
public_id | string | The name from the URL, after /company/ |
company_url | string | https://www.linkedin.com/company/ plus that name |
company_id | string or null | LinkedIn's numeric id, when the page shows it |
name | string | Company name |
tagline | string or null | The one-line description under the name |
description | string or null | The About text |
website | string or null | The company's website |
industry | string or null | Industry as shown |
company_size | string or null | The size band, e.g. "5,001-10,000 employees" |
employees_on_linkedin | number or null | Members who list the company as their employer |
headquarters | string or null | e.g. "Cambridge, Massachusetts" |
country | string or null | Two-letter code of the headquarters, e.g. "US" |
company_type | string or null | Public Company, Privately Held, Partnership… |
founded | string or null | Year founded |
specialties | string[] | The specialties list |
followers | number or null | Page followers |
logo_url, cover_url | string or null | Image links on LinkedIn's servers |
locations | string[] | 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_at | string or null | Time of the newest post, ISO 8601 UTC |
recent_posts | Post[] | Recent posts, newest first: url, posted_at, text, likes |
scraped_at | string | When 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.

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.
| Step | What happens | What you control |
|---|---|---|
| 1. Request | POST /v1/company with { "url": "…" } and your API key | URL format, retries, batching |
| 2. Read | The public company page is read live, logged out | Nothing; 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.
| Input | Accepted? |
|---|---|
https://www.linkedin.com/company/hubspot | Yes |
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 name | Yes |
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
status | company | Credit |
|---|---|---|
ok | The company object | 1 |
gone | null: no public company page at this URL | 0 |
unavailable | null: LinkedIn didn't serve the page just then; retry later | 0 |
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 thecompany_sizeband (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_pagesmixes neighbours with noise. HubSpot's list includes Salesforce and Stripe, and also 3M. It is LinkedIn's suggestion, not a competitor list.- Stripe's
specialtiescame back[]. An empty list is a real answer: the page lists none. Your code should treat[]andnullas "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.

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.
| Approach | What you get | Freshness | Account needed | Cost model |
|---|---|---|---|---|
| Logged-out company page API (ProfileHunt and others) | The public page as JSON | Read live per call | None | Per company found or per call |
| LinkedIn's Community Management API | Organization lookup, follower and page statistics, page management | Live | A vetted developer app | Access by application |
| Pre-scraped datasets and enrichment databases | Bulk rows, often with history | As of the vendor's last refresh | None | Per record, licence or plan |
| Account-based tools on your own login | Whatever your member session sees | Live | Your LinkedIn account | Per 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.
| Provider | USD per 1,000 companies | Source 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 record | Reported by ScrapeCreators, 24 Aug 2026, competitor-written |
| Serpent API | $0.70–$1.00 by deposit size | Serpent 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
| Myth | Reality |
|---|---|
| "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.
| Case | What you see | What to do |
|---|---|---|
| Rebrand or merger | The old page URL returns gone, or a page with a new name | Search for the new page; keep the old URL in history, not in the key |
| Numeric id URL | public_id is the number you sent | Store company_id as the stable key; names can change |
| Parent and subsidiary | affiliated_pages lists the subsidiary; members may tag the parent | Decide per account which page is the record of truth |
| Showcase page in your list | 422 invalid_url, not charged | Follow the parent company's page instead |
| Self-employed or stub pages | company_size, industry, founded are null | Keep the row; nulls are an answer, not a failure |
| Temporary refusal | unavailable, not charged | Retry later with backoff; don't mark the account dead |
| Headquarters vs description | headquarters says one city, the About text names two | Trust 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_linkedinis 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_attells 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_sizechange 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
- Sign up at profilehunt.dev and create an API key.
- Read the company endpoint reference and the credits page.
- 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.


