linkedin-profile-scraper-api icon indicating copy to clipboard operation
linkedin-profile-scraper-api copied to clipboard

scraping linkedin anonymously?

Open megalancast opened this issue 2 years ago • 3 comments
trafficstars

Is it possible to extract profile and company data without entering my login and password?

megalancast avatar Apr 20 '23 20:04 megalancast

After trying a few linkedin apis on rapidapi I have built https://rapidapi.com/restyler/api/linkedin-profiles1 - it is a simple api but it packs a lot of my experience building sophisticated web scrapers, under the hood, it helps to access public linkedin profiles and companies without logging in.

restyler avatar Apr 22 '23 19:04 restyler

Yes, that is possible (For public data). However, LinkedIn has a very high block rate for suspicious requests.

Another solution you can try is using a mobile proxy and rotating that proxy before the pattern on when LinkedIn gives login prompt to your request.

Also, if you don’t want to get your hands messy, you can try a third party.

For example, some companies provide APIs that allow you to get public data from LinkedIn.

As far as I know, the most affordable in terms of price and performance is Proxycurl. You can try this as simply as making a usual request.

Here’s an example of how to get a LinkedIn person’s profile using Proxycurl:

curl \
    -G \
    -H "Authorization: Bearer ${YOUR_API_KEY}" \
    'https://nubela.co/proxycurl/api/v2/linkedin' \
    --data-urlencode 'linkedin_profile_url=https://linkedin.com/in/johnrmarty/'

They also provide some external data (like GitHub, Twitter, Facebook) along with profile data that you may need.

josephlimtech avatar Aug 29 '23 02:08 josephlimtech

You can use it with 3rd party paid service. https://rapidapi.com/rockapis-rockapis-default/api/linkedin-api8

turk avatar Jan 31 '24 20:01 turk