POST /v1/company: Company Endpoint Reference

Request and response of POST /v1/company and company batches: accepted URL formats, statuses, and every field of the company object with its type.

Last updated

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

statuscompanyCredit
okThe company object below1
gonenull: no public company page at this URL0
unavailablenull: 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.

FieldTypeNotes
public_idstringThe company name from the URL you sent, decoded (the part after /company/).
company_urlstringhttps://www.linkedin.com/company/ followed by that name.
company_idstring | nullLinkedIn's numeric id for the company, when the page shows it.
namestring
taglinestring | nullThe one-line description under the name.
descriptionstring | nullThe About text.
websitestring | null
industrystring | null
company_sizestring | nullThe size band the page shows, e.g. "5,001-10,000 employees".
employees_on_linkedinnumber | nullHow many LinkedIn members list the company as their employer.
headquartersstring | nullAs shown, e.g. "Cambridge, Massachusetts".
countrystring | nullTwo-letter country code of the headquarters, e.g. "US".
company_typestring | nullPublic Company, Privately Held, Partnership and so on.
foundedstring | nullYear founded.
specialtiesstring[]
followersnumber | null
logo_urlstring | nullLink to the logo on LinkedIn's servers.
cover_urlstring | nullLink to the cover image on LinkedIn's servers.
locationsstring[]Office addresses, primary first.
affiliated_pagesPageRef[]Showcase pages and subsidiaries the company lists.
similar_pagesPageRef[]Pages LinkedIn shows as similar.
last_post_atstring | nullTime of the most recent post, ISO 8601 UTC.
recent_postsPost[]Recent posts the page shows, newest first. Same shape as a profile's posts.
scraped_atstringWhen ProfileHunt read the page, ISO 8601 UTC.

PageRef (affiliated_pages[], similar_pages[])

FieldTypeNotes
namestring
urlstringThe 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_linkedin counts members who list the company; company_size is the band the company chose. They often differ.
  • Funding and revenue are not included; LinkedIn doesn't show them to logged-out visitors.