Retrieve the full profile record for a person, or the organisation record for a company.
A valid API key is required in the request header.
Example Requests:
GET /v1/contact/details?linkedinUrl=linkedin.com/in/qwerty
GET /v1/contact/details?contactId=5f18f116e2cd24da81189ced5adcc710
GET /v1/contact/details?type=company&linkedinUrl=linkedin.com/company/deepenrich
200 OK – Request Accepted
Example Response:
{
"message": "success",
"id": "4fb3e13e-13c6-4f03-86aa-9ed2c651876e",
"name": "John Doe",
"status": "pending"
}
For a person: contactId, linkedinUrl and status, followed by the stored profile record — education, experience, organisation, title, location, certifications, industry and summary.
{
"contactId": "5f18f116e2cd24da81189ced5adcc710",
"linkedinUrl": "linkedin.com/in/qwerty",
"status": "completed",
"name": "John Doe",
"location": "San Diego County, California, United States",
"education": [ ... ],
"experience": [ ... ],
"organization": { "name": "Deepenrich", "industry": "..." }
}
For a company, a fixed organisation block: linkedinUrl, name, about, industry, revenue, website, founded, size and location.
curl --request GET \
--url 'https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty' \
--header 'Authorization: Bearer YOUR_API_KEY'
import requests
url = "https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
response = requests.request("GET", url, headers=headers)
print(response.text)
const options = {
method: 'GET',
headers: {Authorization: 'Bearer YOUR_API_KEY'}
};
fetch('https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty', options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));
<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer YOUR_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"
"io/ioutil"
"net/http"
)
func main() {
url := "https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}
HttpResponse<String> response = Unirest.get("https://app.deepenrich.com/api/v1/contact/details?linkedinUrl=linkedin.com/in/qwerty")
.header("Authorization", "Bearer YOUR_API_KEY")
.asString();
{
"message": "success",
"id": "4fb3e13e-13c6-4f03-86aa-9ed2c651876e",
"name": "John Doe",
"status": "pending"
}
{
"message": "success",
"id": "4fb3e13e-13c6-4f03-86aa-9ed2c651876e",
"name": "John Doe",
"status": "completed",
"data": [
{
"contactId": "5f18f116e2cd24da81189ced5adcc710",
"linkedinUrl": "linkedin.com/in/qwerty",
"status": "completed",
"name": "John Doe",
"location": "San Diego County, California, United States",
"education": [],
"experience": [],
"organization": { "name": "Deepenrich", "industry": "it services and it consulting" }
}
]
}
{
"message": "provide either 'linkedinUrl' or 'contactId', not both"
}
{
"message": "'linkedinUrl' or 'contactId' is required"
}
{
"message": "invalid linkedinUrl"
}
{
"message": "Insufficient Credits"
}
{
"message": "Api daily limit have been exhausted"
}
{
"message": "Please provide valid api key"
}
{
"message": "User not found"
}