You have a list of company names and key contact point names, and you want to find their Linkedin profiles before outreach. The question is how to make it done automatically and save the cost as much as possible.
This is the purpose of the article here. I would walk through how to use the Buyfromlo API of Linkedin profile scraper and very simple Python lines to scrape the Linkedin profile links.
Table of Contents: Linkedin User Profile Scraper
- Linkedin Profile Scraper API and Parameter Intro
- Scraping Instruction Samples
- Paid Version of Linkedin Profile Scraper API (Including email scraping)
- Full Python Script of Linkedin Profile Scraper
- FAQ
Linkedin Profile Scraper API
In Buyfromlo API, there are 5 endpoint parameters you can refer to and use to customize your scraping. Here is the introduction of the parameter as follows:
This is the sample of a full API endpoint in the script used to call and fetch the data.
linkedinProfiles = requests.get("http://www.buyfromlo.com/api/1/linkedinProfileScraper?token=" + tokenA + "&companyname=" + companyName + "&title=" + title + "&searchapikey=" + api).json()[0]
- Token: This is the token given by Easy2Digital after you have subscribed to the free trial. Each subscriber has 50 free quotas per month offered by the free version
- Company name: It’s for users to add a company or a list of company names in a loop
- Title: It’s for users to add a company or a list of company names in a loop
- Search API Key: Add the Google search API key here and it’s totally free. You just need to sign up for a Google cloud account and get it in the Google API console. Each key has 100 limited searches per day. Nevertheless, you can create more projects and get more keys in fact.
Scraping Instruction Samples
1. Create an empty list and variables for parameters
LinkedinProfileResult = []
company = ("easy2digital", "IBM", "semrush")
title = "consultant"
api = ""
2. Build a loop if you need to scrape a list of companies and job titles
for companyName in company:
brandNews = requests.get("http://www.buyfromlo.com/api/1/linkedinProfileScraper?token=" + tokenA + "&companyname=" + companyName + "&title=" + title + "&searchapikey=" + api).json()[0]
linkURL = brandNews['link']
titleName = brandNews['title']
element_info = {
"Title": titleName,
"Profile Link": linkURL
}
LinkedinProfileResult.append(element_info)
3. Manage the output of the result depending on your needs.
For the result, you can output and save in a CSV file or you can directly sync with a specific Google Sheet using gspread modules as mentioned in previous articles. Here I’m not going to elaborate in detail. Whichever approach you like to adopt, you can customize the orders, layout, and data to fetch as you like.
Paid Version of Linkedin Profile Scraper API (Including email scraping)
If you like to scrape the LinkedIn profile email address as well, Easy2Digital provides a paid API version as well (1000 Linkedin Profile Scraping (Including emails). Please subscribe to our newsletter by leaving messages “Linkedin profile API paid”, we will get back to you asap
Full Python Script of Linkedin Profile Scraper
- If you are interested in getting the LinkedIn scraping API, the full version of the script and vibe coding prompt mentioned in this article, please subscribe to our Youtube Channel and comment “linkedin scraper” in the following video (Linkedin Scraper API, Script and Vibe Coding Prompt)
- Support our channel through PayPal (paypal.me/Easy2digital)
- Follow our Facebook page
- Sign up for our weekly newsletter to receive Easy2Digital latest articles, videos, and discount code on Buyfromlo products and digital software