The Companies API LogoThe Companies API Logo
CompaniesAPIUse casesPricing
LoginLogin

Your enrichment API to boost your product and your marketing

Search companies, enrich a list of domains and find similar businesses.

Search or enrich companiesCompanies
13 Endpoints
Request actions on companiesActionsNew
2 Endpoints
Browse our industriesIndustries
2 Endpoints
Browse our technologiesTechnologies
1 Endpoint
Browse our locationsLocations
5 Endpoints
Browse our job titlesJob titles
1 Endpoint
Manage your listsLists
3 Endpoints
Manage your teamTeam
1 Endpoint

API Documentation

The Companies API is built using the REST architecture. Our routes accept request bodies encoded in the form format and return responses encoded in the JSON format. You can jump from one feature to another with the navigation menu on your left. Examples with real responses are provided on the right side of the page.

julien
Of course, if you need help with anything or want to see additional features, feel free to reach us in the chatbox. We are usually quick to implement them.
Power
Need help?

Send us a message in the chatbox. A developer will reply to you as soon as possible to answer your questions.

Not a developer?

We can help you integrate our API. Send us a message in the chatbox.

Authentication

The Companies API uses API token to authenticate requests. You can manage your API tokens in your settings or on the right side of this section.

There are two ways to authenticate your HTTP requests to the API:

By adding an "Authorization" header. The "Authorization" header is formatted as such: "Authorization: Basic MY-API-TOKEN" (replace "MY-API-TOKEN" with one of yours).

By sending the API token as a "GET" parameter. Like this "?token=MY-API-TOKEN" (mostly used to quickly test a endpoint).

power
Please note that you can only use HTTPS to access the API. HTTP is not supported.
nada
Your API tokens carry many privileges, so keep them secure! Please do not share them in publicly accessible areas such as GitHub, client-side code, etc. Those authentication keys are permanent (they never expire). You can consider them safe for long-term purposes.

Good to know

To help you test all our endpoints, your API token is automatically included when you copy them.
Power

No API token found

Create an API token to start using our endpoints.

Errors & Rate-Limiting

The Companies API uses conventional HTTP response codes to indicate the success or failure of an API request. Generally, Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted). Codes in the 5xx range indicate an error with our servers (these are rare).

Some 4xx errors that could be handled programmatically include an error code that briefly explains what went wrong.

Error object

error. codestring

For some errors that could be handled programmatically, a number indicating the error code reported.

403

error. messagestring

A message providing more details about the error.

Missing API token

error. typestring

The type of error returned (see the list on your right).

apiConnectionError

Possible values

