June 17th, 2024

You can now filter companies by their business type, directly from the interface or the API.
Supported types include:
Use the Business Type filter in the sidebar of your search view to refine your results instantly.
Use the about.businessType field in your search query:
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