Platforms · LinkedIn

LinkedIn Profile Recommendations Scraper API

Lists the recommendations a LinkedIn member received, or with type=given the ones they wrote, 20 per page, each with text, date, type (how the two members know each other, as LinkedIn words it, such as "Sam worked with Alex but they were at different companies") and recommender (on a given recommendation, recommender is the member who received it).

GET /api/v1/data/linkedin/profile-recommendations · 5 credits per page · The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Inputs

  • url (required): Full URL of the LinkedIn profile, company, or post.
  • page: 1-based page number. Defaults to 1.
  • type: Filter by kind. See the allowed values.
  • cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.

What comes back

  • result_status (string): success, or not_available when the item does not exist, was removed or is not public.
  • items[].date (string): When it was given, as LinkedIn writes it.
  • items[].recipient (object): With `type=given`, the member who received the recommendation (also under `recommender`).
  • items[].recipient.description (string): The recipient's headline.
  • items[].recipient.full_name (string): The recipient's full name.
  • items[].recipient.public_identifier (string): The recipient's profile handle.
  • items[].recipient.url (string): The recipient's profile link.
  • items[].recommender (object): Who wrote the recommendation.
  • items[].recommender.avatar (array): The recommender's profile photo in several sizes.
  • items[].recommender.avatar.expires_at (number): When the image link stops working, as a Unix time in milliseconds. Null when the link carries no expiry.
  • items[].recommender.avatar.height (number): The image height in pixels.
  • items[].recommender.avatar.url (string): The image link. LinkedIn image links expire, see `expires_at`.
  • items[].recommender.avatar.width (number): The image width in pixels.
  • items[].recommender.description (string): The recommender's headline.
  • items[].recommender.first_name (string): The recommender's first name.
  • items[].recommender.full_name (string): The recommender's full name.
  • items[].recommender.is_premium (boolean): Whether the recommender has LinkedIn Premium.
  • items[].recommender.last_name (string): The recommender's last name.
  • items[].recommender.public_identifier (string): The recommender's profile handle.
  • items[].recommender.url (string): The recommender's profile link.
  • items[].recommender.urn (string): The recommender's LinkedIn urn.
  • items[].text (string): The recommendation text.
  • items[].type (string): How the two members know each other, as LinkedIn words it, such as `Sam worked with Alex but they were at different companies` or `No relationship is indicated`. It is not `received` or `given`: the `type` query parameter picks those.
  • items[].updated_at (string): When the recommendation was last edited, as an ISO 8601 timestamp.
  • next_cursor (string): Send it as cursor to get the next page; null when there is none.
  • has_more (boolean): Whether there is another page.
  • source_data (object): Everything the platform sent for this call, as it came.

Good to know

  • Each page costs 5 credits. A call that finds nothing, or fails, is free.
  • Each call returns one page of about 8 rows. To get the next page, send next_cursor from the answer as cursor.
  • The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Example call

GET /api/v1/data/linkedin/profile-recommendations?url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Freidhoffman%2F

Questions

How much does the LinkedIn Profile Recommendations API cost?

Each page costs 5 credits. A call that finds nothing, or fails, costs nothing.

What do I send?

You must send url. 2 more inputs are optional: page and type. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.

How do I get the next page?

Each call returns one page of about 8 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.

How fresh is the data?

The same call repeated within 15 minutes may get the same answer, so data can be up to 15 minutes old.

Do I need a LinkedIn account or developer app?

No. You call SocialHz with your SocialHz API key, and the same key works for every platform.

Can I try it before paying?

Yes. Signing up gives you 10 free credits, with no card needed.

Related LinkedIn endpoints

  • Profile: Get LinkedIn user profile. 5 credits a call
  • Profile About: Get a member's account freshness signals (NOT the profile About section). 5 credits a call
  • Profile Activity: Get when a LinkedIn member was last active. 5 credits a call
  • Profile All: Get a member's entire profile, counts included, in one call. 5 credits a call
  • Profile Articles: List Pulse articles a LinkedIn member published. 5 credits a page
  • Profile Certifications: List a member's licenses and certifications. 5 credits a page
  • Profile Comments: List a member's comments. 5 credits a call
  • Profile Complete: Get a member's profile, experience, education, skills and recommendations. 10 credits a call

More LinkedIn scraper APIs