Person Profile Scraper
This API can be used for scraping any public person's profile from Linkedin. You just have to pass the LinkedIn profile ID to our API.
You have to send a GET request to https://api.scrapingdog.com/linkedin
along with the below given parameters.
Parameters
Parameter | Description |
---|---|
api_key required | Your personal API key. Available on your dashboard Type: String |
linkId required | This is the Linkedin ID of any person profile. This can be found inside the URL of any person profile. Type: String |
type required | This is a string that helps us to identify whether you want to scrape a person profile or a company profile. For a person profile, you have to pass Type: String |
private | This is a boolean parameter that can help you scrape public profiles which are protected by a fun captcha.
By default it is |
API Example
curl "https://api.scrapingdog.com/linkedin/?api_key=5eaa61a6e562fc52fe763tr516e4653&type=profile&linkId=rbranson"
import requests
url = "https://api.scrapingdog.com/linkedin/"
params = {
"api_key": "5eaa61a6e562fc52fe763tr516e4653",
"type": "profile",
"linkId": "rbranson"
}
response = requests.get(url, params=params)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code: {response.status_code}")
const axios = require('axios');
const url = 'https://api.scrapingdog.com/linkedin/';
const params = {
api_key: '5eaa61a6e562fc52fe763tr516e4653',
type: 'profile',
linkId: 'rbranson'
};
axios.get(url, { params: params })
.then(response => {
if (response.status === 200) {
const data = response.data;
console.log(data);
} else {
console.log(`Request failed with status code: ${response.status}`);
}
})
.catch(error => {
console.error('An error occurred:', error);
});
<?php
// URL and parameters
$url = 'https://api.scrapingdog.com/linkedin/';
$params = array(
'api_key' => '5eaa61a6e562fc52fe763tr516e4653',
'type' => 'profile',
'linkId' => 'rbranson'
);
// Initialize cURL session
$ch = curl_init();
// Set cURL options
curl_setopt($ch, CURLOPT_URL, $url . '?' . http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// Execute the cURL request
$response = curl_exec($ch);
// Check for errors
if ($response === false) {
echo 'cURL error: ' . curl_error($ch);
} else {
// Process the response
echo $response;
}
// Close the cURL session
curl_close($ch);
?>
require 'net/http'
url = URI.parse('https://api.scrapingdog.com/linkedin/')
params = {
api_key: '5eaa61a6e562fc52fe763tr516e4653',
type: 'profile',
linkId: 'rbranson'
}
url.query = URI.encode_www_form(params)
response = Net::HTTP.get_response(url)
if response.is_a?(Net::HTTPSuccess)
puts response.body
else
puts "HTTP request failed: #{response.code} #{response.message}"
end
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
public class Main {
public static void main(String[] args) {
try {
String apiUrl = "https://api.scrapingdog.com/linkedin/?api_key=5eaa61a6e562fc52fe763tr516e4653&type=profile&linkId=rbranson";
URL url = new URL(apiUrl);
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestMethod("GET");
int responseCode = connection.getResponseCode();
if (responseCode == 200) {
BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuilder response = new StringBuilder();
while ((inputLine = reader.readLine()) != null) {
response.append(inputLine);
}
reader.close();
System.out.println(response.toString());
} else {
System.out.println("HTTP request failed: " + responseCode);
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
Response
[
{
"fullName": "Richard Branson",
"first_name": "Richard",
"last_name": "Branson",
"public_identifier": "rbranson",
"background_cover_image_url": "https://media.licdn.com/dms/image/C4D16AQGwBt24dOytjg/profile-displaybackgroundimage-shrink_200_800/0/1648727502467?e=2147483647&v=beta&t=OtFYTFRqcIiWttJzfimpFlfBqdxpYawLF4ri-yevpCc",
"profile_photo": "https://media.licdn.com/dms/image/C4D03AQHh6_Wth5f3rQ/profile-displayphoto-shrink_800_800/0/1625181962692?e=2147483647&v=beta&t=WJiu0TdxCwwJ3w0XVvvjUpCiSa51oc0Kl54tZ7-w5JM",
"headline": "Founder at Virgin Group",
"location": "",
"followers": "20M followers",
"connections": "3 connections",
"card_title": "",
"card_subtitle": "",
"about": "",
"articles": [
{
"link": "https://www.linkedin.com/pulse/ai-aggregates-dyslexia-innovates-richard-branson?trk=public_profile_article_view",
"image": "https://media.licdn.com/dms/image/D4D12AQEwajJJFwmz_w/article-cover_image-shrink_180_320/0/1682580762166?e=2147483647&v=beta&t=nwSpNmz3_AIuwopp6vl72NgfLznJd-PrCQGBN73Q7qU",
"title": "AI aggregates, but dyslexia innovates",
"author": "By Richard Branson",
"published_date": "Apr 27, 2023"
},
{
"link": "https://www.linkedin.com/pulse/ask-richard-how-does-experience-stack-up-against-do-we-branson?trk=public_profile_article_view",
"image": "https://media.licdn.com/dms/image/D4E12AQEWtDsF4cKAcQ/article-cover_image-shrink_180_320/0/1678726993222?e=2147483647&v=beta&t=1f4WTEi4wabpLLaFqpiSts2isE31uB0xiGT6TFBZz68",
"title": "Ask Richard: How does experience stack up against education, and how do we address ageism?",
"author": "By Richard Branson",
"published_date": "Mar 13, 2023"
},
{
"link": "https://www.linkedin.com/pulse/ask-richard-what-advice-do-you-have-dadpreneurs-richard-branson?trk=public_profile_article_view",
"image": "https://media.licdn.com/dms/image/D4E12AQEZH2n_9PKd9w/article-cover_image-shrink_180_320/0/1675093478604?e=2147483647&v=beta&t=BR9L0A1fXEuOI3n4ZtHiEbUrStxrEE0YzBSUN8RXgEw",
"title": "Ask Richard: What advice do you have for dadpreneurs?",
"author": "By Richard Branson",
"published_date": "Jan 30, 2023"
}
],
"description": {
"description1": "Virgin Group",
"description1_link": "https://www.linkedin.com/company/virgin-atlantic-airways?trk=public_profile_topcard-current-company",
"description2": "Blog",
"description2_link": "https://www.linkedin.com/redir/redirect?url=https%3A%2F%2Fwww%2Evirgin%2Ecom%2Frichard-branson&urlhash=1CcZ&trk=public_profile_topcard-website"
},
"activities": [
{
"link": "https://www.linkedin.com/posts/rbranson_50-years-of-tubular-bells-activity-7067417123878268930-w8Ed?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQEv7FTpPNIghQ/videocover-low/0/1685003528213?e=1685628000&v=beta&t=bBbzrqd_OTnFBGRvRoKTaw_AYaufr1QTD6GWZBySx28",
"title": "Wow, today marks 50 years since we released our very first album on Virgin Records –Tubular Bells by Mike Oldfield. This was the record that…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_iran-executions-of-tortured-protesters-must-activity-7067168378062270465-YxKo?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQEjqLhLFBeJfQ/image-shrink_800/0/1684944243054?e=1685628000&v=beta&t=drFF8Dm_2K7-UdiTjC7yqMDqqUeJ9rNPfqxOgvwjxoc",
"title": "The appalling executions of tortured protesters in Iran must prompt a strong reaction from the international community: https://lnkd.in/e_jP2NQF",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/holly-branson_taliban-activity-7066805236023078912-FJXW?trk=public_profile_like_view",
"image": "https://media.licdn.com/dms/image/D4E10AQHVUP4Dn4TqEw/image-shrink_800/0/1684857662604?e=1685628000&v=beta&t=bEClf3rPpx-tC1xLrtBwowuHLYrQi-LPEhuO1eQo05g",
"title": "“I don’t dare tell you how acting as a mom has made me realize how much I still need a mom — how much I still need you.” Such a powerful piece from…",
"activity": "Liked by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_hot-off-the-press-virgin-red-have-got-activity-7066784619588644864-1_SB?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQEJt5aKWHwGuw/image-shrink_800/0/1684852746820?e=1685628000&v=beta&t=u2et5OddozTvmkvJfaOgrHDlAMVhCOYTOAT-1RS5Cck",
"title": "Hot off the press 📖 Virgin Red have got Finding My Virginity, my autobiography, to give away. If you’re in the US, sign up to Virgin Red US via the…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/nikki-humphrey-0093928_change-and-belonging-activity-7066705436757962753-AkKm?trk=public_profile_like_view",
"image": "https://media.licdn.com/dms/image/D4D10AQGOCBbUPaN1gw/image-shrink_800/0/1684833868399?e=1685628000&v=beta&t=d9E9JRc1psuRrAO_kXa4_Lr81E2n82t8My7fXv3lkpo",
"title": "“True belonging cannot be achieved with a half-hearted approach to DE&I. Any new policies or practices must be purposeful, sustainable and with the…",
"activity": "Liked by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_virginfamily-activity-7066700954657538048-q14t?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4D10AQEFCt3ob2k77A/videocover-low/0/1684832763207?e=1685628000&v=beta&t=YU4isUVGVqkdfaUin_3HIplnOgTJw7LbJUoZf2mPylw",
"title": "Great to sit down with Andy Fishburn from Virgin StartUp and six Scottish founders that have received support from our not-for-profit…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_the-superhumans-center-is-a-newly-opened-activity-7066692655505694720-_ijY?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4D10AQFdLXTtXjJf8A/videocover-low/0/1684830572175?e=1685628000&v=beta&t=G1N1pP__XBXuywfyJ50CHMZwVFncRUMNHtho7LU4ZZ4",
"title": "The Superhumans Center is a newly opened, world-class medical centre in Ukraine providing treatment and rehabilitation for wounded victims of war. I…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/virgin-unite_virgin-unite-is-committed-to-bringing-together-activity-7066068888618160128-hZni?trk=public_profile_like_view",
"image": "https://static.licdn.com/aero-v1/sc/h/51xdp0u9qm8nhegwpxoxgd0mb",
"title": "Virgin Unite is committed to bringing together people and entrepreneurial ideas to create opportunities for a better world. We're incredibly lucky to…",
"activity": "Liked by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_dolphins-spotted-on-necker-activity-7066095736513261568-eH9U?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQGIYgbC9w4ZQQ/videocover-low/0/1684688435192?e=1685628000&v=beta&t=vhaaGHTOnyTniMzP69bMHWuMF842iv-rYlXBm0776tk",
"title": "Dolphins spotted on Necker. Just incredible.",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_a-hero-for-me-peter-gabriel-on-his-long-activity-7066069471844528128-ioF6?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQG2ft0v2f79pw/image-shrink_800/0/1684682243140?e=1685628000&v=beta&t=KVCXLb1ic47_rwqLMCOEdiChLYvxbBfdUWagptGaILQ",
"title": "A lovely reflection from Peter Gabriel about his friendship with President Jimmy Carter, and how we helped to shape the mission of The Elders…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/virgin-unite_guest-oklahomans-do-you-want-to-be-known-activity-7065348326191181824-Zbot?trk=public_profile_like_view",
"image": "https://media.licdn.com/dms/image/sync/D4E27AQG77zr8WcibSg/articleshare-shrink_800/0/1684510290014?e=1685628000&v=beta&t=zFuJlm1wh22RAsOYa6OwDiv5dFVmTK75a00iTj0epSE",
"title": "Thanks to an intervention by the US Supreme Court, Richard Glossip’s execution has once again been halted. Richard Branson has joined other business…",
"activity": "Liked by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_this-weekrichard-glossipwas-scheduled-activity-7065310255307481090-oZj-?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQGi9fHqL02B7g/image-shrink_800/0/1684501230918?e=1685628000&v=beta&t=9jPMwpo7Y_3aTV9fWiokbGK1tgZb4VuZdOhHir05yWg",
"title": "This week, Richard Glossip was scheduled to be executed. I’m grateful to all those who have worked so hard to keep him alive. He deserves every…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_virginfamily-activity-7065244910886494208-2vfG?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQG-GeW0-_U_CA/image-shrink_800/0/1684485652454?e=1685628000&v=beta&t=BP_YP11jbpvmuUoQA9HXWpAzY90zqUGan98iRHZM5fc",
"title": "Huge congratulations to Virgin Hotels Edinburgh for being named Scotland’s Best Newcomer at the Scottish Hotel Awards. Here’s a lovely read on what…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/rbranson_most-adventures-ive-embarked-upon-whether-activity-7065021773213229057-aj4O?trk=public_profile_share_view",
"image": "https://media.licdn.com/dms/image/D4E10AQEdpNfIIhO9ng/image-shrink_1280/0/1684432451412?e=1685628000&v=beta&t=aMd5uY7lBEoG4yyNAsrSm7Kz6x4EAn_i82Lg-NwCu7o",
"title": "Most adventures I’ve embarked upon – whether it be starting a business, flying a hot-air balloon, or tackling a global issue – are more fun and more…",
"activity": "Shared by Richard Branson"
},
{
"link": "https://www.linkedin.com/posts/holly-branson_disease-philanthropy-collaboration-activity-7064157281067638784-oyfM?trk=public_profile_like_view",
"image": "https://media.licdn.com/dms/image/D4E10AQEdIZsZjv4bEQ/videocover-low/0/1684226299207?e=1685628000&v=beta&t=4cABQlOnOngsa2lsOF0aNdvhlLhmfEEaKkyJV9UxJWs",
"title": "This jar that dad is holding is filled with 200 parasitic roundworms. It’s devastating and difficult to comprehend that it’s also the number…",
"activity": "Liked by Richard Branson"
}
],
"experience": [
{
"position": "Founder",
"company_url": "https://www.linkedin.com/company/virgin-atlantic-airways?trk=public_profile_experience-item_profile-section-card_subtitle-click",
"company_name": "Virgin Group",
"location": "",
"summary": "Tie-loathing adventurer and thrill seeker, who believes in turning ideas into reality. Otherwise known as Dr Yes at Virgin!",
"starts_at": "Jan 1968",
"ends_at": "Present",
"duration": ""
}
],
"education": [],
"volunteering": [],
"certification": [],
"people_also_viewed": [
{
"link": "https://in.linkedin.com/in/kunalshah1?trk=public_profile_browsemap",
"name": "Kunal Shah",
"summary": "Founder : CRED",
"location": "Bengaluru"
},
{
"link": "https://www.linkedin.com/in/simonsinek?trk=public_profile_browsemap",
"name": "Simon Sinek",
"summary": "Optimist and Author at Simon Sinek Inc.",
"location": "New York, NY"
},
{
"link": "https://www.linkedin.com/in/robert-downey-jr-ab6703215?trk=public_profile_browsemap",
"name": "Robert Downey Jr.",
"summary": "Founder, FootPrint Coalition and Co-founder, Team Downey",
"location": "Los Angeles, CA"
},
{
"link": "https://www.linkedin.com/in/williamhgates?trk=public_profile_browsemap",
"name": "Bill Gates",
"summary": "Co-chair, Bill & Melinda Gates Foundation",
"location": "Seattle, WA"
},
{
"link": "https://www.linkedin.com/in/daymondjohn?trk=public_profile_browsemap",
"name": "Daymond John",
"summary": "CEO of FUBU and The Shark Group, TV Personality on ABC Shark Tank, Public Speaker",
"location": "New York, NY"
},
{
"link": "https://www.linkedin.com/in/barbaracorcoran?trk=public_profile_browsemap",
"name": "Barbara Corcoran",
"summary": "Shark on ABC's Shark Tank, Public Speaker, Podcast Host, Author, Founder of The Corcoran Group",
"location": "New York, NY"
},
{
"link": "https://uk.linkedin.com/in/stevenbartlett-123?trk=public_profile_browsemap",
"name": "Steven Bartlett",
"summary": "Building: Thirdweb & Flight Story & The Diary Of A CEO",
"location": "United Kingdom"
},
{
"link": "https://www.linkedin.com/in/shaneemoret?trk=public_profile_browsemap",
"name": "Shanee Moret",
"summary": "Founder of GrowthAcademy.Global, Personal Brand Strategist, Community Builder, Servant Leader, Mother",
"location": "West Palm Beach, FL"
},
{
"link": "https://www.linkedin.com/in/jeffweiner08?trk=public_profile_browsemap",
"name": "Jeff Weiner",
"summary": "Executive Chairman at LinkedIn / Founding Partner Next Play Ventures",
"location": "United States"
},
{
"link": "https://www.linkedin.com/in/ariannahuffington?trk=public_profile_browsemap",
"name": "Arianna Huffington",
"summary": "Founder and CEO at Thrive",
"location": "New York, NY"
},
{
"link": "https://www.linkedin.com/in/sarablakely27?trk=public_profile_browsemap",
"name": "Sara Blakely",
"summary": "Founder of SPANX",
"location": "Atlanta, GA"
},
{
"link": "https://www.linkedin.com/in/jessica-alba?trk=public_profile_browsemap",
"name": "Jessica Alba",
"summary": "Founder of The Honest Company",
"location": "Los Angeles Metropolitan Area"
},
{
"link": "https://www.linkedin.com/in/reidhoffman?trk=public_profile_browsemap",
"name": "Reid Hoffman",
"summary": "Entrepreneur. Product and Business Strategist. Investor. Podcaster.",
"location": "United States"
},
{
"link": "https://www.linkedin.com/in/tiabarr?trk=public_profile_browsemap",
"name": "Tia Barr",
"summary": "CEO/ Founder Lucky Barr Productions LLC.",
"location": "Beverly Hills, CA"
},
{
"link": "https://www.linkedin.com/in/brenebrown?trk=public_profile_browsemap",
"name": "Brené Brown",
"summary": "University of Houston + University of Texas at Austin | Researcher. Storyteller. Courage-builder.",
"location": "Houston, TX"
},
{
"link": "https://www.linkedin.com/in/kevinolearytv?trk=public_profile_browsemap",
"name": "Kevin O'Leary",
"summary": "Chairman, O’Leary Ventures and Beanstox",
"location": "West Palm Beach, FL"
},
{
"link": "https://www.linkedin.com/in/timtebow15?trk=public_profile_browsemap",
"name": "Tim Tebow",
"summary": "Follower of Jesus Christ, 5x NYT Best-Selling Author, 2x National Champion, Heisman Trophy Winner, Founder & Chairman of the Tim Tebow Foundation, and ESPN Analyst.",
"location": "Metro Jacksonville"
},
{
"link": "https://www.linkedin.com/in/alex-rodriguez-b4161815a?trk=public_profile_browsemap",
"name": "Alex Rodriguez",
"summary": "Chairman and CEO, A-Rod Corp | CEO, Slam Corp | LP, Minnesota Timberwolves and Lynx",
"location": "Miami, FL"
},
{
"link": "https://www.linkedin.com/in/deepakchopra?trk=public_profile_browsemap",
"name": "Deepak Chopra MD (official)",
"summary": "Founder at Deepak Chopra LLC",
"location": "Carlsbad, CA"
},
{
"link": "https://www.linkedin.com/in/levarburton?trk=public_profile_browsemap",
"name": "LeVar Burton",
"summary": "Actor, presenter, director, author and podcaster. Founder at LeVar Burton Entertainment.",
"location": "Los Angeles, CA"
}
],
"similar_profiles": [
{
"link": "https://www.linkedin.com/in/richard-branson-8a38866?trk=public_profile_samename-profile",
"name": "Richard Branson",
"summary": "Editor In Chief at American Association for Respiratory Care (AARC) - Professor, University of Cincinnati College of Medicine",
"location": "Cincinnati, OH"
},
{
"link": "https://www.linkedin.com/in/richard-branson-931a5453?trk=public_profile_samename-profile",
"name": "Richard Branson",
"summary": "CEO",
"location": "Odessa, FL"
},
{
"link": "https://uk.linkedin.com/in/richard-branson-5967a7100?trk=public_profile_samename-profile",
"name": "Richard Branson",
"summary": "Entrepreneur",
"location": "United Kingdom"
},
{
"link": "https://uk.linkedin.com/in/richard-branson-aba61ba1?trk=public_profile_samename-profile",
"name": "richard branson",
"summary": "ceo",
"location": "London"
}
],
"recommendations": [],
"publications": [],
"courses": [],
"languages": [],
"organizations": [],
"projects": [],
"awards": [],
"score": []
}
]
Last updated