Enrichment API
Company profiles, people, work emails, phone numbers and job postings over one REST API, billed only for what is found.
The enrichment API finds companies and fills in what you know about a company or a person: an industry, a country and a size become a list of companies; a website becomes a company profile with its channels, technologies, funding, news and open jobs, or is read for the contacts it publishes; a company becomes a list of its people; a person becomes a profile, a verified work email and a phone number. It works for any company, whether or not it is in the trade data. To find the importers or exporters of a product, use the trade data API, and to find the companies that just started hiring, raised money or import more, the signals API; then the endpoints here for the companies they find. Every endpoint is JSON over HTTPS.
- Base URL:
https://api.won.dev/v1 - OpenAPI 3.1 document:
https://api.won.dev/v1/openapi.json - The same key, balance and rules as the trade data API: see Authentication, Responses, Pagination, Rate limits, Idempotency and Errors.
Endpoints
Companies
| Endpoint | Request | Billed by |
|---|---|---|
| Search companies | POST /enrich/companies/search | company_listing $0.002 |
| Enrich a company | POST /enrich/companies/find | company_record $0.01, company_channels $0.02, company_technologies $0.02, company_funding $0.03, company_news $0.03, job_posting $0.003, company_lookalikes $0.03 |
| List a company's job postings | POST /enrich/companies/jobs/search | job_posting $0.003 |
| Read a company's website | POST /enrich/companies/website/read | company_channels $0.02, person_email $0.03 |
People
| Endpoint | Request | Billed by |
|---|---|---|
| Find people | POST /enrich/people/search | person_record $0.005 |
| Enrich a person | POST /enrich/people/find | person_profile $0.02, person_email $0.03, person_phone $0.10 |
| Find a work email | POST /enrich/people/email/find | person_email $0.03 |
| Find a phone number | POST /enrich/people/phone/find | person_phone $0.10 |
| Verify an email address | POST /enrich/email/verify | email_verification $0.003 |
A typical flow
POST /enrich/companies/searchlists the companies of your market: an industry, a country, a size. The signals API lists the ones that just posted jobs, raised a round or import more, with a sentence to open with. Skip it when you already have a list.POST /enrich/companies/findwith the website fills in a company.include: ["channels", "jobs"]adds its shared mailboxes, phone numbers and messaging contacts, and whether it is hiring.POST /enrich/people/searchlists its people. Narrow it to buyers withdepartmentortitles. Without a company, it finds people by title at any company, narrowed bycompany_country,locationandindustry.POST /enrich/people/email/findwith a person'sidasperson_idfinds the work email of the ones worth it, andPOST /enrich/people/phone/findtheir phone.POST /enrich/people/findgets the profile, the email and the phone of one person in one call.POST /enrich/email/verifychecks an address you got elsewhere before a campaign.
For a buyer or supplier from the trade data, GET /trade/companies/{id}/contacts does steps 3 and 4 in one call: the people to approach, each with a verified work email.
Person IDs
Every person an endpoint returns has an ID, such as per_4m7q2x9k1c8d, and it is kept for your account for 90 days after it was last returned, with what the answer said of them. Pass it as person_id to POST /enrich/people/email/find, POST /enrich/people/phone/find or POST /enrich/people/find instead of naming the person: their name, employer website and LinkedIn profile on file are used, and what you pass besides wins. An email that is found is kept with the ID, so the ID then adds the person to a campaign as contact_id. The same person can come back under another ID from another endpoint; each one works. An ID works only for the account it was returned to, and a person who asked to be removed is no longer kept.
Wherever an endpoint takes a company's domain, it also takes the company_id of a company from the trade data API, such as co_8f3k2m9x4p1q, and uses the website on record. When none is on record the answer is invalid_input, unless the request also names the company another way, such as its name or its LinkedIn page: then that is used. GET /trade/companies/{id}/contacts finds the website, or pass it as domain.
Billing by result
You pay for what is found, never for the call itself.
| Unit | Price | What is counted |
|---|---|---|
person_email | $0.03 | One work email found on the employer's domain, checked before it is returned. |
company_channels | $0.02 | The shared mailboxes, phone numbers or messaging contacts found on one company's website, however many. |
person_record | $0.005 | One person in a list of a company's people, without contact details. |
person_profile | $0.02 | One person's profile found. |
person_phone | $0.10 | One phone number found that passed the numbering plan check. |
email_verification | $0.003 | One verdict on an address: verified, risky or invalid. |
company_record | $0.01 | One company profile found. |
company_listing | $0.002 | One company in a company search: its name and website. |
company_technologies | $0.02 | The technologies of one company's website, however many. |
company_funding | $0.03 | The funding rounds of one company, however many. |
company_news | $0.03 | The recent articles about one company, however many. |
company_lookalikes | $0.03 | The companies like one company, however many. |
job_posting | $0.003 | One job posting returned. |
- Nothing found is free, and so is a failed request.
POST /enrich/companies/find,POST /enrich/companies/website/readandPOST /enrich/people/findbill each part by its own unit, and only the parts that have something.usage.breakdownlists them.- The first call to
POST /enrich/companies/website/readonly starts the read, and is free. - A part that cannot be loaded is
nulland is not charged.noticenames it, and the same request again loads it without charging what you already paid for. - A company, person, email, phone number or job posting your organization paid for in the last 30 days comes back free, from any endpoint, and
usage.already_paidcounts it, An email verification is charged each time. - The same request again within 24 hours is free,
dry_run: truereturns the most a call can cost, andmax_costcaps one call, as in the trade data API.
{
"usage": {
"cost": 0.036,
"breakdown": [
{
"unit": "company_record",
"records": 1,
"cost": 0.01
},
{
"unit": "company_channels",
"records": 1,
"cost": 0.02
},
{
"unit": "job_posting",
"records": 2,
"cost": 0.006
}
],
"balance": 48.964,
"replayed": false
}
}Whose data comes back
An answer about the wrong company or the wrong person costs more than no answer, so the checks are strict:
- A company asked for by website is never one filed under another website, such as a namesake or a parent.
- A company search leaves out every website that cannot be a company's own, such as a marketplace, a social network or a mail provider.
POST /enrich/people/searchreturns only people filed under the company's own domain. When nobody is, it lists the people the company's LinkedIn page names as current employees, and says so innotice, unlesscompany_country,location,industryorwith_emailnarrow the search.- A person looked up by name and employer is never someone of that name at another company.
- A work email is always on the employer's own domain and checked before it is returned. A LinkedIn profile is first turned into a name and a current employer, so an address at a former employer never comes back, and neither does a shared mailbox such as
info@. - A phone number is checked against the numbering plan of its country. A mobile comes with a
wa.melink; whether the person uses WhatsApp on it is not checked. POST /enrich/companies/website/readkeeps only the addresses on the company's own domain, and checks every person's address before it is returned: an address made from a name and the company's pattern comes back only when the mailbox is confirmed. It follows robots.txt and never works around a bot check.
When a person cannot be found, a small company can still be reached through the shared mailboxes, phone numbers and messaging contacts of its website, such as a WhatsApp number: POST /enrich/companies/find with include: ["channels"].
Using the data
The data is business contact data for B2B use. Contact people about their work, follow the rules that apply where they are, such as GDPR, CAN-SPAM and the rules on calling and messaging, and honor every opt-out. Someone who asked us to remove their address never gets it returned as a work email.
Test keys
A key that starts with won_test_ gets the same sample company and people from every endpoint: names with SAMPLE, domains under .example and phone numbers kept for fiction, in the same response shapes and with the same validation. It costs nothing and never reaches a data source. The examples in these docs show the same samples.