Find a phone number
A person's phone number, usually a mobile, with a WhatsApp link. Billed only when found.
POST https://api.won.dev/v1/enrich/people/phone/find
Finds a person's phone number, usually a mobile, from their LinkedIn profile, their email, their name and the website of their employer, or the person_id another call returned. A LinkedIn profile finds the most. Costs $0.10 when a number is found; finding none is free. Sources are tried in a fixed order, cheapest first. Every number is checked against the numbering plan of its country and returned in E.164 format with its type (mobile, landline, voip, or unknown when the check did not answer) and country; a number that cannot exist is dropped and not charged. A mobile number comes with a wa.me link to start a WhatsApp chat: whether the person uses WhatsApp on it is not checked. The line itself is not called or checked. Use it for people you have a reason to call, and respect the rules on calling and messaging where they are.
- Billing:
person_phone$0.10: One phone number found that passed the numbering plan check. - Mode:
waterfall(what the modes mean)
Parameters
Parameters go in the JSON body. POST requests also take an Idempotency-Key header, see Idempotency.
| Parameter | Type | Required | Description |
|---|---|---|---|
email | string | no | The person's email address, such as jane@example.com. |
linkedin_url | string | no | The person's LinkedIn profile, such as https://www.linkedin.com/in/jane-doe. |
first_name | string | no | First name, with last_name and domain. |
last_name | string | no | Last name, with first_name and domain. |
domain | string | no | The website of the person's employer, such as example.com, with first_name and last_name. |
company_id | string | no | A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used. |
person_id | string | no | A person ID this account was given in the last 90 days, such as per_4m7q2x9k1c8d, instead of naming the person: their name, employer website and LinkedIn profile on file are used. What you pass besides it wins. |
max_cost | number | no | Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged. |
dry_run | boolean | no | If true, only return the maximum cost of this call. Nothing runs, nothing is charged. Default: false. |
Response
With dry_run: true nothing runs and data holds only the most the call can cost, see Dry runs. Errors are described in Errors.
| Field | Type | Description |
|---|---|---|
data | object | null | The phone number. Null when none was found. |
data.number | string | In E.164 format, such as +14155550123. |
data.type | mobile | landline | voip | other | unknown | What the numbering plan says the number is: mobile, landline, voip, other, or unknown. It is not a live check of the line. |
data.country | string | null | ISO 3166 code of the country the number belongs to. |
data.whatsapp_url | string | null | A wa.me link that opens a chat with a mobile number. Whether the number uses WhatsApp is not checked. Null for other numbers. |
query | object | The request as it was understood: country names as codes, the default dates filled in. |
notice | string | null | A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise. |
usage | object | What this call was charged, and the balance left. |
usage.unit | person_record | person_profile | person_email | person_phone | email_verification | company_listing | company_record | company_channels | company_technologies | company_funding | company_news | company_lookalikes | job_posting | What is counted. |
usage.records | integer | How many were returned and charged. |
usage.already_paid | integer | How many more were returned for free, because this organization paid for them in the last 30 days. |
usage.cost | number | What this call cost, in US dollars. |
usage.balance | number | The balance left after this call, in US dollars. |
usage.replayed | boolean | True when this is a repeat of a request from the last 24 hours. Repeats are free. |
Example
curl https://api.won.dev/v1/enrich/people/phone/find \
-H "Authorization: Bearer $WON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee"
}'{
"data": {
"number": "+17045550142",
"type": "mobile",
"country": "US",
"whatsapp_url": "https://wa.me/17045550142"
},
"query": {
"linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee"
},
"notice": null,
"usage": {
"unit": "person_phone",
"records": 1,
"already_paid": 0,
"cost": 0.1,
"balance": 48.9,
"replayed": false
}
}A test key (won_test_...) answers this request with the same sample company and people, free of charge.