Request
POST https://api.profilehunt.dev/v1/company
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{ "url": "https://www.linkedin.com/company/hubspot" }url is a LinkedIn company page: linkedin.com/company/ followed by the company's name or number. The same forms as profile URLs work (with or without https:// and www., country subdomains, extra path or query). Profile URLs and showcase pages get 422 invalid_url and are not charged.
For many companies at once, send up to 100 URLs to POST /v1/company/batches and poll GET /v1/company/batches/:id. It works exactly like the profile Batch API, with company in each result where profile batches have profile.
Response
| status | company | Credit |
|---|---|---|
| ok | The company object below | 1 |
| gone | null: no public company page at this URL | 0 |
| unavailable | null: LinkedIn didn't serve the page just then. Retry later. | 0 |
Anything else is an error with an HTTP status other than 200; see Errors.
The company object
Every key is always present. A value the page doesn't show is null, and an empty list is []. This is the public view of the page: what LinkedIn shows people who aren't signed in.
| Field | Type | Notes |
|---|---|---|
| public_id | string | The company name from the URL you sent, decoded (the part after /company/). |
| company_url | string | https://www.linkedin.com/company/ followed by that name. |
| company_id | string | null | LinkedIn's numeric id for the company, when the page shows it. |
| name | string | |
| tagline | string | null | The one-line description under the name. |
| description | string | null | The About text. |
| website | string | null | |
| industry | string | null | |
| company_size | string | null | The size band the page shows, e.g. "5,001-10,000 employees". |
| employees_on_linkedin | number | null | How many LinkedIn members list the company as their employer. |
| headquarters | string | null | As shown, e.g. "Cambridge, Massachusetts". |
| country | string | null | Two-letter country code of the headquarters, e.g. "US". |
| company_type | string | null | Public Company, Privately Held, Partnership and so on. |
| founded | string | null | Year founded. |
| specialties | string[] | |
| followers | number | null | |
| logo_url | string | null | Link to the logo on LinkedIn's servers. |
| cover_url | string | null | Link to the cover image on LinkedIn's servers. |
| locations | string[] | Office addresses, primary first. |
| affiliated_pages | PageRef[] | Showcase pages and subsidiaries the company lists. |
| similar_pages | PageRef[] | Pages LinkedIn shows as similar. |
| last_post_at | string | null | Time of the most recent post, ISO 8601 UTC. |
| recent_posts | Post[] | Recent posts the page shows, newest first. Same shape as a profile's posts. |
| scraped_at | string | When ProfileHunt read the page, ISO 8601 UTC. |
PageRef (affiliated_pages[], similar_pages[])
| Field | Type | Notes |
|---|---|---|
| name | string | |
| url | string | The page on LinkedIn. |
Good to know
- Nothing is cached: every call reads the page again and uses a credit if it's found.
employees_on_linkedincounts members who list the company;company_sizeis the band the company chose. They often differ.- Funding and revenue are not included; LinkedIn doesn't show them to logged-out visitors.