curl --request POST \
--url https://app.pipecorn.com/api/v2/leads/single_enrich \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"first_name": "Mathieu",
"last_name": "Brun-Picard",
"company_name": "Pipecorn",
"profile_linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"live": false
}
'import requests
url = "https://app.pipecorn.com/api/v2/leads/single_enrich"
payload = {
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"first_name": "Mathieu",
"last_name": "Brun-Picard",
"company_name": "Pipecorn",
"profile_linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"live": False
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedin_url: 'https://www.linkedin.com/in/mathieu-brun-picard/',
first_name: 'Mathieu',
last_name: 'Brun-Picard',
company_name: 'Pipecorn',
profile_linkedin_url: 'https://www.linkedin.com/in/mathieu-brun-picard/',
live: false
})
};
fetch('https://app.pipecorn.com/api/v2/leads/single_enrich', 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://app.pipecorn.com/api/v2/leads/single_enrich",
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([
'linkedin_url' => 'https://www.linkedin.com/in/mathieu-brun-picard/',
'first_name' => 'Mathieu',
'last_name' => 'Brun-Picard',
'company_name' => 'Pipecorn',
'profile_linkedin_url' => 'https://www.linkedin.com/in/mathieu-brun-picard/',
'live' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.pipecorn.com/api/v2/leads/single_enrich"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<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://app.pipecorn.com/api/v2/leads/single_enrich")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/leads/single_enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}"
response = http.request(request)
puts response.read_body{
"first_name": "<string>",
"last_name": "<string>",
"title": "<string>",
"linkedin_profile_url": "<string>",
"linkedin_id_url": "<string>",
"regular_urn": "<string>",
"lk_headline": "<string>",
"lk_connections_count": 123,
"years_in_position": 123,
"months_in_position": 123,
"years_in_company": 123,
"months_in_company": 123,
"current_position": {
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
},
"positions": [
{
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
}
],
"title_description": "<string>",
"summary": "<string>",
"full_name": "<string>",
"sales_navigator_profile_url": "<string>",
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard",
"location": "San Francisco Bay Area",
"num_of_followers": 7880,
"initials": "MB",
"previous_position": {
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
},
"urn": "<string>",
"start_date_job": "2023-12-25",
"start_date_company": "2023-12-25",
"connection_degree": 2,
"is_premium_linkedin": true,
"is_open_profile_linkedin": true,
"is_open_to_work_linkedin": true,
"company_total_headcount": 1250,
"company_country_code": "FR",
"company_monthly_visitors": 123,
"company_headcount_growth": {},
"company_funding_and_investment": {},
"company_competitors": {},
"company_data_last_updated": "<string>"
}Enrich people
Enrich a single person with profile and firmographic data.
Credits: 1 credit per enrichment. You are only charged when a person is actually resolved — a lookup that matches nothing costs nothing.
Identify the person either by linkedin_url (or its alias profile_linkedin_url), or by first_name + last_name + company_name.
This endpoint returns the profile only. Email and phone come from waterfall enrichment and are never part of this response.
curl --request POST \
--url https://app.pipecorn.com/api/v2/leads/single_enrich \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"first_name": "Mathieu",
"last_name": "Brun-Picard",
"company_name": "Pipecorn",
"profile_linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"live": false
}
'import requests
url = "https://app.pipecorn.com/api/v2/leads/single_enrich"
payload = {
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"first_name": "Mathieu",
"last_name": "Brun-Picard",
"company_name": "Pipecorn",
"profile_linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard/",
"live": False
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
linkedin_url: 'https://www.linkedin.com/in/mathieu-brun-picard/',
first_name: 'Mathieu',
last_name: 'Brun-Picard',
company_name: 'Pipecorn',
profile_linkedin_url: 'https://www.linkedin.com/in/mathieu-brun-picard/',
live: false
})
};
fetch('https://app.pipecorn.com/api/v2/leads/single_enrich', 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://app.pipecorn.com/api/v2/leads/single_enrich",
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([
'linkedin_url' => 'https://www.linkedin.com/in/mathieu-brun-picard/',
'first_name' => 'Mathieu',
'last_name' => 'Brun-Picard',
'company_name' => 'Pipecorn',
'profile_linkedin_url' => 'https://www.linkedin.com/in/mathieu-brun-picard/',
'live' => false
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://app.pipecorn.com/api/v2/leads/single_enrich"
payload := strings.NewReader("{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<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://app.pipecorn.com/api/v2/leads/single_enrich")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.pipecorn.com/api/v2/leads/single_enrich")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"first_name\": \"Mathieu\",\n \"last_name\": \"Brun-Picard\",\n \"company_name\": \"Pipecorn\",\n \"profile_linkedin_url\": \"https://www.linkedin.com/in/mathieu-brun-picard/\",\n \"live\": false\n}"
response = http.request(request)
puts response.read_body{
"first_name": "<string>",
"last_name": "<string>",
"title": "<string>",
"linkedin_profile_url": "<string>",
"linkedin_id_url": "<string>",
"regular_urn": "<string>",
"lk_headline": "<string>",
"lk_connections_count": 123,
"years_in_position": 123,
"months_in_position": 123,
"years_in_company": 123,
"months_in_company": 123,
"current_position": {
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
},
"positions": [
{
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
}
],
"title_description": "<string>",
"summary": "<string>",
"full_name": "<string>",
"sales_navigator_profile_url": "<string>",
"linkedin_url": "https://www.linkedin.com/in/mathieu-brun-picard",
"location": "San Francisco Bay Area",
"num_of_followers": 7880,
"initials": "MB",
"previous_position": {
"pos_id": 2316534272,
"title": "Co-founder & CEO",
"current": true,
"company_name": "Pipecorn",
"name": "Pipecorn",
"company_id": "3735071",
"company_urn": "urn:li:fs_salesCompany:3735071",
"company_domain": "pipecorn.com",
"company_logo": "<string>",
"description": "<string>",
"location": "San Francisco Bay Area",
"employment_type": "<string>",
"started_on": {
"year": 2024,
"month": 1
},
"ended_on": {
"year": 2024,
"month": 1
},
"tenure_at_position": {
"num_years": 2,
"num_months": 0
},
"tenure_at_company": {
"num_years": 2,
"num_months": 0
}
},
"urn": "<string>",
"start_date_job": "2023-12-25",
"start_date_company": "2023-12-25",
"connection_degree": 2,
"is_premium_linkedin": true,
"is_open_profile_linkedin": true,
"is_open_to_work_linkedin": true,
"company_total_headcount": 1250,
"company_country_code": "FR",
"company_monthly_visitors": 123,
"company_headcount_growth": {},
"company_funding_and_investment": {},
"company_competitors": {},
"company_data_last_updated": "<string>"
}Headers
A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.
255"4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11"
Body
- Option 1
- Option 2
- Option 3
LinkedIn profile URL: a public profile (https://www.linkedin.com/in/<handle>) or a Sales Navigator lead URL (https://www.linkedin.com/sales/lead/<id>).
"https://www.linkedin.com/in/mathieu-brun-picard/"
Response
The enriched person, or {"data": null, "message": "No lead found"} when nobody matches (nothing is charged)
- Option 1
- Option 2
Enriched person. Any field Pipecorn's people database does not hold for this person is returned as null.
Was this page helpful?