Get Similar Profiles
curl --request GET \
--url https://api.agntdata.dev/v1/data/linkedin/similar-profiles \
--header 'Authorization: <api-key>'import requests
url = "https://api.agntdata.dev/v1/data/linkedin/similar-profiles"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.agntdata.dev/v1/data/linkedin/similar-profiles', 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.agntdata.dev/v1/data/linkedin/similar-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://api.agntdata.dev/v1/data/linkedin/similar-profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://api.agntdata.dev/v1/data/linkedin/similar-profiles")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/linkedin/similar-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "success",
"data": {
"items": [
{
"id": 322149465,
"urn": "ACoAABMznFkB_XPgkYHnUl33kIHTWt1DtMAV6Pg",
"username": "jenhsunhuang",
"firstName": "Jensen",
"lastName": "Huang",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1724130099593?e=1739404800&v=beta&t=MflSUiQX6SidjJEUY1T9PfTsctCJkAMIaECz7YQeaG4",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1724130099593?e=1739404800&v=beta&t=xUSMMxT912veDf3CjFkRao1OMiBXKuqvgiXt8G1h4q0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1724130099593?e=1739404800&v=beta&t=lBl4nadQjM-5-nyKuwqn-fyq2JnvpJzza_PfKe7csg4",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1724130099627?e=1739404800&v=beta&t=nC51tEw-_srorq7ekhm8RfL0C-D0X-dD_xCJUPsZxfQ",
"width": 800,
"height": 800
}
],
"headline": "Founder and CEO, NVIDIA",
"geo": {},
"projects": {}
},
{
"id": 1523653,
"urn": "ACoAAAAXP8UB4_GzJNUYcEDdAM6IBQNKZYe-WOU",
"username": "andy-jassy-8b1615",
"firstName": "Andy",
"lastName": "Jassy",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1631724420241?e=1739404800&v=beta&t=48zYYgmOunwVvMDTHEuewxhkN7v6pTsohrRCmQaHxFQ",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1631724420241?e=1739404800&v=beta&t=uOwQzhkxMDNn6vdP_iriv3AhvOuETyCLcHRyqqavDH0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1631724420241?e=1739404800&v=beta&t=_LDl0q9pZ_1R0bSKCt0cwhRTOGHY1iDrDwf7fyMjgF4",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1631724420241?e=1739404800&v=beta&t=GB6ViAeRChIsIvI6f9ZaYsYZJgb5tMfCiZSNqv9e_ww",
"width": 800,
"height": 800
}
],
"headline": "President and CEO at Amazon",
"geo": {},
"projects": {}
},
{
"id": 955327387,
"urn": "ACoAADjxI5sB8zh1KYWtStYxnRHjvVa6ckeE8Eo",
"username": "nitin-gadkari-5b7b2b227",
"firstName": "Nitin",
"lastName": "Gadkari",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1723815535172?e=1739404800&v=beta&t=nVHIlaw1j5ZET5__8T1uBTeW7ImmYLUuI7vYL_o7OFA",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1723815535172?e=1739404800&v=beta&t=FTmHqA35LGm5IKF9wrn0sMptzwoWRNmtkCoQXafxZI0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1723815535172?e=1739404800&v=beta&t=Duln3ZuOyS9vHhe9qnlUF05UJlgKMt8_azoU_xPKTFY",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1723815535181?e=1739404800&v=beta&t=3dhSHckYav_vhVlzEV78ow9cG99k6i0C5DwIkh3nEPo",
"width": 601,
"height": 601
}
],
"headline": "Minister of Road Transport & Highways, Government of India at Government of India",
"geo": {},
"projects": {}
},
{
"id": 226626655,
"urn": "ACoAAA2CDF8BlyDd8jHcvIujtyUS6YDtx6EOzJ4",
"username": "justintrudeau",
"firstName": "Justin",
"lastName": "Trudeau",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1629053585597?e=1739404800&v=beta&t=FLAG2xE9jYE5IfHScSZOEPMNqw2JOthR49Hrhq599rg",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1629053585597?e=1739404800&v=beta&t=76tN96km7yCZBeE0waqyHyKeiQDD1Ij5uXEy_EXF8t4",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1629053585597?e=1739404800&v=beta&t=SKjEuEcCbRR-RPd8T0UhM9hMbfEP5wLrWXxIOrMzOSE",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1629053585597?e=1739404800&v=beta&t=x-wF7rVEk27HPo2eFSZwI0wjQxopqoJOVqVyUMJ8hbE",
"width": 800,
"height": 800
}
],
"headline": "Prime Minister of Canada | Premier ministre du Canada",
"geo": {},
"projects": {}
},
{
"id": 454269,
"urn": "ACoAAAAG7n0BqIWxwKBc4aC0Io6sFM1Rzg3vONI",
"username": "khanacademy",
"firstName": "Sal",
"lastName": "Khan",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1615325372156?e=1739404800&v=beta&t=PAWj5X0i9Ps6DxiR8TE3ptbBgGUxnOXAjehRxQ4dm3k",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1615325372156?e=1739404800&v=beta&t=KRspN-fATjfv7LTdo4nnMcOR2gBRzw1-EvWkTKJANWE",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1615325372156?e=1739404800&v=beta&t=9ype_hPnsN2l36torJSePKHG8wRfzIshgh5An7P_Zc0",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1615325372156?e=1739404800&v=beta&t=NTAS0usgF1yP9Ke1C-3zAppE4WwPImM6I3cm7yih1ME",
"width": 800,
"height": 800
}
],
"headline": "Khan Academy, Schoolhouse.world, Khan Lab School, Khan Lab High School",
"geo": {},
"projects": {}
}
]
}
}Profile APIs
Get Similar Profiles
Returns profiles that are similar to the provided profile
GET
/
v1
/
data
/
linkedin
/
similar-profiles
Get Similar Profiles
curl --request GET \
--url https://api.agntdata.dev/v1/data/linkedin/similar-profiles \
--header 'Authorization: <api-key>'import requests
url = "https://api.agntdata.dev/v1/data/linkedin/similar-profiles"
headers = {"Authorization": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<api-key>'}};
fetch('https://api.agntdata.dev/v1/data/linkedin/similar-profiles', 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.agntdata.dev/v1/data/linkedin/similar-profiles",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: <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://api.agntdata.dev/v1/data/linkedin/similar-profiles"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<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://api.agntdata.dev/v1/data/linkedin/similar-profiles")
.header("Authorization", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.agntdata.dev/v1/data/linkedin/similar-profiles")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"success": true,
"message": "success",
"data": {
"items": [
{
"id": 322149465,
"urn": "ACoAABMznFkB_XPgkYHnUl33kIHTWt1DtMAV6Pg",
"username": "jenhsunhuang",
"firstName": "Jensen",
"lastName": "Huang",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1724130099593?e=1739404800&v=beta&t=MflSUiQX6SidjJEUY1T9PfTsctCJkAMIaECz7YQeaG4",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1724130099593?e=1739404800&v=beta&t=xUSMMxT912veDf3CjFkRao1OMiBXKuqvgiXt8G1h4q0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1724130099593?e=1739404800&v=beta&t=lBl4nadQjM-5-nyKuwqn-fyq2JnvpJzza_PfKe7csg4",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/D5603AQHOzNxbdK5hrg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1724130099627?e=1739404800&v=beta&t=nC51tEw-_srorq7ekhm8RfL0C-D0X-dD_xCJUPsZxfQ",
"width": 800,
"height": 800
}
],
"headline": "Founder and CEO, NVIDIA",
"geo": {},
"projects": {}
},
{
"id": 1523653,
"urn": "ACoAAAAXP8UB4_GzJNUYcEDdAM6IBQNKZYe-WOU",
"username": "andy-jassy-8b1615",
"firstName": "Andy",
"lastName": "Jassy",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1631724420241?e=1739404800&v=beta&t=48zYYgmOunwVvMDTHEuewxhkN7v6pTsohrRCmQaHxFQ",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1631724420241?e=1739404800&v=beta&t=uOwQzhkxMDNn6vdP_iriv3AhvOuETyCLcHRyqqavDH0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1631724420241?e=1739404800&v=beta&t=_LDl0q9pZ_1R0bSKCt0cwhRTOGHY1iDrDwf7fyMjgF4",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C5603AQGSl0b1ZCh2sQ/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1631724420241?e=1739404800&v=beta&t=GB6ViAeRChIsIvI6f9ZaYsYZJgb5tMfCiZSNqv9e_ww",
"width": 800,
"height": 800
}
],
"headline": "President and CEO at Amazon",
"geo": {},
"projects": {}
},
{
"id": 955327387,
"urn": "ACoAADjxI5sB8zh1KYWtStYxnRHjvVa6ckeE8Eo",
"username": "nitin-gadkari-5b7b2b227",
"firstName": "Nitin",
"lastName": "Gadkari",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1723815535172?e=1739404800&v=beta&t=nVHIlaw1j5ZET5__8T1uBTeW7ImmYLUuI7vYL_o7OFA",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1723815535172?e=1739404800&v=beta&t=FTmHqA35LGm5IKF9wrn0sMptzwoWRNmtkCoQXafxZI0",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1723815535172?e=1739404800&v=beta&t=Duln3ZuOyS9vHhe9qnlUF05UJlgKMt8_azoU_xPKTFY",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/D4D03AQFuxFsr9M-Xlg/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1723815535181?e=1739404800&v=beta&t=3dhSHckYav_vhVlzEV78ow9cG99k6i0C5DwIkh3nEPo",
"width": 601,
"height": 601
}
],
"headline": "Minister of Road Transport & Highways, Government of India at Government of India",
"geo": {},
"projects": {}
},
{
"id": 226626655,
"urn": "ACoAAA2CDF8BlyDd8jHcvIujtyUS6YDtx6EOzJ4",
"username": "justintrudeau",
"firstName": "Justin",
"lastName": "Trudeau",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1629053585597?e=1739404800&v=beta&t=FLAG2xE9jYE5IfHScSZOEPMNqw2JOthR49Hrhq599rg",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1629053585597?e=1739404800&v=beta&t=76tN96km7yCZBeE0waqyHyKeiQDD1Ij5uXEy_EXF8t4",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1629053585597?e=1739404800&v=beta&t=SKjEuEcCbRR-RPd8T0UhM9hMbfEP5wLrWXxIOrMzOSE",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C4E03AQGD-PJnXZmU8g/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1629053585597?e=1739404800&v=beta&t=x-wF7rVEk27HPo2eFSZwI0wjQxopqoJOVqVyUMJ8hbE",
"width": 800,
"height": 800
}
],
"headline": "Prime Minister of Canada | Premier ministre du Canada",
"geo": {},
"projects": {}
},
{
"id": 454269,
"urn": "ACoAAAAG7n0BqIWxwKBc4aC0Io6sFM1Rzg3vONI",
"username": "khanacademy",
"firstName": "Sal",
"lastName": "Khan",
"profilePictures": [
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_100_100/profile-displayphoto-shrink_100_100/0/1615325372156?e=1739404800&v=beta&t=PAWj5X0i9Ps6DxiR8TE3ptbBgGUxnOXAjehRxQ4dm3k",
"width": 100,
"height": 100
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_200_200/profile-displayphoto-shrink_200_200/0/1615325372156?e=1739404800&v=beta&t=KRspN-fATjfv7LTdo4nnMcOR2gBRzw1-EvWkTKJANWE",
"width": 200,
"height": 200
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_400_400/profile-displayphoto-shrink_400_400/0/1615325372156?e=1739404800&v=beta&t=9ype_hPnsN2l36torJSePKHG8wRfzIshgh5An7P_Zc0",
"width": 400,
"height": 400
},
{
"url": "https://media.licdn.com/dms/image/v2/C4D03AQGac362dD7snA/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1615325372156?e=1739404800&v=beta&t=NTAS0usgF1yP9Ke1C-3zAppE4WwPImM6I3cm7yih1ME",
"width": 800,
"height": 800
}
],
"headline": "Khan Academy, Schoolhouse.world, Khan Lab School, Khan Lab High School",
"geo": {},
"projects": {}
}
]
}
}Authorizations
Bearer token. Pass your agntdata API key as: Authorization: Bearer agnt_live_...
Query Parameters
⌘I