apiConnectionError
apiError
authenticationError
invalidRequestError
noCreditsRemaining
rateLimitError
anthony
Each plan has its own rate limit for requests per second (RPS). Startup: 50 RPS, Scaleup: 250 RPS, Enterprise: 1,000 RPS.
HTTP status code summary
200 - OKThe request was successful.
400 - Bad RequestThe request was unacceptable, often due to missing a required parameter.
401 - UnauthorizedNo valid API token provided.
402 - Request FailedThe parameters were valid, but the request failed.
403 - ForbiddenThe API token doesn't have permission to perform the request.
404 - Not FoundThe requested resource doesn't exist.
409 - ConflictThe request conflicts with another request (perhaps due to using the same idempotent key).
429 - Too Many RequestsToo many requests hit the API too quickly. We recommend an exponential backoff of your requests.
500, 502, 503, 504 - Server ErrorsSomething went wrong on our end. These rare errors should be reported, but we catch them with Sentry and fix them as soon as they occur.
HTTP errors types summary
apiConnectionErrorFailure to connect to The Companies API.
apiErrorAPI errors cover any other type of problem (e.g., a temporary problem with The Companies API's servers) and are extremely uncommon.
authenticationErrorFailure to properly authenticate yourself in the request.
invalidRequestErrorInvalid request errors arise when your request has invalid parameters.
noCreditsRemainingYou have no remaining credits to make this request.
rateLimitErrorToo many requests hit the API too quickly. We recommend an exponential backoff of your requests.

Webhooks

The Companies API uses webhooks to notify you about changes or when an operation ends. You can manage your webhooks on the right side of this section or in your settings.

Webhooks are helpful for receiving the results of our algorithms. For instance, when a new company you have requested has been scrapped.

julien
We are always looking for new ways to use webhooks. If you have any suggestion, please let us know.
Power

No webhook found

Create a webhook to receive a notification for important events.

Companies

You will find all our features regarding our database of companies below.

Search companies with a specific condition or by name. Retrieve the profile of a particular business by providing its domain name or one of its social network URLs.

Do you also need to get similar companies or even the email patterns they use? We got you covered.

power
An important concept to keep in mind is that we represent a company by its domain name (e.g., microsoft.com). This is what we use as a unique key. That means that when we discover a new domain name, we consider it a new company.
Endpoints
GET
https://api.thecompaniesapi.com/v2/companies
GET
https://api.thecompaniesapi.com/v2/companies/by-name
GET
https://api.thecompaniesapi.com/v2/companies/by-prompt
GET
https://api.thecompaniesapi.com/v2/companies/similar
GET
https://api.thecompaniesapi.com/v2/companies/count
GET
https://api.thecompaniesapi.com/v2/companies/:domain
GET
https://api.thecompaniesapi.com/v2/companies/by-email
GET
https://api.thecompaniesapi.com/v2/companies/by-social
GET
https://api.thecompaniesapi.com/v2/companies/:domain/email-patterns
POST
https://api.thecompaniesapi.com/v2/companies/:domain/ask
GET
https://api.thecompaniesapi.com/v2/companies/:domain/context
GET
https://api.thecompaniesapi.com/v2/companies/analytics
GET
https://api.thecompaniesapi.com/v2/companies/analytics/export

Search companies

1 credit per company

Do you need to search companies located in a given country for a specific industry and that use a particular technology? Combine our conditions and create powerful search queries to identify them.

Want to build a powerful company search engine on your application? We made a guide for this.

Query parameters

querystring (required)

An array of conditions the companies must match.

Make sure this parameter is stringified and encoded.

GET
https://api.thecompaniesapi.com/v2/companies?query=%5B%7B%22attribute%22%3A%22about.industries%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22retail%22%2C%22internet%22%2C%22services%22%5D%7D%2C%7B%22attribute%22%3A%22locations.headquarters.country.code%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22us%22%2C%22fr%22%2C%22gb%22%5D%7D%5D
The endpoint that defines your search criteria.
domainsToExcludestring (optional)

A list of comma-separated domains to exclude from the results.

/companies?domainsToExclude=amazon.com,pearson.com

linkedinToExcludestring (optional)

A list of comma-separated LinkedIn URLs to exclude from the results.

/companies?linkedinToExclude=https://www.linkedin.com/company/amazon,https://www.linkedin.com/company/pearson

pagenumber (optional)

The page to fetch (default to 1).

/companies?page=1

searchstring (optional)

An additional search query applied to the company name or domain.

/companies?search=amazon

searchFieldsarray (optional)

Define the fields to search.

/companies?searchFields[]=domain&searchFields[]=name

Possible values

about.name
domain.domain
simplifiedboolean (optional)

Return a simplified version of the companies (no credits deducted but limitation are applied on the free plan). It is useful for previewing the data before fetching the full version. Default to false.

/companies?simplified=true

Possible values

false
true
sizenumber (optional)

The number of companies to be returned (between 1 and 100). Default to 10.

/companies?size=10

sortFieldsstring (optional)

An array of multiple fields combined to sort the results.

…/companies?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D

Make sure this parameter is stringified and encoded.

sortKeystring (optional)

The field to sort the results.

…/companies?sortKey=meta.score

Possible values

about.businessType
about.industries
about.industry
about.name
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
13 others
sortOrderstring (optional)

The order to sort the results.

…/companies?sortOrder=asc

Possible values

asc
desc

Response

companiesarray

The companies that match your conditions.

Browse all datapoints
metaobject

The metas information.

queryarray

The conditions the companies must match.

nada
To help you create your first conditions, we have designed a generator above. We would also be glad to help you if you need it.
Endpoints
GET
https://api.thecompaniesapi.com/v2/companies
POST
https://api.thecompaniesapi.com/v2/companies

Search companies by name

1 credit per company

Retrieve a company profile by providing the company name. You can use this endpoint if you need more information about the company, but be careful. Two companies can have the same name—for example, Bolt. That's why this feature can return multiple companies.

Query parameters

namestring (required)

The company name.

…/companies/by-name?name=microsoft

pagenumber (optional)

The page to fetch (default to 1).

/companies/by-name?page=1

countriesstring (optional)

The countries to filter the companies by. You can provide multiple countries separated by a comma. Default to all countries.

/companies/by-name?countries=us,fr,de

Possible values

ad
ae
af
ag
ai
al
am
ao
aq
ar
238 others
exactWordsMatchboolean (optional)

If set to true, the company name must match the searched words. 'Bank of A' will not return Bank of America but 'Bank of' and 'Bank of America' will. Default to true.

/companies/by-name?exactWordsMatch=false

listsToExcludestring (optional)

Comma-separated IDs of your lists containing companies to exclude from the results.

/companies/by-name?listsToExclude=3920,3925

searchFieldsarray (optional)

attributes.searchFields

/companies?searchFields[]=domain&searchFields[]=name

Possible values

about.name
domain.domain
simplifiedboolean (optional)

Return a simplified version of the companies (no credits deducted but limitation are applied on the free plan). It is useful for previewing the data before fetching the full version. Default to false.

/companies/by-name?simplified=true

Possible values

false
true
sizenumber (optional)

The number of companies to be returned (between 1 and 25). Default to 1.

/companies/by-name?name=amazon&size=2

sortFieldsstring (optional)

An array of multiple fields combined to sort the results.

…/companies/by-name?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D

Make sure this parameter is stringified and encoded.

sortKeystring (optional)

The field to sort the results.

…/companies/by-name?sortKey=meta.score

Possible values

about.businessType
about.industries
about.industry
about.name
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
13 others
sortOrderstring (optional)

The order to sort the results.

…/companies/by-name?sortOrder=asc

Possible values

asc
desc

Response

companiesarray

The companies that match with the name.

Browse all datapoints
metaobject

The metas information.

julien
If you have a company's domain name, it's better to use it. We use it as a unique key in our database. See our endpoint below.
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/by-name

Search companies using a prompt

1 credit per company

Describe the companies you are looking for and our AI model will find them for you. You can adjust the similarity threshold to enhance the precision of your results.

Query parameters

promptstring (required)

The prompt our AI model will use to search for companies.

…/companies/by-prompt?prompt=universities in the united states

listsToExcludestring (optional)

Comma-separated IDs of your lists containing companies to exclude from the results.

/companies/by-prompt?listsToExclude=3920,3925

pagenumber (optional)

The page to fetch (default to 1).

/companies/by-prompt?page=1

similaritynumber (optional)

The similarity threshold to use for the search (between 0 and 2). Default to 1.875.

/companies/by-prompt?similarity=0.75

simplifiedboolean (optional)

Whether to return a simplified version of the company profile. Default to false.

/companies/by-prompt?simplified=true

sizenumber (optional)

The number of companies to be returned (between 1 and 25). Default to 10.

/companies/by-prompt?size=10

sortFieldsstring (optional)

An array of multiple fields combined to sort the results.

…/companies/by-prompt?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D

Make sure this parameter is stringified and encoded.

sortKeystring (optional)

The field to sort the results.

…/companies/by-prompt?sortKey=meta.score

Possible values

about.businessType
about.industries
about.industry
about.name
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
13 others
sortOrderstring (optional)

The order to sort the results.

…/companies/by-prompt?sortOrder=asc

Possible values

asc
desc

Response

companiesarray

The list of companies matching your prompt.

Browse all datapoints
metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/by-prompt?prompt=universities in the united states

Search for similar companies (competitors, your customers, etc.)

5 credits per similar company

Send us one or more domains and we will return a list of similar companies.

Query parameters

domainsarray (required)

A list of domains separated by commas.

…/companies/similar?domains[]=microsoft.com&domains[]=wix.com

pagenumber (optional)

The page to fetch (default to 1).

/companies/similar?domains[]=…&page=1

sizenumber (optional)

The number of similar companies to be returned (between 1 and 100). Default to 10.

/companies/similar?domains[]=…&size=50

sortFieldsstring (optional)

An array of multiple fields combined to sort the results.

…/companies/similar?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D

Make sure this parameter is stringified and encoded.

sortKeystring (optional)

The field to sort the results.

…/companies/similar?sortKey=meta.score

Possible values

about.businessType
about.industries
about.industry
about.name
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
13 others
sortOrderstring (optional)

The order to sort the results.

…/companies/similar?sortOrder=asc

Possible values

asc
desc

Response

companiesarray

The similar companies for your list of domains.

Browse all datapoints
metaobject

The metas information.

julien
This API feature is one of the most powerful. You can use it to find similar companies to your own, or to find companies that are similar to your customers. You can also use it to find companies that are similar to your competitors. The possibilities are endless.
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/similar?domains[]=microsoft.com&page=1&size=10

Count companies matching your query

Free

Count the companies matching your conditions. Useful if you are building your own search engine for companies.

Query parameters

querystring (required)

An array of conditions the companies must match.

Make sure this parameter is stringified and encoded.

GET
https://api.thecompaniesapi.com/v2/companies/count?query=%5B%7B%22attribute%22%3A%22about.industries%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22retail%22%2C%22internet%22%2C%22services%22%5D%7D%2C%7B%22attribute%22%3A%22locations.headquarters.country.code%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22us%22%2C%22fr%22%2C%22gb%22%5D%7D%5D
The endpoint that defines your search criteria.
searchstring (optional)

An additional search query applied to the company name or domain.

/companies/count?search=amazon

searchFieldsarray (optional)

Define the fields to search.

/companies/count?searchFields[]=domain&searchFields[]=name

Possible values

about.name
domain.domain

Response

countnumber

The number of companies matching the conditions.

Endpoints
GET
https://api.thecompaniesapi.com/v2/companies/count
POST
https://api.thecompaniesapi.com/v2/companies/count

Enrich a company from a domain

1 credit per enrichment

Enrich a company by sending us its domain name. The domain name is a better identifier than the company name because it is unique and less prone to typos.

Query parameters

domainstring (required)

The company domain.

microsoft.com

Response

company. aboutobject

General information about the company.

company. analyticsobject

Analytical data and website performance.

company. appsobject

Information about the applications the company offers.

company. assetsobject

Company’s resources including digital assets.

company. codesobject

Standard industry classification codes for the company and other identification codes.

company. companiesobject

Details about related companies such as acquisitions and subsidiaries.

company. contactsobject

Contact information including emails and phones.

company. contentsobject

Content provided by the company like blogs, podcasts, and more.

company. descriptionsobject

Company descriptions and associated keywords converted to English with our AI.

company. domainobject

Details regarding the company’s domain name.

company. financesobject

Financial data and revenue information about the company.

company. locationsobject

Geographical locations and headquarters of the company.

company. metaobject

Meta information about the company.

company. secondariesobject

Additional information about the company we could not categorize.

company. socialsobject

Company’s social media links and metrics.

company. technologiesobject

Technologies used by the company.

company. urlsobject

URLs related to the company.

power
We return more than 50 datapoints including the industries, the revenue, the technologies… If you need something we do not have yet, please let us know.
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/microsoft.com
200 - OK
404 - Not found

Enrich a company from an email

1 credit per enrichment

Enrich a company by sending us an email.

Query parameters

emailstring (required)

The email to enrich.

/companies/[email protected]

simplifiedboolean (optional)

Whether to return a simplified version of the company payload.

/companies/[email protected]&simplified=true

Response

companyobject

Browse all datapoints
emailobject

power
In addition to the company data, if available, we will return highly useful information about the email.
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/[email protected]
200 - OK
404 - Not found
400 - Invalid email

Enrich a company from a social network url (LinkedIn, Instagram, etc.)

1 credit per enrichment

Retrieve the profile of a company by sending us a social network URL (see the list below for the ones we accept).

Query parameters

dribbblestring (optional)

The company's Dribbble URL.

/companies/by-social?dribbble=https://dribbble.com/microsoft

facebookstring (optional)

The company's Facebook URL.

/companies/by-social?facebook=https://www.facebook.com/microsoft

githubstring (optional)

The company's GitHub URL.

/companies/by-social?github=https://github.com/microsoft

instagramstring (optional)

The company's Instagram URL.

/companies/by-social?instagram=https://www.instagram.com/microsoft

linkedinstring (optional)

The company's LinkedIn URL. We handle both alpha urls (/company/microsoft) and numeric ids (/company/6585).

/companies/by-social?linkedin=https://www.linkedin.com/company/microsoft

pintereststring (optional)

The company's Pinterest URL.

/companies/by-social?pinterest=https://www.pinterest.com/microsoft

snapchatstring (optional)

The company's Snapchat URL.

/companies/by-social?snapchat=https://www.snapchat.com/add/microsoft

tiktokstring (optional)

The company's TikTok URL.

/companies/by-social?tiktok=https://www.tiktok.com/@microsoft

twitterstring (optional)

The company's Twitter URL.

/companies/by-social?twitter=https://twitter.com/microsoft

wellfoundstring (optional)

The company's Wellfound URL.

/companies/by-social?wellfound=https://wellfound.com/company/microsoft

youtubestring (optional)

The company's YouTube URL.

/companies/by-social?youtube=https://www.youtube.com/@microsoft

Response

company. aboutobject

General information about the company.

company. analyticsobject

Analytical data and website performance.

company. appsobject

Information about the applications the company offers.

company. assetsobject

Company’s resources including digital assets.

company. codesobject

Standard industry classification codes for the company and other identification codes.

company. companiesobject

Details about related companies such as acquisitions and subsidiaries.

company. contactsobject

Contact information including emails and phones.

company. contentsobject

Content provided by the company like blogs, podcasts, and more.

company. descriptionsobject

Company descriptions and associated keywords converted to English with our AI.

company. domainobject

Details regarding the company’s domain name.

company. financesobject

Financial data and revenue information about the company.

company. locationsobject

Geographical locations and headquarters of the company.

company. metaobject

Meta information about the company.

company. secondariesobject

Additional information about the company we could not categorize.

company. socialsobject

Company’s social media links and metrics.

company. technologiesobject

Technologies used by the company.

company. urlsobject

URLs related to the company.

yael
Multiple social URLs can be sent (i.e., both LinkedIn and YouTube), and we will check them in the order they are provided until we find a company that matches it.
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/by-social?linkedin=https://www.linkedin.com/company/microsoft
200 - OK
404 - Not found

Find a company email patterns

1 credit

Send us a domain name and retrieve all the email patterns they use with the usage percentage.

Query parameters

domainstring (required)

The company domain.

…/companies/microsoft.com/email-patterns

Response

patternsarray

The email patterns used.

power
We use this feature internally to prioritize the patterns when we want to guess and verify a business email address with external APIs. You can use this endpoint to decrease your API calls to tools like MailboxLayer or Debounce (and therefore your costs).
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/microsoft.com/email-patterns

Ask a question about a company to our AI model

10 credits per question

Ask questions about a company using our AI model. You can specify the model to use (small or large) and optionally provide fields to structure the response.

Query parameters

domainstring (required)

The domain name of the company you want to inquire about.

…/companies/microsoft.com/ask

questionstring (required)

The specific question you want to ask about the company.

What products does this company offer?

fieldsobject

An array defining the simplified field structure for the response.

If not provided, the structure will be automatically generated based on your question.

Available values for each field:

- `description`: A description explaining the field's purpose (optional)

- `key`: A unique identifier string, typically in camelCase format (required)

- `type`: The data type of the field (required)

[{"description":"The products that the company offers","key":"products","type":"array|string"}]

modelstring

The AI model to be used for processing the question.

large

Possible values

large
small

Response

answerobject

The answer to the question in a structured way.

metaobject

The meta information about the response.

Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/:domain/ask

Fetch the context of a company

5 credits per context

This endpoint allows you to retrieve AI-generated insights about a company. Our AI model analyzes the company's website and other authoritative sources to extract and synthesize key information into a comprehensive context. This includes details about their business model, target market, competitive advantages, and other strategic insights that may not be immediately apparent from raw company data.

Query parameters

domainstring (required)

The domain of the company to fetch the context for.

…/companies/microsoft.com/context

Response

contextobject

The context of the company.

metaobject

The meta information about the response.

Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/:domain/context

Fetch analytics data for a query or your lists

Free

Analyze and gain insights into companies that match your specified criteria. You can explore various attributes including business type, industry, employee count, and more. This endpoint also enables data export in multiple formats.

Query parameters

attributestring (required)

The analytics attribute to aggregate data for. This determines which field will be used to group and analyze the companies.

Possible values

about.businessType
about.industries
about.industry
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
contacts
13 others
queryarray (optional)

An array of conditions to filter the companies.

Make sure this parameter is stringified and encoded.

GET
https://api.thecompaniesapi.com/v2/companies/analytics?query=%5B%7B%22attribute%22%3A%22about.industries%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22retail%22%2C%22internet%22%2C%22services%22%5D%7D%2C%7B%22attribute%22%3A%22locations.headquarters.country.code%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22us%22%2C%22fr%22%2C%22gb%22%5D%7D%5D
The endpoint that defines your search criteria.
listIdsarray (optional)

Filter analytics to specific lists.

sizenumber (optional)

The maximum number of companies to include in the analysis (between 1 and 10,000). The default value is 100.

Possible values

1-10000
sortstring (optional)

The sort order of the results.

Possible values

asc
desc

Response

dataarray

Array of aggregated metrics (counts and percentages) for each value of the specified attribute.

metaobject

Additional metadata about the results.

Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/analytics

Export analytics data

Free

Export analytics data about companies in various formats. You can choose specific attributes to export or get a full export of all analytics attributes. The endpoint returns a file download in your chosen format.

Query parameters

attributesarray (optional)

An array of analytics attributes to export. Required if full is not true.

Possible values

about.businessType
about.industries
about.industry
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
contacts
13 others
fullboolean (optional)

Whether to export all analytics attributes.

queryarray (optional)

An array of conditions to filter the companies.

Make sure this parameter is stringified and encoded.

GET
https://api.thecompaniesapi.com/v2/companies/analytics/export?query=%5B%7B%22attribute%22%3A%22about.industries%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22retail%22%2C%22internet%22%2C%22services%22%5D%7D%2C%7B%22attribute%22%3A%22locations.headquarters.country.code%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22us%22%2C%22fr%22%2C%22gb%22%5D%7D%5D
The endpoint that defines your search criteria.
listIdsarray (optional)

Filter analytics to specific lists.

formatstring (optional)

The format of the exported file (defaults to json).

Possible values

csv
json
txt
xls
xml
Endpoint
GET
https://api.thecompaniesapi.com/v2/companies/analytics/export

Actions

Below, you'll find a comprehensive overview of the actions you can perform with companies.

These actions are particularly powerful for automating processes within your product using our API.

They enable you to not only enrich companies that aren't yet in our database but also to perform more detailed enrichment on existing ones if needed (such as extracting products for an e-commerce website).

power
As actions are a new feature in our product, please feel free to reach out with any ideas for additional ones. We’d be happy to discuss them with you.
Endpoints
POST
https://api.thecompaniesapi.com/v2/actions
GET
https://api.thecompaniesapi.com/v2/actions

Request an action on one or more companies

10 credits per action

This endpoint enables you to request an action for a single company, multiple companies, or an entire list of companies.

Body parameters

domainsarray (Max length: 100) (optional)

The domains that need to be processed. If you pass more than 100K domains, the request will be split into multiple actions.

["pearson.com","united.com"]

estimateboolean (optional)

Indicates whether you are requesting a price estimate.

Possible values

false
true
jobstring (optional)

The type of task to be performed.

Possible values

enrich-companies
enrich-list
listnumber (optional)

The ID of the list to be processed.

42

Response

actionsarray

The actions that have been triggered by the request.

estimateboolean

Indicates whether you are requesting a price estimate.

Endpoint
POST
https://api.thecompaniesapi.com/v2/actions
API response
{actions :[{cost :10,createdAt : "2024-08-23T17:02:47.296+02:00" ,data :{…},status : "pending" ,type : "jobs:request" ,},],estimate :true,}

Fetch the details of your actions

Free

This endpoint lets you retrieve your most recent actions requests.

Query parameters

fullboolean (optional)

Whether to fetch the full action details.

false

idsarray (optional)

The IDs of the actions to fetch.

[1,2]

listIdnumber (optional)

The ID of the list to fetch actions for.

1

pagenumber (optional)

The page to fetch (default to 1).

1

sizenumber (optional)

The number of actions to be returned (between 1 and 25). Default to 10.

10

statusstring (optional)

The status of the actions to retrieve.

Possible values

pending
completed
active
failed

Response

actionsarray

The list of actions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/actions
API response
{actions :[{cost :10,createdAt : "2024-08-23T17:02:47.296+02:00" ,data :{…},id :42,status : "pending" ,type : "jobs:request" ,updatedAt : "2024-08-23T17:02:47.296+02:00" ,},{cost :10,createdAt : "2024-08-23T17:02:40.000+02:00" ,data :{…},id :40,status : "completed" ,type : "jobs:request" ,updatedAt : "2024-08-23T17:02:40.000+02:00" ,},],meta :{currentPage :1,firstPage :1,lastPage :1,perPage :10,total :2,},}

Industries

Search for specific industries and get information as the number of companies it contains.

nada
We currently have over 3 million industries in our database. We can send you a file with our 100,000 most popular industries if you want to use it in your application.
Endpoints
GET
https://api.thecompaniesapi.com/v2/industries
GET
https://api.thecompaniesapi.com/v2/industries/similar

Search industries

Free

Search our industries database and get information such as the number of companies it contains. Results are sorted by "companies_count".

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

/industries?page=1

searchstring (optional)

An additional search query applied to the industry name.

/industries?search=saas

sizenumber (optional)

The number of industries to be returned (between 1 and 100). Default to 25.

/industries?size=10

Response

industriesarray

The industries that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/industries

Find similar industries

Free

Discover similar industries with our API. Identify related sectors and expand your business opportunities.

Query parameters

industriesarray (required)

The industries to compare with (max: 10).

/industries/similar?industries[]=saas&industries[]=fintech

pagenumber (optional)

The page to fetch (default to 1).

/industries/similar?page=1

sizenumber (optional)

The number of industries to be returned (between 1 and 100). Default to 25.

/industries/similar?size=10

Response

industriesarray

The industries that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/industries/similar?industries[]=saas&size=10

Technologies

We currently track 369 technologies. If you need a technology that is not listed, feel free to chat with us as it usually takes us less than 48 hours to add it.

Endpoint
GET
https://api.thecompaniesapi.com/v2/technologies

Search technologies

Free

Browse the technologies that we identify and get information such as the number of companies using it.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

/technologies?page=1

searchstring (optional)

An additional search query applied to the technology name.

/technologies?search=shopify

sizenumber (optional)

The number of technology to be returned (between 1 and 100). Default to 25.

/technologies?size=10

Response

technologiesarray

The technologies we identify that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/technologies

Locations

The following endpoints let you search all our locations: cities, counties, states, countries, and continents.

julien
You can use them to filter our companies in a specific location.
Endpoints
GET
https://api.thecompaniesapi.com/v2/locations/cities
GET
https://api.thecompaniesapi.com/v2/locations/counties
GET
https://api.thecompaniesapi.com/v2/locations/countries
GET
https://api.thecompaniesapi.com/v2/locations/states
GET
https://api.thecompaniesapi.com/v2/locations/continents

Search cities

Free

Search our cities to filter companies in a specific location.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

searchstring (optional)

An additional search query applied to the city name.

sizenumber (optional)

The number of cities to be returned (between 1 and 20). Default to 10.

Response

citiesarray

The cities that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/cities

Search counties

Free

Search our counties to filter companies in a specific location.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

searchstring (optional)

An additional search query applied to the county name.

sizenumber (optional)

The number of counties to be returned (between 1 and 20). Default to 10.

Response

countiesarray

The counties that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/counties

Search states

Free

Search our states to filter companies in a specific location.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

searchstring (optional)

An additional search query applied to the state name.

sizenumber (optional)

The number of states to be returned (between 1 and 20). Default to 10.

Response

statesarray

The states that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/states

Search countries

Free

Search our countries to filter companies in a specific location.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

searchstring (optional)

An additional search query applied to the country name.

sizenumber (optional)

The number of countries to be returned (between 1 and 20). Default to 10.

Response

countriesarray

The countries that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/countries

Search continents

Free

Search our continents to filter companies in a specific location.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

searchstring (optional)

An additional search query applied to the continent name.

sizenumber (optional)

The number of continents to be returned (between 1 and 20). Default to 10.

Response

continentsarray

The continents that match your conditions.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/continents

Job Titles

You will find all our features regarding our database of job titles below. Search or enrich job titles with the departments and the seniority levels. You can use these features to provide more context to your customers inside your CRM or to target employees with other providers.

power
If you need additional features, feel free to reach us in the chatbox. We are usually fast to implement them.
Endpoint
GET
https://api.thecompaniesapi.com/v2/job-titles/enrich

Enrich a job title from its name

Free

Send us a job title (e.g., chief marketing officer) and retrieve additional information like the departments and the seniority levels. We support the following languages: English, French, and Spanish.

Query parameters

namestring (required)

The job title's name.

/job-titles/enrich?name=chief%20executive%20officer

Response

jobTitle. departmentstring

The job title's department.

marketing

Possible values

customer service
design
education
engineering
finance
health
human resources
legal
marketing
media
5 others
jobTitle. departmentSecondarystring

The job title's secondary department.

content marketing

Possible values

accounting
accounts
brand marketing
broadcasting
business development
compensation
content marketing
customer success
data
dental
45 others
jobTitle. namestring

The job title's english name.

jobTitle. nameEsstring

The job title's spanish name.

jobTitle. nameFrstring

The job title's french name.

jobTitle. seniorityLevelstring

The job title's seniority level.

Possible values

owner
partner
cxo
vp
director
manager
senior
entry
training
unpaid
nada
Our database includes more than 165,000 job titles categorized in 70 departments and 10 seniority levels.
Endpoint
GET
https://api.thecompaniesapi.com/v2/job-titles/enrich

Lists

Companies can be saved in your lists. The following endpoints let you retrieve your lists and deal with the companies that belong to them.

Endpoints
GET
https://api.thecompaniesapi.com/v2/lists
POST
https://api.thecompaniesapi.com/v2/lists
GET
https://api.thecompaniesapi.com/v2/lists/:listId/companies

Fetch your lists

Free

This endpoint allows you to retrieve the lists that belong to your team.

Query parameters

pagenumber (optional)

The page to fetch (default: 1).

/lists?page=1

sizenumber (optional)

The number of lists to be returned (between 1 and 100). Default to 10.

/lists?size=10

Response

listsarray

The lists that belong to your team.

metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/lists
API response
{lists :[{analytics :{…},createdAt : "2022-04-01T13:07:14.000+00:00" ,dynamic :false,id :4246,imported :false,integrations :[…],name : "US Companies using Node.js" ,processActive :false,processInitialized :true,processingAt : "2022-04-01T13:07:15.000+00:00" ,query :[…],},{analytics :{…},createdAt : "2022-02-22T07:23:52.000+00:00" ,dynamic :false,id :3837,imported :false,integrations :[ ],name : "Edtech Companies" ,processActive :false,processInitialized :true,processingAt : "2022-02-22T07:23:53.000+00:00" ,query :[…],},],meta :{currentPage :1,firstPage :1,lastPage :1,perPage :10,total :4,},}

Create a list of companies

Free

This endpoint allows you to create a list of companies.

Body parameters

dynamicboolean (optional)

If the list is dynamic. When set to true, the list will be updated automatically when new companies are added to the database.

Possible values

false
true
namestring (required)

The name of the list.

typestring (required)

The type of list to create.

Possible values

companies

Response

list. analyticsobject

The analytics of the list.

list. createdAtdate

When the list was created.

2022-02-22T07:23:52.000+00:00

list. dynamicboolean

If the list is dynamic or static.

true

list. idnumber

The id of the list.

3838

list. importedboolean

If the list has been imported.

true

list. integrationsarray

The integrations associated with the list.

list. namestring

The name of the list

French NodeJS Companies

list. processActiveboolean

The process active status of the list (for internal use).

true

list. processInitializedboolean

The process initialized flag (for internal use).

true

list. processingAtdate

When the list is being processed.

2022-02-22T07:23:52.000+00:00

list. queryarray

The query used to generate the list.

Endpoint
POST
https://api.thecompaniesapi.com/v2/lists
API response
{analytics :{…},createdAt : "2022-04-01T13:07:14.000+00:00" ,dynamic :false,id :4246,imported :false,integrations :[ ],name : "French NodeJS Companies" ,processActive :false,processInitialized :true,processingAt : "2022-04-01T13:07:15.000+00:00" ,query :[ ],}

Fetch companies in your list

Free

This endpoint allows you to fetch companies in your lists.

Query parameters

pagenumber (optional)

The page to fetch (default to 1).

/lists/:listId/companies?page=1

sizenumber (optional)

The number of companies to be returned (between 1 and 100). Default to 10.

/lists/:listId/companies?size=10

querystring (required)

The query to filter the companies inside your list.

Make sure this parameter is stringified and encoded.

GET
https://api.thecompaniesapi.com/v2/lists/:listId/companies?query=%5B%7B%22attribute%22%3A%22about.industries%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22retail%22%2C%22internet%22%2C%22services%22%5D%7D%2C%7B%22attribute%22%3A%22locations.headquarters.country.code%22%2C%22operator%22%3A%22or%22%2C%22sign%22%3A%22equals%22%2C%22values%22%3A%5B%22us%22%2C%22fr%22%2C%22gb%22%5D%7D%5D
The endpoint that defines your search criteria.
sortFieldsstring (optional)

An array of multiple fields combined to sort the results.

…/lists/:listId/companies?sortFields=%5B%7B%22key%22%3A%22meta.score%22%2C%22order%22%3A%22desc%22%7D%5D

Make sure this parameter is stringified and encoded.

sortKeystring (optional)

The field to sort the results.

…/lists/:listId/companies?sortKey=meta.score

Possible values

about.businessType
about.industries
about.industry
about.name
about.totalEmployees
about.yearFounded
analytics.monthlyVisitors
apps
codes.naics
codes.sic
13 others
sortOrderstring (optional)

The order to sort the results.

…/lists/:listId/companies?sortOrder=asc

Possible values

asc
desc

Response

companiesarray

The companies that belong to your list.

Browse all datapoints
metaobject

The metas information.

Endpoint
GET
https://api.thecompaniesapi.com/v2/lists/:listId/companies

Manage your team

These endpoints allow you to manage and retrieve detailed information about the team associated with your API token.

Endpoint
GET
https://api.thecompaniesapi.com/v2/teams/:teamId

Fetch your team

Free

This endpoint allows you to retrieve the team associated with your API token.

Response

countrystring

The team's country.

us

createdAtdate

The team's creation date.

2020-06-29 08:21:01

creditsnumber

The team's credits.

500000

isSubscriberboolean

If the team is subscribed to a paid plan.

true

idnumber

The team's id.

1

namestring

The team's name.

Jay Gatsby Enterprises

websiteUrlstring

The team's website url.

https://www.jaygatsbyenterprises.com

Endpoint
GET
https://api.thecompaniesapi.com/v2/teams/:teamId
API response
{country : "us" ,createdAt : "2020-06-29 08:21:01" ,credits :500000,id :1,isSubscriber :true,name : "Jay Gatsby Enterprises" ,websiteUrl : "https://www.jaygatsbyenterprises.com" ,}

Real humans to help you live

We are always happy to help you and improve your experience with us.

nada
Do you have any questions? We're here to help.
mathieu
Hi, I need a specific datapoint for my product but it seems that you don't have in your database. Can you help me?
nada
I have notified the team about this. Let us 15 days and it will be live on the platform. Thank you for the idea!
A glowing background image to highlight the titleA glowing background image to highlight the title
© 2025 The Companies API
  • Updates
  • Terms
  • Privacy
  • FAQ
  • Status

Fast-growing SaaS companies with remote teams

Search or ask a question...