On this page
Key takeaways
A candidate's contact details come from two separate lookups keyed on the public identifier in their profile URL: personal email, which returns webmail addresses with a validation status, and phone number. Run only the one the recruiter asked for, store the date, and report whether the number connected.
- One identifier, two calls. The slug after
/in/in the profile URL is the input to both. - The personal email lookup returns free webmail addresses only, each with a
validation_status. - A personal email lookup is charged only when an address comes back. A mobile number lookup is 15 credits, charged only when a number is found.
- Store both lists on the candidate with the lookup date, and check it before a second click spends credits.
- After the call, report
connectedordisconnectedthrough the feedback endpoint. It is free.
Why candidates get personal email and mobile
A recruiter is writing to someone about leaving their job. A note sent to the candidate's work inbox sits on the employer's mail system. The mobile is the number the candidate carries, not one the employer answers. So the two contact fields a recruiting platform shows on a candidate card are the personal email and the mobile.
Forager's personal email lookup is built for that use. It returns addresses on free webmail providers only, such as Gmail, Outlook, Yahoo, iCloud and Proton. Addresses on company domains, school domains and custom domains are left out, even when a person uses a custom domain for personal mail. If the filtered list is empty, the endpoint returns 200 with an empty body and does not use credits.
The phone lookup is a separate call with the same input. Each lookup is its own request, so the recruiter can ask for one without paying for the other.
What the how-to pages skip
The pages that rank for "how to find a candidate's phone number" are written for a recruiter at a desk: where to look on a profile, which browser extension to install, how one credit-based tool finds one address at a time. Datablist's guide walks through its own UI and prices the result at 75 credits per found email (retrieved Nov 2026). SohamRecruit lists manual methods and names no tools (retrieved Nov 2026). NPAworldwide's list is ten tools in about 490 words, from 2023.
None of them shows the two API calls a platform makes, what comes back when nothing is found, how a validation status changes what you display, or how to tell the data provider that a number was dead. That is the part this guide covers.
verified mobile numbers.
Step 1: Turn the profile URL into an identifier
Both lookups accept linkedin_public_identifier, the slug in linkedin.com/in/<slug>/. For https://www.linkedin.com/in/jane-doe-example/ the identifier is jane-doe-example. Strip the scheme, the host, the /in/ prefix, the trailing slash and any query string, and send the rest.
If your platform already stores a Forager person_id for the candidate, from an earlier person lookup or a search result, send that instead. Nothing on the candidate's profile page is fetched or parsed. The URL is only a way to name the person.
from urllib.parse import urlparse
def public_identifier(profile_url: str) -> str:
path = urlparse(profile_url).path.rstrip("/")
prefix = "/in/"
if not path.startswith(prefix):
raise ValueError("not a profile URL")
return path[len(prefix):]
Step 2: Look up the personal email
Send a POST to the personal emails lookup. The API key goes in the X-API-KEY header and stays on your server. The account ID is part of the path.
cURL
curl -X POST "https://api-v2.forager.ai/api/$FORAGER_ACCOUNT_ID/datastorage/person_contacts_lookup/personal_emails/" \
-H "X-API-KEY: $FORAGER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"linkedin_public_identifier": "jane-doe-example"}'
Python (requests)
import os, requests
BASE = f"https://api-v2.forager.ai/api/{os.environ['FORAGER_ACCOUNT_ID']}/datastorage/person_contacts_lookup"
HEADERS = {"X-API-KEY": os.environ["FORAGER_API_KEY"]}
BODY = {"linkedin_public_identifier": "jane-doe-example"}
r = requests.post(f"{BASE}/personal_emails/", headers=HEADERS, json=BODY, timeout=30)
r.raise_for_status()
emails = [e for e in (r.json() if r.content else []) if e["validation_status"] != "invalid"]
JavaScript (fetch)
const BASE = `https://api-v2.forager.ai/api/${process.env.FORAGER_ACCOUNT_ID}/datastorage/person_contacts_lookup`;
const headers = {
"X-API-KEY": process.env.FORAGER_API_KEY,
"Content-Type": "application/json",
};
const body = JSON.stringify({ linkedin_public_identifier: "jane-doe-example" });
const r = await fetch(`${BASE}/personal_emails/`, { method: "POST", headers, body });
if (!r.ok) throw new Error(`Forager ${r.status}`);
const text = await r.text();
const emails = (text ? JSON.parse(text) : []).filter((e) => e.validation_status !== "invalid");
Each row in the response carries three fields: email, email_type and validation_status. An illustrative response, with the address redacted:
[{ "email": "jane•••@gmail.com", "email_type": "personal", "validation_status": "valid" }]
Note the empty-body check in both code samples. A 200 with no body is the "none found" case, and parsing it as JSON without the check throws.
Step 3: Look up the phone number
Same input, a different path. Send the POST to the phone numbers lookup.
cURL
curl -X POST "https://api-v2.forager.ai/api/$FORAGER_ACCOUNT_ID/datastorage/person_contacts_lookup/phone_numbers/" \
-H "X-API-KEY: $FORAGER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"linkedin_public_identifier": "jane-doe-example"}'
Python (requests)
r = requests.post(f"{BASE}/phone_numbers/", headers=HEADERS, json=BODY, timeout=30)
r.raise_for_status()
phones = [row["phone_number"] for row in r.json()]
JavaScript (fetch)
const p = await fetch(`${BASE}/phone_numbers/`, { method: "POST", headers, body });
if (!p.ok) throw new Error(`Forager ${p.status}`);
const phones = (await p.json()).map((row) => row.phone_number);
Phone rows contain phone_number only. There is no validation status on a phone row; the check on a number happens after the call, in the feedback step below.
Run this call only when the recruiter asked for a number. A card that fires both lookups on open spends phone credits on candidates nobody will ring.
Two lookups, two cost rules
| Lookup | Credits | When charged | Nothing found |
|---|---|---|---|
| Personal email | 5 | Only when at least one address is returned | 200, empty body, 0 credits |
| Phone number | 15 | Only when a number is found | 0 credits |
Both rules follow the same pattern: a contact lookup is charged only when it finds something. The credit balance change log shows what each run actually spent, so check it against your own count during the first week.
Feedback requests, covered below, are free.
Handle validation and empty lists
validation_status on a personal email row takes one of four values: valid, risky, invalid and unknown. The recipe's rule is to drop invalid before you show anything. What you do with risky and unknown is a product decision. One honest option is to show the address with its status as a label, so the recruiter knows which ones to try first.
An empty list is a result, not an error. It means no contact details of that type were found for this person. Show "none found" on the card and keep the other lookup's result; a candidate with no personal email can still have a mobile.
Two statuses need handling in code:
403means the key is missing or invalid, or belongs to a different account. Fix the credentials. Do not retry.429means you hit a rate limit. Back off and retry. The documented limits today are on the autocomplete and feedback endpoints; treat a429on the contact lookups the same way.
Store the date, reuse before you re-spend
Save both lists on the candidate record together with the date of each lookup. Before the action spends credits again, check that date. A second click on the same card the same week should read what you already have.
Two rules make the button safe to click twice:
- Make the action idempotent. Key the in-flight request on the candidate and the lookup type, so a double click or a page refresh does not send two requests.
- Re-run on a reason, not a timer. A new role on the profile is a reason. A recruiter opening the card again is not.
The candidate record then holds the email list with each row's status, the phone list, and a looked_up date for each. That date is also what you show the recruiter, so they know how old the details are.
Report the outcome
When a recruiter calls a number Forager returned, send the result back. The phone number feedback endpoint takes the number in any format, normalizes it to E.164, and stores each report as its own row with 201 Created.
Required fields: phone_number and contact_status, which is connected or disconnected. Optional: is_correct_person (true when the call confirmed the person, false when it reached someone else), name, and person_id. Leave is_correct_person out, or send null, when the call could not answer the question; a disconnected number reaches nobody, so there is no one to identify. null means "unknown" and is stored differently from false.
cURL
curl -X POST "https://api-v2.forager.ai/api/$FORAGER_ACCOUNT_ID/datastorage/feedback/phone_numbers/" \
-H "X-API-KEY: $FORAGER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"phone_number": "+12025550142", "contact_status": "connected", "is_correct_person": true, "person_id": 1234567}'
Python (requests)
resp = requests.post(
f"https://api-v2.forager.ai/api/{os.environ['FORAGER_ACCOUNT_ID']}/datastorage/feedback/phone_numbers/",
headers={"X-API-KEY": os.environ["FORAGER_API_KEY"]},
json={"phone_number": "+12025550142", "contact_status": "connected",
"is_correct_person": True, "person_id": 1234567},
)
resp.raise_for_status() # 201 Created
JavaScript (fetch)
const resp = await fetch(
`https://api-v2.forager.ai/api/${process.env.FORAGER_ACCOUNT_ID}/datastorage/feedback/phone_numbers/`,
{
method: "POST",
headers: { "X-API-KEY": process.env.FORAGER_API_KEY, "Content-Type": "application/json" },
body: JSON.stringify({
phone_number: "+12025550142", contact_status: "connected",
is_correct_person: true, person_id: 1234567,
}),
},
);
if (resp.status !== 201) throw new Error(`Forager returned ${resp.status}`);
There is a matching endpoint for personal emails, with contact_status set to valid or invalid, for when an address bounces. All three feedback endpoints are free and share one budget of 60 requests per minute per account. A dialer can send one report after every call; a sequencer can send one after every bounce. If your platform batches outcomes, keep the batch under that limit or spread it out.
What the platform owns
Three things stay on your side of the line, and no data provider can take them off your hands:
- Opt-out handling. A candidate who asks not to be contacted is a flag in your system. The action should check it before any lookup runs.
- Retention. How long the stored contact details stay on the candidate record, and when they are purged, is a rule your platform sets and your users can read.
- Candidate notices. What a candidate is told about where their details came from is your product's wording.
Forager's own GDPR statement is on the GDPR compliance page. Nothing on this page is legal advice.
When you don't need any of this
A recruiter who looks up a handful of candidates a week does not need an API. A browser tool or a manual search does the job, and the how-to pages above cover it. This guide is for the platform that shows contact details on every candidate card, where one click has to cost a known amount, return a known shape, and never spend twice.
FAQ
Does the personal email lookup return work addresses?
No. It returns addresses on free webmail providers only. Company domains, school domains and custom domains are excluded. Work addresses come from the separate work email lookup.
What happens when nothing is found?
The personal email lookup returns 200 with an empty body and uses no credits. Treat an empty list as "none found" and show that on the card. For the phone lookup, an empty list also means none found, and it costs 0 credits.
Is a miss charged?
No. A personal email lookup is charged only when at least one address is returned, and a mobile number lookup only when a number is found. See the cost table above.
How do I report a bad number?
Send a POST to the phone number feedback endpoint with the number and contact_status: "disconnected". Add is_correct_person: false only if the call reached the wrong person; leave it out when nobody answered. The request is free and returns 201.
Can I look up from a name instead of a URL?
The two contact lookups on this page take linkedin_public_identifier or person_id. A name plus a company domain is an input to the work email lookup (first_name, last_name, domain), not to these two. If a name is all you hold, use people search to find the candidate's record and its person_id first, then pass that person_id to the contact lookups.
Sources for what page 1 says
- Datablist, "How to find a candidate's personal email", https://www.datablist.com/how-to/find-a-candidates-personal-email (Oct 24, 2026; retrieved 2026-11-01).
- SohamRecruit, "How to find candidate contact details", https://sohamrecruit.com/blog/how-to-find-candidate-contact-details (Oct 29, 2026; retrieved 2026-11-01).
- NPAworldwide, "10 tools to find candidates' contact information", https://npaworldwide.com/blog/2023/09/19/10-tools-to-find-candidates-contact-information/ (Sep 19, 2023; retrieved 2026-11-01).
Add the button to your platform
Get a free API key with $5 in credits, run the two calls on a few candidates your recruiters looked up last week, and check what comes back before you wire the card.
- 800M+ people and 65M+ companies
- Mobile and email lookups that find nothing cost 0 credits
- Free API key to start
#1 of 10 in Clay's 2026 test of mobile data providers Source: Clay