Skip to Content
Won.dev

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.

ParameterTypeRequiredDescription
industrystring[]noIndustries, 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.
countrystring[]noWhere 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+)[]noHow 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+.
technologystring[]noSoftware 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_domainsstring[]noWebsites to leave out, such as the companies already in your CRM. Up to 100.
limitintegernoHow many results to return, 1 to 100. You pay for the results returned. Default: 25.
cursorstringnoTo get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.
max_costnumbernoSpending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
dry_runbooleannoIf 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.

FieldTypeDescription
dataobject[]The companies of this page.
data[].namestringCompany name.
data[].domainstringIts website, such as example.com. Pass it as domain to the company and people endpoints.
totalintegerHow many companies match in all. Use it to size a market, or to decide between paging on and narrowing the search.
has_morebooleanWhether more companies follow this page.
next_cursorstring | nullPass it as cursor to get the next page. Null on the last page.
queryobjectThe request as it was understood: country names as codes, the default dates filled in.
noticestring | nullA plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.
usageobjectWhat this call was charged, and the balance left.
usage.unitperson_record | person_profile | person_email | person_phone | email_verification | company_listing | company_record | company_channels | company_technologies | company_funding | company_news | company_lookalikes | job_postingWhat is counted.
usage.recordsintegerHow many were returned and charged.
usage.already_paidintegerHow many more were returned for free, because this organization paid for them in the last 30 days.
usage.costnumberWhat this call cost, in US dollars.
usage.balancenumberThe balance left after this call, in US dollars.
usage.replayedbooleanTrue 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.

On this page