Search companies
Companies by industry, headquarters country, headcount and technology, with their websites. Billed per company returned.
POST https://api.won.dev/v1/enrich/companies/search
Lists the companies that fit a profile: an industry, where the headquarters are, how many people work there, and the software their website runs. Returns each company's name and website, the companies where we know the most people first, with total for the size of the market. Costs $0.002 for each company returned; none is free. Every website is checked to be a company's own: marketplaces, social networks and mail providers are left out, so a page can hold fewer than limit. To find importers or exporters of a product, use POST /trade/companies/search instead, which reads customs records. Next: POST /enrich/companies/find for a company's profile, POST /enrich/people/search for its people, and POST /enrich/companies/website/read for the contacts its website gives.
- Billing:
company_listing$0.002: One company in a company search: its name and website. - Mode:
proxy(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 |
|---|---|---|---|
industry | string[] | no | Industries, in your words or by name: furniture stands for every industry with that word (its makers, wholesalers and retailers), a full name such as Furniture and Home Furnishings Manufacturing for that one alone. Names are LinkedIn's. Up to 5; query.industry says which names were searched. |
country | string[] | no | Where the headquarters are: ISO codes such as DE, or English names. Up to 10. |
size | (1-10 | 11-50 | 51-200 | 201-500 | 501-1000 | 1001-5000 | 5001-10000 | 10001+)[] | no | How many people work there, as the company states it: any of 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+. |
technology | string[] | no | Software the company's website runs, such as Shopify, WooCommerce or HubSpot: companies with any of them. Up to 10. Give it with an industry or a size. |
exclude_domains | string[] | no | Websites to leave out, such as the companies already in your CRM. Up to 100. |
limit | integer | no | How many results to return, 1 to 100. You pay for the results returned. Default: 25. |
cursor | string | no | To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters. |
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[] | The companies of this page. |
data[].name | string | Company name. |
data[].domain | string | Its website, such as example.com. Pass it as domain to the company and people endpoints. |
total | integer | How many companies match in all. Use it to size a market, or to decide between paging on and narrowing the search. |
has_more | boolean | Whether more companies follow this page. |
next_cursor | string | null | Pass it as cursor to get the next page. Null on the last page. |
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/companies/search \
-H "Authorization: Bearer $WON_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"industry": [
"furniture"
],
"country": [
"US"
],
"size": [
"51-200",
"201-500"
],
"limit": 3
}'{
"data": [
{
"name": "SAMPLE Northfield Home Furnishings",
"domain": "northfield-home.example"
},
{
"name": "SAMPLE Harborside Seating Co",
"domain": "harborside-seating.example"
},
{
"name": "SAMPLE Pine & Loom Interiors",
"domain": "pineandloom.example"
}
],
"total": 1874,
"has_more": true,
"next_cursor": "cur_Qm4tR2x9LpZ0aWl1Lm1xNHo",
"query": {
"industry": [
"Furniture",
"Furniture and Home Furnishings Manufacturing",
"Household and Institutional Furniture Manufacturing",
"Office Furniture and Fixtures Manufacturing",
"Retail Furniture and Home Furnishings",
"Reupholstery and Furniture Repair",
"Wholesale Furniture and Home Furnishings"
],
"country": [
"US"
],
"size": [
"51-200",
"201-500"
],
"limit": 3
},
"notice": null,
"usage": {
"unit": "company_listing",
"records": 3,
"already_paid": 0,
"cost": 0.006,
"balance": 48.994,
"replayed": false
}
}A test key (won_test_...) answers this request with the same sample company and people, free of charge.