June 17th, 2024

Search companies by business type

You can now filter companies by their business type, directly from the interface or the API.

Supported types include:

In the interface

Use the Business Type filter in the sidebar of your search view to refine your results instantly.

Via the API

Use the about.businessType field in your search query:

Example

Find nonprofits in the US:

import createClient from '@thecompaniesapi/sdk'

const tca = createClient({ apiToken: 'YOUR_API_TOKEN' })

// Documentation: https://www.thecompaniesapi.com/api/search-companies
const response = await tca.searchCompanies({
  [
    {
      "attribute": "about.businessType",
      "operator": "or",
      "sign": "equals",
      "values": [
        "nonprofit"
      ]
    },
    {
      "attribute": "locations.headquarters.country.code",
      "operator": "or",
      "sign": "equals",
      "values": ["us"]
    }
  ]
})

You can also combine this with other filters like industry, technology, size, or traffic to build powerful, targeted queries.

โ†’ Try it in the interface or explore in the API docs