curl --request POST \
--url https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "posthog.com"
}
'import requests
url = "https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs"
payload = { "domain": "posthog.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'posthog.com'})
};
fetch('https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs', 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.getanyapi.com/v1/run/company_enrichment.peopledatalabs",
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([
'domain' => 'posthog.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.getanyapi.com/v1/run/company_enrichment.peopledatalabs"
payload := strings.NewReader("{\n \"domain\": \"posthog.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.getanyapi.com/v1/run/company_enrichment.peopledatalabs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"posthog.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"posthog.com\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"name": "<string>",
"affiliatedEntities": [
"<string>"
],
"affiliatedProfiles": [
"<string>"
],
"allSubsidiaries": [
"<string>"
],
"alternativeDomains": [
"<string>"
],
"alternativeNames": [
"<string>"
],
"averageEmployeeTenure": 123,
"averageTenureByLevel": {},
"averageTenureByRole": {},
"datasetVersion": "<string>",
"directSubsidiaries": [
"<string>"
],
"employeeChurnRate": {},
"employeeCount": 123,
"employeeCountByClass": {},
"employeeCountByCountry": {},
"employeeCountByMonth": {},
"employeeCountByRole": {},
"employeeCountBySubRole": {},
"employeeGrowthRate": {},
"employeeGrowthRate12MonthByClass": {},
"employeeGrowthRate12MonthByCountry": {},
"employeeGrowthRate12MonthByRole": {},
"employeeTurnoverRate": {},
"facebookUrl": "<string>",
"founded": 123,
"fundingRounds": 123,
"fundingStages": [
"<string>"
],
"grossAdditionsByMonth": {},
"grossDeparturesByMonth": {},
"headline": "<string>",
"immediateParent": "<string>",
"industry": "<string>",
"industryV2": "<string>",
"inferredRevenue": "<string>",
"lastFundingUtc": 123,
"latestFundingStage": "<string>",
"likelihood": 123,
"linkedinFollowers": 123,
"linkedinId": "<string>",
"linkedinSlug": "<string>",
"linkedinUrl": "<string>",
"location": {
"addressLine2": "<string>",
"continent": "<string>",
"country": "<string>",
"geo": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"postalCode": "<string>",
"region": "<string>",
"streetAddress": "<string>"
},
"medianEmployeeTenure": 123,
"medianTenureByLevel": {},
"medianTenureByRole": {},
"micExchange": "<string>",
"naicsCodes": [
{
"code": "<string>",
"industryGroup": "<string>",
"naicsIndustry": "<string>",
"nationalIndustry": "<string>",
"sector": "<string>",
"subSector": "<string>"
}
],
"nameNormalized": "<string>",
"pdlId": "<string>",
"profiles": [
"<string>"
],
"sicCodes": [
{
"code": "<string>",
"industryGroup": "<string>",
"industrySector": "<string>",
"majorGroup": "<string>"
}
],
"size": "<string>",
"summary": "<string>",
"tags": [
"<string>"
],
"ticker": "<string>",
"totalFundingRaised": 123,
"twitterUrl": "<string>",
"type": "<string>",
"ultimateParent": "<string>",
"website": "<string>"
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Company Enrichment - People Data Labs
Enrich one company into firmographics, funding history, NAICS and SIC classification, and People Data Labs’ headcount growth, tenure and churn series from a domain or a company name.
Price: $120.00 per 1,000 requests (flat per request - same cost regardless of results returned).
Routing: one lane serves this API today, so a failed attempt has nowhere to fail over to. Payment outcome follows the selected rail’s settlement policy.
Catalog: Company Enrichment - People Data Labs pricing and uptime - live USD price, lane routing, and measured 30-day uptime. Every Company_enrichment endpoint.
curl --request POST \
--url https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"domain": "posthog.com"
}
'import requests
url = "https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs"
payload = { "domain": "posthog.com" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({domain: 'posthog.com'})
};
fetch('https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs', 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.getanyapi.com/v1/run/company_enrichment.peopledatalabs",
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([
'domain' => 'posthog.com'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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.getanyapi.com/v1/run/company_enrichment.peopledatalabs"
payload := strings.NewReader("{\n \"domain\": \"posthog.com\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.getanyapi.com/v1/run/company_enrichment.peopledatalabs")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"domain\": \"posthog.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/company_enrichment.peopledatalabs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"domain\": \"posthog.com\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"name": "<string>",
"affiliatedEntities": [
"<string>"
],
"affiliatedProfiles": [
"<string>"
],
"allSubsidiaries": [
"<string>"
],
"alternativeDomains": [
"<string>"
],
"alternativeNames": [
"<string>"
],
"averageEmployeeTenure": 123,
"averageTenureByLevel": {},
"averageTenureByRole": {},
"datasetVersion": "<string>",
"directSubsidiaries": [
"<string>"
],
"employeeChurnRate": {},
"employeeCount": 123,
"employeeCountByClass": {},
"employeeCountByCountry": {},
"employeeCountByMonth": {},
"employeeCountByRole": {},
"employeeCountBySubRole": {},
"employeeGrowthRate": {},
"employeeGrowthRate12MonthByClass": {},
"employeeGrowthRate12MonthByCountry": {},
"employeeGrowthRate12MonthByRole": {},
"employeeTurnoverRate": {},
"facebookUrl": "<string>",
"founded": 123,
"fundingRounds": 123,
"fundingStages": [
"<string>"
],
"grossAdditionsByMonth": {},
"grossDeparturesByMonth": {},
"headline": "<string>",
"immediateParent": "<string>",
"industry": "<string>",
"industryV2": "<string>",
"inferredRevenue": "<string>",
"lastFundingUtc": 123,
"latestFundingStage": "<string>",
"likelihood": 123,
"linkedinFollowers": 123,
"linkedinId": "<string>",
"linkedinSlug": "<string>",
"linkedinUrl": "<string>",
"location": {
"addressLine2": "<string>",
"continent": "<string>",
"country": "<string>",
"geo": "<string>",
"locality": "<string>",
"metro": "<string>",
"name": "<string>",
"postalCode": "<string>",
"region": "<string>",
"streetAddress": "<string>"
},
"medianEmployeeTenure": 123,
"medianTenureByLevel": {},
"medianTenureByRole": {},
"micExchange": "<string>",
"naicsCodes": [
{
"code": "<string>",
"industryGroup": "<string>",
"naicsIndustry": "<string>",
"nationalIndustry": "<string>",
"sector": "<string>",
"subSector": "<string>"
}
],
"nameNormalized": "<string>",
"pdlId": "<string>",
"profiles": [
"<string>"
],
"sicCodes": [
{
"code": "<string>",
"industryGroup": "<string>",
"industrySector": "<string>",
"majorGroup": "<string>"
}
],
"size": "<string>",
"summary": "<string>",
"tags": [
"<string>"
],
"ticker": "<string>",
"totalFundingRaised": 123,
"twitterUrl": "<string>",
"type": "<string>",
"ultimateParent": "<string>",
"website": "<string>"
},
"found": true
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Authorizations
Your AnyAPI key as a Bearer token.
Headers
Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.
1 - 255Query Parameters
Optional. Comma-separated keys (dotted paths like author.name descend into nested objects) to keep on each result item. Keys are matched relative to each result item after the data/items envelope is unwrapped, not against the top-level response envelope, so use jq to reshape the whole envelope. Shrinks the response without changing cost.
Optional. Cap the number of result rows returned; a _truncated note reports how many were withheld so you can page via the API's own limit. Does not change cost.
x >= 0Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.
Optional. A jq expression applied to the result envelope; its output replaces output (multiple outputs collect into an array). Reshape freely, e.g. jq=.data | {title, description, md: .markdown[:3500]}. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a jqError. Does not change cost.
Body
- Company Enrichment - People Data Labs input
- Company Enrichment - People Data Labs input
Company website domain, e.g. posthog.com. The strongest identifier.
1Comma-separated People Data Labs fields to include, or a leading - list to exclude. Projection changes the payload only; it does not reduce what the call costs.
Report which of the sent identifiers actually matched.
Minimum People Data Labs likelihood score a match must reach to count as found.
1 <= x <= 10Company name, for when you have no domain.
1Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.
x >= 1People Data Labs boolean expression over top-level fields that a match must satisfy, e.g. website and industry.
Return text in title case instead of People Data Labs' lowercase default.
Response
Normalized result.
USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.
Number of result rows returned. For per-result SKUs the per-item cost is charged against this count; for input-priced SKUs the charge is per submitted input, independent of this count.
Normalized output, or null when the replay payload was not retained.
Hide child attributes
Hide child attributes
The enriched company, or null when nothing matched.
Hide child attributes
Hide child attributes
Company name as People Data Labs displays it.
People Data Labs company ids of affiliated entities.
People Data Labs company ids of affiliated profiles.
People Data Labs company ids of every subsidiary, at any depth.
Other domains the company owns.
Other names the company trades under.
Average employee tenure in years.
Average tenure in years, keyed by seniority level.
Average tenure in years, keyed by role.
Version of the People Data Labs dataset this record came from.
People Data Labs company ids of direct subsidiaries.
Churn rate keyed by window, e.g. 12_month.
Employees People Data Labs currently counts.
Headcount keyed by job class.
Headcount keyed by country.
Headcount keyed by YYYY-MM month.
Headcount keyed by role.
Headcount keyed by sub-role.
Headcount growth rate keyed by window.
Twelve-month headcount growth rate keyed by job class.
Twelve-month headcount growth keyed by country, each entry carrying current and prior headcount.
Twelve-month headcount growth rate keyed by role.
Turnover rate keyed by window, e.g. 3_month, 12_month.
Company Facebook page URL.
Year the company was founded.
Number of funding rounds raised.
Every funding stage the company has raised.
Employees joined, keyed by YYYY-MM month.
Employees departed, keyed by YYYY-MM month.
One-line company tagline.
People Data Labs company id of the immediate parent company.
Company industry.
Company industry on People Data Labs' newer taxonomy.
Inferred annual revenue band, e.g. $50M-$100M.
UTC epoch timestamp in seconds (Unix time) of the most recent funding round. Multiply by 1000 for a JS Date in milliseconds.
Most recent funding stage, e.g. series_e.
People Data Labs' 1 to 10 confidence that this record is the company you asked for.
LinkedIn follower count.
Company LinkedIn numeric id.
Company LinkedIn vanity slug.
Company LinkedIn page URL.
Company headquarters.
Hide child attributes
Hide child attributes
Second line of the address.
Continent.
Country.
Coordinates as "lat,lon".
City.
Metro area.
Location as one display string.
Postal code.
State or region.
Street address.
Median employee tenure in years.
Median tenure in years, keyed by seniority level.
Median tenure in years, keyed by role.
MIC code of the exchange the company lists on.
NAICS classification for the company.
Hide child attributes
Hide child attributes
NAICS code.
NAICS industry group.
NAICS industry.
NAICS national industry.
NAICS sector.
NAICS sub-sector.
Lowercase normalized company name, the form People Data Labs matches on.
People Data Labs persistent company id.
Every social profile People Data Labs links to the company.
Employee headcount band, e.g. 11-50.
Long company description.
Descriptive tags for the company.
Stock ticker, for listed companies.
Total capital raised, in USD.
Company X (Twitter) profile URL.
Ownership type, e.g. private, public.
People Data Labs company id of the ultimate parent company.
Company website domain.
False when People Data Labs matched no company above the likelihood threshold.
Always "AnyAPI".
True when this response replays the durable result of an earlier run without billing or upstream execution.
Optional one-line nudge, absent when there is nothing to say. large_result: suggests the fields/max_items/summary/jq controls for a big response. paging_unavailable: means this result came from a source that cannot return a nextCursor, so it may be INCOMPLETE and cannot be continued - re-run with requireCursor: true to be served only by a source that can page, which may cost more per request.
Present only when a jq expression failed; output then carries the full unshaped result and this explains why the reshape did not apply.
Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.