How to enrich one person from LinkedIn with People data
Enrich one person from a LinkedIn URL into a Data Legion profile with contact details, current job, employer, work history, education, and skills
On this page
You have 25 LinkedIn URLs from an event attendee list and need to qualify each person before an outreach sprint. Enrich each URL into a Data Legion profile so you can confirm current employer, title, decision-maker flag and a usable email, then sort the rows into a personalized sequence or a deprioritized group
The deliverable is a worksheet with one row per attendee: fullName, jobTitle, company.name, company.industry, jobFunction, isDecisionMaker, emails.address, emails.validationStatus and an outreach priority column you add yourself. No run has been executed for this guide. Values in the tables are placeholders showing the shape
The input the tool takes
anyapi.person_enrichment.datalegion enriches one person from an email, a phone number or a social profile URL. Agents call it through POST /v1/runs with toolId anyapi.person_enrichment.datalegion. Send exactly one of email, phone or socialUrl. A LinkedIn URL matches most reliably, according to the contract
Optional inputs described in the contract include minConfidence with high, moderate or low, and required, a Data Legion expression over snake_case field names combined with AND, OR and parentheses. Omit minConfidence to use Data Legion's default. Check the current schema in the Skill before you run, since accepted inputs can change
Example input, invented and to be replaced with the URL from your list:
https://www.linkedin.com/in/averychen
The reader copies the socialUrl from a CRM, event list or email signature. If the list has emails or phones instead, use one of those in the same single-identifier slot
Build the deliverable table
Start with the 25 URLs. The table below is a design, not a result. Values here are placeholders showing the shape
| fullName | jobTitle | company.name | company.industry | jobFunction | isDecisionMaker | emails.address | emails.validationStatus | Outreach priority |
|---|---|---|---|---|---|---|---|---|
| avery chen | head of operations | acme plumbing | facilities services | operations | true | [email protected] | valid | A |
| jordan patel | marketing manager | northline studio | design | marketing | false | [email protected] | (empty) | C |
The priority column is your rule, not a field from the tool. One rule that fits the task: A when isDecisionMaker is true and company.name matches the target account; B when the employer matches but the person is not a decision-maker; C when found is false, the email list is empty, or no address has validationStatus valid. Keep the rule in the sheet so two researchers sort the same way
How to read the output
The top-level found field decides whether a row has a profile. When found is false, reason is not_found, and that is a successful call, not an error; costUsd is what it actually cost. A false row still belongs in the worksheet because it tells you the attendee cannot be qualified from that one identifier
For a found row, read the current-job fields first: data.jobTitle, data.company.name, data.company.industry, data.jobFunction and data.isDecisionMaker. These fill the employer, title and decision-maker columns. data.seniority and data.yearsOfExperience are useful context if your sequence needs a more specific opener
Then read data.emails. Each entry has address, confidence, isCurrent, lastSeenUtc, numSources, type, validated and validationStatus. Use validated to see whether Data Legion has checked the address with the mail server. Use validationStatus for the result of that check; the contract gives valid as an example. Use confidence to separate high, moderate and low. A row with no address, or no valid address, goes to the deprioritized group. A match quality check can use matchConfidence, matchType and matchedOn
Add a required-field filter only when you need it
If the outreach sequence cannot use a row without a work email, set required to an expression that demands a work email. The limit sits with this step: a match that lacks the fields named in required counts as not found. That turns a person with a title and employer but no work email into a found: false row, even though a profile exists. Decide before the run whether you want that strictness or a broader row for manual review
For a 25-person shortlist, test five URLs first. The first run can show how many rows come back without an email and whether your required expression is too narrow. Then run the remaining 20
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to enrich the 25
LinkedIn URLs below with anyapi.person_enrichment.datalegion. Check the
current inputs and price of anyapi.person_enrichment.datalegion before
running anything. Call the tool once per URL with socialUrl. Do not send
more than one of email, phone or socialUrl. Return a table with fullName,
jobTitle, company.name, company.industry, jobFunction, isDecisionMaker,
emails.address, emails.validationStatus and an outreach priority column
(A, B or C) using this rule: A when isDecisionMaker is true and company
name matches the target account; B when the employer matches but the
person is not a decision-maker; C when found is false or no address has
validationStatus valid. Keep one row per URL and leave fields empty when
the tool returns no value.
Example URL: https://www.linkedin.com/in/averychen
[replace with your 25 URLs]Estimated tool cost
Prices from the Purrkey catalog, read through it on November 13, 2026. The tool is listed at max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings. Model fees for the agent are not counted
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| 25-person LinkedIn shortlist | calls x max price | $0.09606 per call | 25 | $2.4015 |
| 100-contact email and phone batch | calls x max price | $0.09606 per call | 100 | $9.606 |
The first scenario matches the 25 URLs in this task. The second shows the same tool at 100 calls for a batch that arrives by email and phone. A found: false answer is still a successful call, so budget one call per identifier, not one call per match
Open the tool page
Check the current input schema and price before you run the list: Person enrichment in People data
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with People data.FAQ
How do I enrich a LinkedIn profile with Data Legion?
Call anyapi.person_enrichment.datalegion with socialUrl set to the LinkedIn URL. Send exactly one of email, phone or socialUrl, and read the found field before using the profile.
What inputs does anyapi.person_enrichment.datalegion take?
It takes one of email, phone or socialUrl, plus optional minConfidence and required. The required value is a Data Legion expression over snake_case field names.
What happens when no person matches?
The response has found: false and reason: not_found. The contract says that is a successful call, not an error, and costUsd is what it actually cost.
How do I choose the email for outreach?
Read emails.address, emails.validated, emails.validationStatus and emails.confidence. Use validated to see whether Data Legion has checked the address with the mail server, and use validationStatus for the result of that check.
Why did a person with a profile come back as not found?
A match that lacks the fields named in required counts as not found. If you set required to demand a work email, a profile without a work email becomes a found: false row.
How much does it cost to enrich 25 LinkedIn URLs?
At the catalog price of $0.09606 per call, 25 calls are at most $2.4015. A 100-call batch is at most $9.606.
Next step
Try this with People data
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.