/linkedin/user
curl --request POST \
--url https://api.anysite.io/api/linkedin/user \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"user": "<string>",
"timeout": 300,
"with_experience": true,
"with_education": true,
"with_honors": true,
"with_certificates": true,
"with_languages": true,
"with_patents": true,
"with_skills": true,
"with_description_and_top_skills": true,
"fast_mode": false
}
'import requests
url = "https://api.anysite.io/api/linkedin/user"
payload = {
"user": "<string>",
"timeout": 300,
"with_experience": True,
"with_education": True,
"with_honors": True,
"with_certificates": True,
"with_languages": True,
"with_patents": True,
"with_skills": True,
"with_description_and_top_skills": True,
"fast_mode": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user: '<string>',
timeout: 300,
with_experience: true,
with_education: true,
with_honors: true,
with_certificates: true,
with_languages: true,
with_patents: true,
with_skills: true,
with_description_and_top_skills: true,
fast_mode: false
})
};
fetch('https://api.anysite.io/api/linkedin/user', 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://api.anysite.io/api/linkedin/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user' => '<string>',
'timeout' => 300,
'with_experience' => true,
'with_education' => true,
'with_honors' => true,
'with_certificates' => true,
'with_languages' => true,
'with_patents' => true,
'with_skills' => true,
'with_description_and_top_skills' => true,
'fast_mode' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/linkedin/user"
payload := strings.NewReader("{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/linkedin/user")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/linkedin/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}"
response = http.request(request)
puts response.read_body[
{
"internal_id": {
"value": "<string>"
},
"urn": {
"value": "<string>"
},
"name": "<string>",
"alias": "<string>",
"url": "<string>",
"@type": "LinkedinUser",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"follower_count": 123,
"image": "<string>",
"background_image": "<string>",
"connection_count": 123,
"top_skills": [
"<string>"
],
"location": "<string>",
"country_code": "<string>",
"country": "<string>",
"city": "<string>",
"pronouns": "<string>",
"custom_pronouns": "<string>",
"experience": [
{
"company": {
"name": "<string>",
"@type": "LinkedinUserExperienceCompany",
"urn": {
"value": "<string>"
},
"url": "<string>",
"alias": "<string>",
"industry": {
"type": "<string>",
"value": "<string>"
},
"industry_full": {
"urn": {
"type": "<string>",
"value": "<string>"
},
"name": "<string>",
"hierarchy": "<string>",
"@type": "LinkedinIndustry"
},
"employee_range": "<string>",
"logo_url": "<string>"
},
"@type": "LinkedinUserExperience",
"position": "<string>",
"interval": "<string>",
"period": "<string>",
"location": "<string>",
"medias": [
{
"@type": "LinkedinUserExperienceMedia",
"id": "<string>",
"url": "<string>",
"text": "<string>",
"image": "<string>"
}
]
}
],
"education": [
{
"company": {
"name": "<string>",
"@type": "LinkedinUserEducationCompany",
"urn": {
"value": "<string>"
},
"url": "<string>",
"alias": "<string>",
"industry": {
"type": "<string>",
"value": "<string>"
},
"industry_full": {
"urn": {
"type": "<string>",
"value": "<string>"
},
"name": "<string>",
"hierarchy": "<string>",
"@type": "LinkedinIndustry"
},
"employee_range": "<string>",
"logo_url": "<string>"
},
"@type": "LinkedinUserEducation",
"major": "<string>",
"interval": "<string>"
}
],
"languages": [
{
"name": "<string>",
"@type": "LinkedinUserLanguage",
"level": "<string>"
}
],
"certificates": [
{
"name": "<string>",
"@type": "LinkedinUserCertificate",
"company": {
"name": "<string>",
"@type": "LinkedinUserCertificateCompany",
"urn": {
"value": "<string>"
},
"url": "<string>"
},
"created_at": "<string>",
"label": "<string>",
"url": "<string>"
}
],
"honors": [
{
"name": "<string>",
"@type": "LinkedinUserHonor",
"issued_by": "<string>",
"issued_at": "<string>",
"text": "<string>"
}
],
"patents": [
{
"name": "<string>",
"@type": "LinkedinUserPatent",
"id": "<string>",
"issued_at": "<string>",
"text": "<string>",
"url": "<string>",
"inventor_count": 123
}
],
"skills": [
{
"name": "<string>",
"@type": "LinkedinUserSkill",
"urn": {
"value": "<string>"
}
}
],
"verified": false,
"is_premium": false,
"is_top_voice": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}LinkedIn Users
/linkedin/user
Linkedin Get User
Price: 1-9 credits depending on requested fields. Base price is 9 credits. Each field explicitly set to false reduces the price by 1 credit (minimum 1 credit): with_experience, with_education, with_honors, with_certificates, with_languages, with_patents, with_skills, with_description_and_top_skills.
⚠️ Common errors: 412: User not found — do NOT guess aliases. Use /linkedin/search/users to find the correct alias or URN first.
POST
/
api
/
linkedin
/
user
/linkedin/user
curl --request POST \
--url https://api.anysite.io/api/linkedin/user \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"user": "<string>",
"timeout": 300,
"with_experience": true,
"with_education": true,
"with_honors": true,
"with_certificates": true,
"with_languages": true,
"with_patents": true,
"with_skills": true,
"with_description_and_top_skills": true,
"fast_mode": false
}
'import requests
url = "https://api.anysite.io/api/linkedin/user"
payload = {
"user": "<string>",
"timeout": 300,
"with_experience": True,
"with_education": True,
"with_honors": True,
"with_certificates": True,
"with_languages": True,
"with_patents": True,
"with_skills": True,
"with_description_and_top_skills": True,
"fast_mode": False
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
user: '<string>',
timeout: 300,
with_experience: true,
with_education: true,
with_honors: true,
with_certificates: true,
with_languages: true,
with_patents: true,
with_skills: true,
with_description_and_top_skills: true,
fast_mode: false
})
};
fetch('https://api.anysite.io/api/linkedin/user', 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://api.anysite.io/api/linkedin/user",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'user' => '<string>',
'timeout' => 300,
'with_experience' => true,
'with_education' => true,
'with_honors' => true,
'with_certificates' => true,
'with_languages' => true,
'with_patents' => true,
'with_skills' => true,
'with_description_and_top_skills' => true,
'fast_mode' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/linkedin/user"
payload := strings.NewReader("{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/linkedin/user")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/linkedin/user")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"user\": \"<string>\",\n \"timeout\": 300,\n \"with_experience\": true,\n \"with_education\": true,\n \"with_honors\": true,\n \"with_certificates\": true,\n \"with_languages\": true,\n \"with_patents\": true,\n \"with_skills\": true,\n \"with_description_and_top_skills\": true,\n \"fast_mode\": false\n}"
response = http.request(request)
puts response.read_body[
{
"internal_id": {
"value": "<string>"
},
"urn": {
"value": "<string>"
},
"name": "<string>",
"alias": "<string>",
"url": "<string>",
"@type": "LinkedinUser",
"first_name": "<string>",
"last_name": "<string>",
"headline": "<string>",
"follower_count": 123,
"image": "<string>",
"background_image": "<string>",
"connection_count": 123,
"top_skills": [
"<string>"
],
"location": "<string>",
"country_code": "<string>",
"country": "<string>",
"city": "<string>",
"pronouns": "<string>",
"custom_pronouns": "<string>",
"experience": [
{
"company": {
"name": "<string>",
"@type": "LinkedinUserExperienceCompany",
"urn": {
"value": "<string>"
},
"url": "<string>",
"alias": "<string>",
"industry": {
"type": "<string>",
"value": "<string>"
},
"industry_full": {
"urn": {
"type": "<string>",
"value": "<string>"
},
"name": "<string>",
"hierarchy": "<string>",
"@type": "LinkedinIndustry"
},
"employee_range": "<string>",
"logo_url": "<string>"
},
"@type": "LinkedinUserExperience",
"position": "<string>",
"interval": "<string>",
"period": "<string>",
"location": "<string>",
"medias": [
{
"@type": "LinkedinUserExperienceMedia",
"id": "<string>",
"url": "<string>",
"text": "<string>",
"image": "<string>"
}
]
}
],
"education": [
{
"company": {
"name": "<string>",
"@type": "LinkedinUserEducationCompany",
"urn": {
"value": "<string>"
},
"url": "<string>",
"alias": "<string>",
"industry": {
"type": "<string>",
"value": "<string>"
},
"industry_full": {
"urn": {
"type": "<string>",
"value": "<string>"
},
"name": "<string>",
"hierarchy": "<string>",
"@type": "LinkedinIndustry"
},
"employee_range": "<string>",
"logo_url": "<string>"
},
"@type": "LinkedinUserEducation",
"major": "<string>",
"interval": "<string>"
}
],
"languages": [
{
"name": "<string>",
"@type": "LinkedinUserLanguage",
"level": "<string>"
}
],
"certificates": [
{
"name": "<string>",
"@type": "LinkedinUserCertificate",
"company": {
"name": "<string>",
"@type": "LinkedinUserCertificateCompany",
"urn": {
"value": "<string>"
},
"url": "<string>"
},
"created_at": "<string>",
"label": "<string>",
"url": "<string>"
}
],
"honors": [
{
"name": "<string>",
"@type": "LinkedinUserHonor",
"issued_by": "<string>",
"issued_at": "<string>",
"text": "<string>"
}
],
"patents": [
{
"name": "<string>",
"@type": "LinkedinUserPatent",
"id": "<string>",
"issued_at": "<string>",
"text": "<string>",
"url": "<string>",
"inventor_count": 123
}
],
"skills": [
{
"name": "<string>",
"@type": "LinkedinUserSkill",
"urn": {
"value": "<string>"
}
}
],
"verified": false,
"is_premium": false,
"is_top_voice": false
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Required range:
20 <= x <= 1500Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Available options:
open_to_work, hiring Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I