curl --request POST \
--url https://api.getanyapi.com/v1/run/person_enrichment.datalegion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"socialUrl": "https://www.linkedin.com/in/dharmesh"
}
'import requests
url = "https://api.getanyapi.com/v1/run/person_enrichment.datalegion"
payload = { "socialUrl": "https://www.linkedin.com/in/dharmesh" }
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({socialUrl: 'https://www.linkedin.com/in/dharmesh'})
};
fetch('https://api.getanyapi.com/v1/run/person_enrichment.datalegion', 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/person_enrichment.datalegion",
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([
'socialUrl' => 'https://www.linkedin.com/in/dharmesh'
]),
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/person_enrichment.datalegion"
payload := strings.NewReader("{\n \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\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/person_enrichment.datalegion")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/person_enrichment.datalegion")
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 \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"fullName": "<string>",
"age": 123,
"averageTenureMonths": 123,
"birthDate": "<string>",
"birthDay": 123,
"birthMonth": 123,
"birthYear": 123,
"certifications": [
{
"credentialId": "<string>",
"expirationDate": "<string>",
"institution": "<string>",
"issueDate": "<string>",
"name": "<string>"
}
],
"company": {
"companyId": "<string>",
"industry": "<string>",
"linkedinId": "<string>",
"linkedinUrl": "<string>",
"name": "<string>",
"size": "<string>",
"website": "<string>"
},
"datasetVersion": "<string>",
"education": [
{
"degree": "<string>",
"degreeLevel": "<string>",
"endDate": "<string>",
"fieldOfStudy": "<string>",
"isCurrent": true,
"schoolLinkedinUrl": "<string>",
"schoolName": "<string>",
"schoolWebsite": "<string>",
"startDate": "<string>"
}
],
"emails": [
{
"address": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"numSources": 123,
"type": "<string>",
"validated": true,
"validationStatus": "<string>"
}
],
"expenseCategory": "<string>",
"experience": [
{
"companyId": "<string>",
"companyIndustry": "<string>",
"companyLinkedinId": "<string>",
"companyLinkedinUrl": "<string>",
"companyName": "<string>",
"companySize": "<string>",
"companyWebsite": "<string>",
"description": "<string>",
"endDate": "<string>",
"expenseCategory": "<string>",
"isCurrent": true,
"isDecisionMaker": true,
"isPlatformWorker": true,
"jobFunction": "<string>",
"seniority": "<string>",
"startDate": "<string>",
"tenureMonths": 123,
"title": "<string>"
}
],
"firstName": "<string>",
"headline": "<string>",
"highestDegree": "<string>",
"isDecisionMaker": true,
"isPlatformWorker": true,
"jobChangedUtc": 123,
"jobFunction": "<string>",
"jobTitle": "<string>",
"jobVerifiedUtc": 123,
"languages": [
{
"name": "<string>",
"proficiency": "<string>"
}
],
"lastInitial": "<string>",
"lastName": "<string>",
"lastSeenUtc": 123,
"legionId": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"linkedinId": "<string>",
"linkedinUrl": "<string>",
"location": {
"country": "<string>",
"countryCode": "<string>",
"locality": "<string>",
"region": "<string>",
"regionCode": "<string>"
},
"locations": [
{
"addressLine2": "<string>",
"confidence": "<string>",
"continent": "<string>",
"country": "<string>",
"countryCode": "<string>",
"geo": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"locality": "<string>",
"postalCode": "<string>",
"region": "<string>",
"regionCode": "<string>",
"streetAddress": "<string>"
}
],
"matchConfidence": "<string>",
"matchType": "<string>",
"matchedOn": [
"<string>"
],
"middleInitial": "<string>",
"middleName": "<string>",
"mobilePhone": "<string>",
"numSources": 123,
"phones": [
{
"number": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"numSources": 123,
"type": "<string>"
}
],
"prefix": "<string>",
"profiles": [
{
"network": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"profileId": "<string>",
"url": "<string>",
"username": "<string>"
}
],
"seniority": "<string>",
"sex": "<string>",
"skills": [
"<string>"
],
"suffix": "<string>",
"summary": "<string>",
"workEmail": "<string>",
"yearsOfExperience": 123
},
"found": true,
"reason": "not_found"
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>",
"source": {
"artworkKey": "<string>",
"id": "<string>",
"kind": "anonymous",
"name": "<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"
}{
"error": "<string>",
"code": "<string>",
"payment": {
"costUsd": 1,
"rail": "<string>",
"settlementState": "charged_undelivered"
},
"requestId": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Person Enrichment - Data Legion
Enrich one person from an email, a phone number or a social profile URL into Data Legion’s premium profile with contact data: emails, phone numbers, location, age and sex, plus current job and employer, seniority, job function, decision-maker flag, years of experience, work history, education, certifications, skills and social profiles.
Price: billed per result - $0.06 per 1,000 requests base + $96.00 per 1,000 results, capped at $96.06 per 1,000 requests.
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: Person Enrichment - Data Legion pricing and uptime - live USD price, lane routing, and measured 30-day uptime. Every Person_enrichment endpoint.
curl --request POST \
--url https://api.getanyapi.com/v1/run/person_enrichment.datalegion \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"socialUrl": "https://www.linkedin.com/in/dharmesh"
}
'import requests
url = "https://api.getanyapi.com/v1/run/person_enrichment.datalegion"
payload = { "socialUrl": "https://www.linkedin.com/in/dharmesh" }
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({socialUrl: 'https://www.linkedin.com/in/dharmesh'})
};
fetch('https://api.getanyapi.com/v1/run/person_enrichment.datalegion', 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/person_enrichment.datalegion",
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([
'socialUrl' => 'https://www.linkedin.com/in/dharmesh'
]),
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/person_enrichment.datalegion"
payload := strings.NewReader("{\n \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\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/person_enrichment.datalegion")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getanyapi.com/v1/run/person_enrichment.datalegion")
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 \"socialUrl\": \"https://www.linkedin.com/in/dharmesh\"\n}"
response = http.request(request)
puts response.read_body{
"costUsd": 123,
"items": 123,
"output": {
"data": {
"fullName": "<string>",
"age": 123,
"averageTenureMonths": 123,
"birthDate": "<string>",
"birthDay": 123,
"birthMonth": 123,
"birthYear": 123,
"certifications": [
{
"credentialId": "<string>",
"expirationDate": "<string>",
"institution": "<string>",
"issueDate": "<string>",
"name": "<string>"
}
],
"company": {
"companyId": "<string>",
"industry": "<string>",
"linkedinId": "<string>",
"linkedinUrl": "<string>",
"name": "<string>",
"size": "<string>",
"website": "<string>"
},
"datasetVersion": "<string>",
"education": [
{
"degree": "<string>",
"degreeLevel": "<string>",
"endDate": "<string>",
"fieldOfStudy": "<string>",
"isCurrent": true,
"schoolLinkedinUrl": "<string>",
"schoolName": "<string>",
"schoolWebsite": "<string>",
"startDate": "<string>"
}
],
"emails": [
{
"address": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"numSources": 123,
"type": "<string>",
"validated": true,
"validationStatus": "<string>"
}
],
"expenseCategory": "<string>",
"experience": [
{
"companyId": "<string>",
"companyIndustry": "<string>",
"companyLinkedinId": "<string>",
"companyLinkedinUrl": "<string>",
"companyName": "<string>",
"companySize": "<string>",
"companyWebsite": "<string>",
"description": "<string>",
"endDate": "<string>",
"expenseCategory": "<string>",
"isCurrent": true,
"isDecisionMaker": true,
"isPlatformWorker": true,
"jobFunction": "<string>",
"seniority": "<string>",
"startDate": "<string>",
"tenureMonths": 123,
"title": "<string>"
}
],
"firstName": "<string>",
"headline": "<string>",
"highestDegree": "<string>",
"isDecisionMaker": true,
"isPlatformWorker": true,
"jobChangedUtc": 123,
"jobFunction": "<string>",
"jobTitle": "<string>",
"jobVerifiedUtc": 123,
"languages": [
{
"name": "<string>",
"proficiency": "<string>"
}
],
"lastInitial": "<string>",
"lastName": "<string>",
"lastSeenUtc": 123,
"legionId": "<string>",
"linkedinConnections": 123,
"linkedinFollowers": 123,
"linkedinId": "<string>",
"linkedinUrl": "<string>",
"location": {
"country": "<string>",
"countryCode": "<string>",
"locality": "<string>",
"region": "<string>",
"regionCode": "<string>"
},
"locations": [
{
"addressLine2": "<string>",
"confidence": "<string>",
"continent": "<string>",
"country": "<string>",
"countryCode": "<string>",
"geo": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"locality": "<string>",
"postalCode": "<string>",
"region": "<string>",
"regionCode": "<string>",
"streetAddress": "<string>"
}
],
"matchConfidence": "<string>",
"matchType": "<string>",
"matchedOn": [
"<string>"
],
"middleInitial": "<string>",
"middleName": "<string>",
"mobilePhone": "<string>",
"numSources": 123,
"phones": [
{
"number": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"numSources": 123,
"type": "<string>"
}
],
"prefix": "<string>",
"profiles": [
{
"network": "<string>",
"confidence": "<string>",
"isCurrent": true,
"lastSeenUtc": 123,
"profileId": "<string>",
"url": "<string>",
"username": "<string>"
}
],
"seniority": "<string>",
"sex": "<string>",
"skills": [
"<string>"
],
"suffix": "<string>",
"summary": "<string>",
"workEmail": "<string>",
"yearsOfExperience": 123
},
"found": true,
"reason": "not_found"
},
"provider": "<string>",
"replayed": true,
"hint": "<string>",
"jqError": "<string>",
"resultId": "<string>",
"source": {
"artworkKey": "<string>",
"id": "<string>",
"kind": "anonymous",
"name": "<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"
}{
"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: each row of the API's result list, or the data object itself for an API that returns one record. Keys are matched relative to that item, 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. An API that returns one record is not trimmed. 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.
Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.
Body
- Person Enrichment - Data Legion input
- Person Enrichment - Data Legion input
- Person Enrichment - Data Legion input
Any email address the person uses, work or personal. Send exactly one of email, phone or socialUrl.
Optional, default true. When false, only the sources listed in source may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.
Optional. Source ids to skip for this request, taken from this endpoint's lanes[].source.id. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in source, is rejected as invalid input with no charge; skipping every source is rejected the same way.
1Lowest match confidence that still counts as found. Omit it for Data Legion's default.
high, moderate, low Phone number with its country code, e.g. +1 415 555 0100.
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 >= 1Fields a match must have, as a Data Legion expression over its snake_case field names combined with AND, OR and parentheses, e.g. work_email OR mobile_phone, or phones.type:mobile. A match without them counts as not found.
1Social profile URL: LinkedIn (linkedin.com/in/...), GitHub, X and similar networks. A LinkedIn URL matches most reliably.
Optional. Source ids to prefer, in order, taken from this endpoint's lanes[].source.id in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless allowFallbacks is false. A single source with allowFallbacks false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit source to be served by another. On a paginated walk, later pages must include the source that served page one, or omit source.
1Response
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; an API that returns one record counts it as one row. For per-result APIs the per-item cost is charged against this count; for input-priced APIs 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 person, or null when nothing matched.
Hide child attributes
Hide child attributes
Full name, lowercase as Data Legion normalizes it.
Age in years.
Average months the person stays in a job.
Date of birth, as precise as Data Legion holds it.
Day of the month of birth.
Month of birth, 1 to 12.
Year of birth.
Professional certifications.
Hide child attributes
Hide child attributes
Credential id the issuer assigned.
Expiry month as YYYY-MM or year as YYYY.
Issuing institution, lowercase.
Issue month as YYYY-MM or year as YYYY.
Certification name, lowercase.
Current employer.
Hide child attributes
Hide child attributes
Data Legion persistent company id, the legionId company_enrichment.datalegion returns.
Employer industry.
Employer LinkedIn numeric id.
Employer LinkedIn page URL.
Employer name, lowercase.
Employer headcount band, e.g. 5001-10000.
Employer website domain.
Data Legion dataset build the record came from.
Schools attended.
Hide child attributes
Hide child attributes
Degree earned, lowercase, e.g. master of science.
Degree level, e.g. bachelors, masters.
End as YYYY-MM or YYYY.
Field of study, lowercase.
True while the person is still enrolled.
School LinkedIn page URL.
School name, lowercase.
School website domain.
Start as YYYY-MM or YYYY.
Every email address Data Legion holds for the person, work and personal.
Hide child attributes
Hide child attributes
Email address.
How sure Data Legion is the address belongs to the person: high, moderate or low.
True while the address is still in use.
UTC epoch timestamp in seconds (Unix time) the address was last seen. Multiply by 1000 for a JS Date in milliseconds.
Number of sources the address was seen in.
Kind of address, e.g. professional or personal.
True when Data Legion has checked the address with the mail server.
Result of that check, e.g. valid.
Budget line of the current job, e.g. research_and_development, sales_and_marketing.
Work history, current jobs marked isCurrent.
Hide child attributes
Hide child attributes
Data Legion persistent company id of the employer.
Employer industry.
Employer LinkedIn numeric id.
Employer LinkedIn page URL.
Employer name, lowercase.
Employer headcount band.
Employer website domain.
Job description, as the person writes it.
End of the job as YYYY-MM or YYYY; absent for a current job.
Budget line of the job, e.g. research_and_development.
True for a job the person still holds.
True when the job is a buying decision-maker role.
True when the job is gig or platform work.
Function of the job, e.g. engineering, sales.
Seniority of the job, e.g. owner, director, manager.
Start of the job as YYYY-MM or YYYY.
Months in the job.
Job title, lowercase.
First name.
Profile headline, as the person writes it.
Highest degree level, e.g. bachelors, masters, doctorate.
True when the current job is a buying decision-maker role.
True when the current job is gig or platform work, such as ride-hailing or delivery.
UTC epoch timestamp in seconds (Unix time) the current job last changed. Multiply by 1000 for a JS Date in milliseconds.
Function of the current job, e.g. engineering, sales, marketing.
Current job title, lowercase.
UTC epoch timestamp in seconds (Unix time) the current job was last confirmed. Multiply by 1000 for a JS Date in milliseconds.
Last initial.
Last name.
UTC epoch timestamp in seconds (Unix time) Data Legion last saw the person. Multiply by 1000 for a JS Date in milliseconds.
Data Legion persistent person id.
LinkedIn connection count; LinkedIn caps what it shows at 500.
LinkedIn follower count.
LinkedIn numeric member id.
LinkedIn profile URL.
Where the person lives now.
Hide child attributes
Hide child attributes
Every place Data Legion holds for the person, current and past.
Hide child attributes
Hide child attributes
Second line of the address.
How sure Data Legion is of the place: high, moderate or low.
Continent.
Country.
ISO 3166-1 alpha-2 country code, e.g. US.
Coordinates as "lat,lon".
True for where the person lives now.
UTC epoch timestamp in seconds (Unix time) the place was last seen. Multiply by 1000 for a JS Date in milliseconds.
City.
Postal code.
State or region.
ISO 3166-2 region code, e.g. US-MA.
Street address.
How sure the match is: high, moderate or low.
How the identifier matched, e.g. exact.
Identifiers the match was made on, e.g. linkedin_url or email.
Middle initial.
Middle name.
Best mobile phone number, in E.164 form.
Number of sources Data Legion merged into this record.
Every phone number Data Legion holds for the person.
Hide child attributes
Hide child attributes
Phone number in E.164 form.
How sure Data Legion is the number belongs to the person: high, moderate or low.
True while the number is still in use.
UTC epoch timestamp in seconds (Unix time) the number was last seen. Multiply by 1000 for a JS Date in milliseconds.
Number of sources the number was seen in.
Kind of line, e.g. mobile or landline.
Name prefix, e.g. dr.
Social profiles Data Legion links to the person.
Hide child attributes
Hide child attributes
Network the profile is on, e.g. linkedin, github, x, facebook.
How sure Data Legion is the profile belongs to the person: high, moderate or low.
True while the profile is still active.
UTC epoch timestamp in seconds (Unix time) the profile was last seen. Multiply by 1000 for a JS Date in milliseconds.
Numeric or opaque id on that network.
Profile URL.
Handle on that network.
Seniority of the current job, e.g. owner, c_level, director, manager, senior.
Sex, male or female.
Skills listed on the profile, lowercase.
Name suffix, e.g. jr.
Profile summary, as the person writes it.
Current work email address.
Years of work experience.
False when Data Legion matched no person, or none at the requested confidence or with the required fields.
Present only when found is false, and says why there is no result. not_found: the source states the target does not exist, or returned nothing for it. A found: false answer is a successful call, not an error, and costUsd is what it actually cost.
not_found 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 requireFields: ["nextCursor"] to be served only by a source that can page, which may cost more per request. malformed_query: means X read your search query differently than it looks (adjacent bare words are ANDed and OR binds tighter, so a multi-word alternative is not a phrase, and an operator after an unbracketed OR list applies to its last alternative only); the run was served and billed as X read it, and the hint carries the corrected query to send instead. date_adjusted: means a date you sent was outside the range the platform accepts, so the run used the nearest accepted date the hint names.
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.
The source that served this run. Pass its id back as source to prefer it again, or as ignoreSources to avoid it. Absent when no source identity applies to the run.
Hide child attributes
Hide child attributes
Key for this source's artwork.
Stable identifier for this source.
anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.
anonymous, brand Display name for this source.