curl --request GET \
--url https://web-scraping-api2.p.rapidapi.com/get-personal-profile \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://web-scraping-api2.p.rapidapi.com/get-personal-profile"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://web-scraping-api2.p.rapidapi.com/get-personal-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web-scraping-api2.p.rapidapi.com/get-personal-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web-scraping-api2.p.rapidapi.com/get-personal-profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web-scraping-api2.p.rapidapi.com/get-personal-profile")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web-scraping-api2.p.rapidapi.com/get-personal-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "ok",
"data": {
"linkedin_url": "https://linkedin.com/in/anthonyjames",
"first_name": "Anthony",
"last_name": "James",
"full_name": "Anthony James",
"location": "Sydney, Australia",
"city": "Sydney",
"state": "New South Wales",
"country": "Australia",
"headline": "Technology Leader & Innovator",
"about": "Experienced leader in marketing and technology.",
"email": "[email protected]",
"phone": "+61234567890",
"profile_image_url": "https://example.com/profile.jpg",
"follower_count": 20000,
"connection_count": 15000,
"job_title": "CEO",
"current_job_duration": "8 years 2 months",
"current_company_join_month": 3,
"current_company_join_year": 2015,
"company": "Trinity Consulting Services",
"company_description": "A global leader in technology consulting.",
"company_domain": "trinity.com",
"company_employee_range": "201-500",
"company_industry": "Technology Consulting",
"company_linkedin_url": "https://linkedin.com/company/trinity",
"company_logo_url": "https://example.com/logo.png",
"company_website": "https://trinity.com",
"company_year_founded": 1990,
"hq_city": "Sydney",
"hq_country": "Australia",
"hq_region": "New South Wales",
"school": "University of Technology Sydney",
"skills": "Leadership, Innovation, Marketing",
"urn": "ACoAAAGafwYBi3pXOoVVwIyAFc453DuIv50jfTA",
"experiences": [
{
"company": "ABC Tech",
"title": "Senior Consultant",
"location": "Melbourne, Australia",
"description": "Led multiple IT projects.",
"start_year": 2010,
"end_year": 2015,
"duration": "5 years"
}
],
"educations": [
{
"school": "University of Technology Sydney",
"degree": "MBA",
"field_of_study": "Business Administration",
"start_year": 2005,
"end_year": 2007,
"activities": "Student Union President"
}
],
"certifications": [
{
"name": "Project Management Professional (PMP)",
"authority": "PMI",
"issued": "2021-01",
"url": "https://example.com/certificate"
}
],
"languages": "English, French",
"profile_id": "profile123",
"profile_status": {
"joined_date": "2008-01-01",
"verified": true,
"profile_photo_updated": true,
"contact_info_updated": true
},
"public_id": "anthony-james"
}
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"data": null,
"message": "The url was not found on Linkedin."
}{
"data": null,
"message": "System error. We will fix it soon!"
}Get Personal Profile
-
Get comprehensive profile data, including experience, education history, and current company details.
-
2 credits per call.
-
Using each extra option will cost another 1 credit.
curl --request GET \
--url https://web-scraping-api2.p.rapidapi.com/get-personal-profile \
--header 'x-rapidapi-key: <api-key>'import requests
url = "https://web-scraping-api2.p.rapidapi.com/get-personal-profile"
headers = {"x-rapidapi-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-rapidapi-key': '<api-key>'}};
fetch('https://web-scraping-api2.p.rapidapi.com/get-personal-profile', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web-scraping-api2.p.rapidapi.com/get-personal-profile",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-rapidapi-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://web-scraping-api2.p.rapidapi.com/get-personal-profile"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-rapidapi-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://web-scraping-api2.p.rapidapi.com/get-personal-profile")
.header("x-rapidapi-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://web-scraping-api2.p.rapidapi.com/get-personal-profile")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-rapidapi-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"message": "ok",
"data": {
"linkedin_url": "https://linkedin.com/in/anthonyjames",
"first_name": "Anthony",
"last_name": "James",
"full_name": "Anthony James",
"location": "Sydney, Australia",
"city": "Sydney",
"state": "New South Wales",
"country": "Australia",
"headline": "Technology Leader & Innovator",
"about": "Experienced leader in marketing and technology.",
"email": "[email protected]",
"phone": "+61234567890",
"profile_image_url": "https://example.com/profile.jpg",
"follower_count": 20000,
"connection_count": 15000,
"job_title": "CEO",
"current_job_duration": "8 years 2 months",
"current_company_join_month": 3,
"current_company_join_year": 2015,
"company": "Trinity Consulting Services",
"company_description": "A global leader in technology consulting.",
"company_domain": "trinity.com",
"company_employee_range": "201-500",
"company_industry": "Technology Consulting",
"company_linkedin_url": "https://linkedin.com/company/trinity",
"company_logo_url": "https://example.com/logo.png",
"company_website": "https://trinity.com",
"company_year_founded": 1990,
"hq_city": "Sydney",
"hq_country": "Australia",
"hq_region": "New South Wales",
"school": "University of Technology Sydney",
"skills": "Leadership, Innovation, Marketing",
"urn": "ACoAAAGafwYBi3pXOoVVwIyAFc453DuIv50jfTA",
"experiences": [
{
"company": "ABC Tech",
"title": "Senior Consultant",
"location": "Melbourne, Australia",
"description": "Led multiple IT projects.",
"start_year": 2010,
"end_year": 2015,
"duration": "5 years"
}
],
"educations": [
{
"school": "University of Technology Sydney",
"degree": "MBA",
"field_of_study": "Business Administration",
"start_year": 2005,
"end_year": 2007,
"activities": "Student Union President"
}
],
"certifications": [
{
"name": "Project Management Professional (PMP)",
"authority": "PMI",
"issued": "2021-01",
"url": "https://example.com/certificate"
}
],
"languages": "English, French",
"profile_id": "profile123",
"profile_status": {
"joined_date": "2008-01-01",
"verified": true,
"profile_photo_updated": true,
"contact_info_updated": true
},
"public_id": "anthony-james"
}
}{
"data": null,
"message": "Bad request: Invalid linkedin_url."
}{
"data": null,
"message": "The url was not found on Linkedin."
}{
"data": null,
"message": "System error. We will fix it soon!"
}Authorizations
Query Parameters
A valid LinkedIn profile URL — both public ID format (https://www.linkedin.com/in/stephenlee4244315) and URN format (https://www.linkedin.com/sales/lead/ACwAAALW9HABcVdR-UuroyOHoL2iuUob1F_yDRY) are accepted.
Whether to include skills in the profile details. Enabling this option will consume 1 more credit.
true, false "false"
Whether to include certifications in the profile details. Enabling this option will consume 1 more credit.
true, false "false"
Whether to include languages in the profile details. Enabling this option will consume 1 more credit.
true, false "false"
Whether to include the profile status. Enabling this option will consume 1 more credit.
true, false "false"
Whether to include the public URL of the company associated with the profile. Free
true, false "false"
