Skip to main content
POST
/
accounts
/
single_enrich
Enrich a single company account
curl --request POST \
  --url https://app.pipecorn.com/api/v2/accounts/single_enrich \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "company_linkedin_url": "https://linkedin.com/company/pipecorn",
  "name": "Pipecorn",
  "domain": "pipecorn.com",
  "country": "FR",
  "live": true
}
'
import requests

url = "https://app.pipecorn.com/api/v2/accounts/single_enrich"

payload = {
"company_linkedin_url": "https://linkedin.com/company/pipecorn",
"name": "Pipecorn",
"domain": "pipecorn.com",
"country": "FR",
"live": True
}
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({
company_linkedin_url: 'https://linkedin.com/company/pipecorn',
name: 'Pipecorn',
domain: 'pipecorn.com',
country: 'FR',
live: true
})
};

fetch('https://app.pipecorn.com/api/v2/accounts/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/accounts/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([
'company_linkedin_url' => 'https://linkedin.com/company/pipecorn',
'name' => 'Pipecorn',
'domain' => 'pipecorn.com',
'country' => 'FR',
'live' => true
]),
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/accounts/single_enrich"

payload := strings.NewReader("{\n \"company_linkedin_url\": \"https://linkedin.com/company/pipecorn\",\n \"name\": \"Pipecorn\",\n \"domain\": \"pipecorn.com\",\n \"country\": \"FR\",\n \"live\": true\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/accounts/single_enrich")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"company_linkedin_url\": \"https://linkedin.com/company/pipecorn\",\n \"name\": \"Pipecorn\",\n \"domain\": \"pipecorn.com\",\n \"country\": \"FR\",\n \"live\": true\n}")
.asString();
require 'uri'
require 'net/http'

url = URI("https://app.pipecorn.com/api/v2/accounts/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 \"company_linkedin_url\": \"https://linkedin.com/company/pipecorn\",\n \"name\": \"Pipecorn\",\n \"domain\": \"pipecorn.com\",\n \"country\": \"FR\",\n \"live\": true\n}"

response = http.request(request)
puts response.read_body
{
  "name": "Pipecorn",
  "description": "Ready to hunt without running ?\n\n👨‍👩‍👦‍👦 Squad of 10 outbound experts +\n🦁 One tool to automate your campaigns",
  "industry": "Technology, Information and Internet",
  "type": "Privately Held",
  "employeeCount": 5,
  "flagshipCompanyUrl": "https://www.linkedin.com/company/pipecorn/",
  "entityUrn": "urn:li:fs_salesCompany:104885158",
  "website": "pipecorn.com",
  "employeeCountInfo": {
    "monthlyChange": -17,
    "employeeCount": 5,
    "employeeDisplayCount": "5"
  },
  "companyPictureDisplayImage": {
    "artifacts": [
      {
        "width": 200,
        "fileIdentifyingUrlPathSegment": "200_200/company-logo_200_200/0/1724258638180/pipecorn_logo?e=1753920000&v=beta&t=lkLO8u_KIjlFSsPuh_jbf47z0zPzEumAzAtxYGDsZlA",
        "height": 200
      }
    ],
    "rootUrl": "https://media.licdn.com/dms/image/v2/D4D0BAQFbBl6GwyL9IA/company-logo_"
  },
  "employeeCountRange": "2-10",
  "headquarters": {
    "country": "France",
    "city": "Paris"
  },
  "revenueRange": {
    "estimatedMinRevenue": {
      "currencyCode": "USD",
      "amount": 500,
      "unit": "THOUSAND"
    },
    "estimatedMaxRevenue": {
      "currencyCode": "USD",
      "amount": 1,
      "unit": "MILLION"
    }
  },
  "employeeDisplayCount": "5",
  "location": "Paris, Île-de-France, France"
}
{
"error": 123,
"message": "<string>"
}
{
"error": 123,
"message": "<string>"
}

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json
company_linkedin_url
string<uri>

LinkedIn company profile URL (regular or Sales Navigator)

Example:

"https://linkedin.com/company/pipecorn"

name
string

Company name

Example:

"Pipecorn"

domain
string

Company website domain

Example:

"pipecorn.com"

country
string

Two-letter ISO country code (ISO 3166-1 alpha-2). Examples: FR (France), US (United States), GB (United Kingdom), DE (Germany), ES (Spain), IT (Italy)

Example:

"FR"

live
boolean
default:true

Data source toggle. true (default) enriches the company live via LinkedIn and returns the raw LinkedIn enrichment payload documented below. false answers from Pipecorn's companies database (Elasticsearch) instead — no LinkedIn call or LLM validation is performed and no integration is required — returning a Pipecorn-formatted (snake_case) company document. A non-boolean value returns 422.

Example:

true

Response

Successfully enriched company

name
string

Company name

Example:

"Pipecorn"

description
string

Company description

Example:

"Ready to hunt without running ?\n\n👨‍👩‍👦‍👦 Squad of 10 outbound experts +\n🦁 One tool to automate your campaigns"

industry
string

Primary industry

Example:

"Technology, Information and Internet"

type
string

Company type

Example:

"Privately Held"

employeeCount
integer

Current number of employees

Example:

5

flagshipCompanyUrl
string<uri>

LinkedIn company profile URL

Example:

"https://www.linkedin.com/company/pipecorn/"

entityUrn
string

LinkedIn company URN identifier

Example:

"urn:li:fs_salesCompany:104885158"

website
string

Company website domain

Example:

"pipecorn.com"

employeeCountInfo
object

Detailed employee count information

companyPictureDisplayImage
object

Company logo image information

employeeCountRange
string

Employee count range

Example:

"2-10"

headquarters
object
revenueRange
object
employeeDisplayCount
string

Employee count as a display string

Example:

"5"

location
string

Full location string

Example:

"Paris, Île-de-France, France"