Person Profile Scraper
This API can be used for scraping any public person's profile. You just have to pass the profile ID to our API.
You have to send a GET request to https://api.scrapingdog.com/profile along with the below given parameters.
Parameters
api_key required
Your personal API key. Available on your dashboard Type: String
id required
This is the 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=profile
Type: String
premium
This is a boolean parameter that can enable premium proxies to bypass LinkedIn's fun captcha.
By default it is false.
Type: String
webhook
This parameter is used to schedule the scraping of a profile after 2-3 minutes. This can only be used when type=profile. This method is preferred when retrieving profile data as it increases the success rate of obtaining the profile.
It is false by default.
Type: String
API Example
curl "https://api.scrapingdog.com/profile/?api_key=5eaa61a6e562fc52fe763tr516e4653&type=profile&id=rbranson"import requests
url = "https://api.scrapingdog.com/profile/"
params = {
"api_key": "5eaa61a6e562fc52fe763tr516e4653",
"type": "profile",
"id": "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/profile/';
const params = {
api_key: '5eaa61a6e562fc52fe763tr516e4653',
type: 'profile',
id: '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);
});
Last updated