# Company Market Size API: TAM and Markets for Any Website (`pvalyou/company-markets`) Actor

Company market size from a website: up to 3 markets the company sells in (its own, parent category, buyers' market, neighbouring product), each with research firm estimates, a consensus TAM and CAGR, plus the company's industry and NAICS. $0.025 a company.

- **URL**: https://apify.com/pvalyou/company-markets.md
- **Developed by:** [Pvalyou](https://apify.com/pvalyou) (community)
- **Categories:** Business, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $25.00 / 1,000 company answereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

**For AI agents.** Call this when you need a company's market and its size: "what market is this company in, and how
big is it", a TAM for a startup, or a market map for due diligence. Do not call it with a person's page or a name
alone, send the company's website. Smallest input: `{"companies": ["covergenius.com"]}`. Read `markets[0]` first: its
`relation` says whether it is the company's own market, then `consensus.median_usd_billion` and
`consensus.median_cagr`. A company we hold answers in about 8 seconds, one we research now in about 30, so do not wait
on a run of hundreds.

## Company Market Size API: A Company's Markets, TAM and CAGR

Company market size from a website. Give a company's domain and get the markets it sells in and how big each one is:
up to 3 markets, each with how it relates to the company, every research firm's estimate with its link, and one
consensus figure (firms counted, median, range, growth rate). The company's own industry, sub-industry, NAICS code and
business model come with it. Market research for due diligence, competitor landscapes and pitch decks.

$0.025 a company, whether 1 or 3 markets come back. A company with no sized market costs nothing.

### 🤖 Using it from an AI agent

Send the company's domain. A company we hold answers in about 8 seconds. One we do not is researched now from its own
website and the search results it needs, in about 30 seconds, and the answer lists the pages it read. Read `markets[0]` first: it
is the company's own market, or the closest one when the company was researched now.

### 👥 Who uses company market data?

- **Investors and VCs** screening deal flow: each startup's market and its size in one run.
- **Sales and partnership teams**: which market an account sells in, and how big it is.
- **Founders**: the market a competitor is in, with the research firms' figures.
- **AI research agents**: a company's TAM with citations, from a domain alone.

### ⬇️ Input

```json
{"companies": ["covergenius.com", "usebasis.co"]}
```

### ⬆️ Output: one item per company

```json
{
  "type": "company",
  "query": "covergenius.com",
  "source": "catalogue",
  "charged": true,
  "company": {"name": "Cover Genius", "country": "United States",
              "classes": {"industry": "Financial Services", "sub_industry": "Insurance & InsurTech",
                          "naics": "524298 All Other Insurance Related Activities", "business_model": "B2B2C"}},
  "markets": [
    {"relation": "exact", "market": "Embedded insurance",
     "definition": "Insurance offered inside the purchase flow of non insurance products",
     "consensus": {"firms_counted": 6, "median_usd_billion": 130.0, "low_usd_billion": 99.2, "high_usd_billion": 145.2,
                   "median_cagr": 0.298, "year": 2025},
     "estimates": ["... every firm, with its link, as in Market Size by Name"]},
    {"relation": "parent category", "why": "Platforms digitizing insurance distribution and claims",
     "market": "Digital insurance platform", "consensus": {"firms_counted": 6, "median_usd_billion": 150.5}},
    {"relation": "neighbouring product", "market": "On demand insurance", "consensus": {"firms_counted": 5, "median_usd_billion": 1.7}}
  ]
}
```

| `relation` | What it means |
|---|---|
| `exact` | the market is what the company sells |
| `broader` | a wider market that contains the company's product |
| `closest market (researched)` | the company was researched now, and this is the nearest market to what it sells |
| `parent category` | the broader category its product belongs to |
| `buyers' market` | the market of the buyers its product serves |
| `neighbouring product` | a product it complements or replaces |

`source` is `catalogue` for a company we hold, or `researched_now` with `company.sources` listing the pages read.

### 🧮 How the markets are chosen

- The company's own market is the one our market library placed it in, checked against the market's definition.
- The related markets are picked from the markets firms size, and each is kept only when a second check calls it
  closely related.
- Every market is sized by at least 3 research firms. The consensus counts estimates within 3 times of the median
  and from 2023 or later. The others are shown and marked.

### ⚠️ Limits, stated plainly

- A company is identified by its website, domain or LinkedIn company page. A name alone is not enough, because names
  are shared.
- A researched company's classes come from its own website and search results, and say so.
- Figures are what research firms publish on their public pages.

### 🔗 Works well with

- **Market Size by Name**: one market's estimates by its name, $0.01.
- **Company Enrichment**: the company's full profile.

# Actor input Schema

## `companies` (type: `array`):

Company websites, domains or LinkedIn company URLs, one per line: "covergenius.com", "https://www.stripe.com". A company we hold answers in seconds. One we do not is researched now from its website and a few searches (about 30 seconds). Charged once per company answered with at least one sized market.

## Actor input object example

```json
{
  "companies": [
    "covergenius.com"
  ]
}
```

# Actor output Schema

## `results` (type: `string`):

Every item of the run with every field, the full estimates included.

## `markets` (type: `string`):

Every item of the run as the market columns. A view never drops rows, so error items are here too.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "companies": [
        "covergenius.com"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("pvalyou/company-markets").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "companies": ["covergenius.com"] }

# Run the Actor and wait for it to finish
run = client.actor("pvalyou/company-markets").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "companies": [
    "covergenius.com"
  ]
}' |
apify call pvalyou/company-markets --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,pvalyou/company-markets"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/LMvbPtPR8TSeCoiGc/builds/HU0Ngjl09Szkj2Nou/openapi.json
