# Mark Cuban Companies Crawler (`actor_builder/mark-cuban-companies-crawler`) Actor

This Apify Actor scrapes detailed company information from [markcubancompanies.com](https://markcubancompanies.com/), providing insights into hundreds of companies backed by one of America's most prominent investors and Shark Tank judge.

- **URL**: https://apify.com/actor_builder/mark-cuban-companies-crawler.md
- **Developed by:** [Green Salad](https://apify.com/actor_builder) (community)
- **Categories:** Automation, Lead generation, Integrations
- **Stats:** 3 total users, 3 monthly users, 96.2% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $30.00 / 1,000 results

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

## Mark Cuban Companies Scraper

Extract comprehensive data from Mark Cuban's investment portfolio. This Apify Actor scrapes detailed company information from [markcubancompanies.com](https://markcubancompanies.com/), providing insights into hundreds of companies backed by one of America's most prominent investors and Shark Tank judge.

### 🚀 What does this Actor do?

This Actor automatically crawls the Mark Cuban Companies website and extracts detailed information about each portfolio company, providing you with structured, exportable data perfect for:

- **Investment Research** - Analyze Mark Cuban's investment patterns and portfolio composition
- **Competitive Analysis** - Track companies in your industry or market segment
- **Market Intelligence** - Identify emerging trends and sectors Mark Cuban is betting on
- **Business Development** - Find potential partners or competitors
- **Academic Research** - Study venture capital investment strategies

### 📊 Data Extracted

For each company in Mark Cuban's portfolio, the Actor extracts:

- **Company Name** - Official company name
- **Description** - Detailed company overview and business model
- **Website URL** - Official company website
- **Founders** - Names of company founders
- **Founding Year** - Year the company was established
- **Social Media Profiles**:
  - Facebook page URL
  - Twitter/X profile URL
  - LinkedIn company page URL
  - Instagram profile URL
- **Company Images** - Logo and promotional images
- **Source URL** - Direct link to the company's profile on markcubancompanies.com

### 💡 Input Configuration

The Actor accepts the following optional parameters:

#### Start URLs

- **Type:** Array of URLs
- **Default:** `https://markcubancompanies.com/`
- **Description:** URLs to start crawling from. Use the default to scrape all companies.

#### Max Requests Per Crawl

- **Type:** Integer
- **Default:** `0` (unlimited)
- **Description:** Maximum number of pages to crawl. Set to `0` to scrape all companies without limit. Use a positive number to limit the crawl (e.g., `50` to scrape only 50 companies).

#### Proxy Configuration

- **Type:** Object
- **Default:** Apify Proxy enabled
- **Description:** Configure proxy settings. Recommended to use Apify Proxy to avoid rate limiting and blocking.

### 📤 Output Format

The Actor stores data in the default dataset. Each item represents one company with the following structure:

```json
{
  "url": "https://markcubancompanies.com/companies/mark-cuban-cost-plus-drug-company/?modal",
  "title": "Mark Cuban Cost Plus Drug Company",
  "description": "Mark Cuban Cost Plus Drug Company (MCCPDC) is a public benefit corporation that offers low-cost generic medications directly to consumers...",
  "website": "https://costplusdrugs.com/",
  "founders": ["Mark Cuban", "Dr. Alex Oshmyansky"],
  "founding_year": "2022",
  "facebook_link": "https://www.facebook.com/costplusdrugs",
  "twitter_link": "https://twitter.com/costplusdrugs",
  "linkedin_link": "https://www.linkedin.com/company/costplusdrugs",
  "instagram_link": "https://www.instagram.com/costplusdrugs",
  "images": ["https://markcubancompanies.com/wp-content/uploads/2022/01/cpdc-logo.png"]
}
```

### 🎯 How to Use

#### Quick Start

1. Click **"Try for free"** to test the Actor
2. Leave default settings or customize input parameters
3. Click **"Start"** to begin scraping
4. Wait for the Actor to finish (typically 2-5 minutes)
5. Download your data in **JSON**, **CSV**, **Excel**, or other formats

#### Advanced Usage

**Example: Scrape only 25 companies**

```json
{
  "startUrls": [{"url": "https://markcubancompanies.com/"}],
  "maxRequestsPerCrawl": 25,
  "proxyConfiguration": {"useApifyProxy": true}
}
```

**Export Options:**

- JSON - For programmatic processing
- CSV - For Excel and data analysis
- Excel - For business reports
- RSS - For feed aggregation
- HTML Table - For quick viewing

### 💼 Use Cases

#### For Investors

- Track Mark Cuban's investment strategy and sector focus
- Identify new investment opportunities in similar companies
- Monitor portfolio company performance and updates

#### For Entrepreneurs

- Find companies in your space that Mark Cuban has backed
- Research successful pitches and business models
- Identify potential mentors or advisors

#### For Researchers

- Analyze celebrity investor behavior patterns
- Study the evolution of Shark Tank investments
- Research startup ecosystem trends

#### For Sales & Marketing

- Build targeted prospect lists
- Identify potential partners or clients
- Research competitive landscape

### ⚙️ Technical Details

- **Type:** Cheerio Crawler (fast, efficient HTML parsing)
- **Speed:** Typically completes in 2-5 minutes for full dataset
- **Data Quality:** Extracts structured, clean data ready for analysis
- **Reliability:** Built with Crawlee and Apify SDK for robust performance
- **Proxy Support:** Uses Apify Proxy to prevent blocking

### 🔧 Integration

#### Using with Apify API

```javascript
const ApifyClient = require('apify-client');

const client = new ApifyClient({ token: 'YOUR_API_TOKEN' });

const run = await client.actor('YOUR_USERNAME/mark-cuban-companies-crawler').call();
const dataset = await client.dataset(run.defaultDatasetId).listItems();

console.log(dataset.items);
```

#### Scheduling Regular Scrapes

Set up scheduled runs to track new companies added to Mark Cuban's portfolio:

1. Go to **Schedule** tab in your Actor run
2. Set frequency (daily, weekly, monthly)
3. Get automatic updates via email or webhook

### 📝 Notes

- The Actor scrapes publicly available data from markcubancompanies.com
- Respects website's robots.txt and rate limits
- Data is accurate as of the scrape time - the website is updated periodically
- Some companies may have incomplete social media profiles
- Estimated total companies: 200+ (as of 2025)

### 🆘 Support & Issues

If you encounter any issues or have questions:

- Check the [Actor's run log](https://console.apify.com) for detailed error messages
- Visit [Apify Documentation](https://docs.apify.com) for general help
- Contact support through the Apify platform

### 📚 Resources

- [Apify Platform](https://apify.com) - Web scraping and automation platform
- [Apify SDK Documentation](https://sdk.apify.com) - Build your own Actors
- [Crawlee Documentation](https://crawlee.dev) - Web scraping library
- [Mark Cuban Companies](https://markcubancompanies.com/) - Source website

***

**Disclaimer:** This Actor is for educational and research purposes. Always respect website terms of service and use data responsibly.

# Actor input Schema

## `startUrls` (type: `array`):

URLs to start crawling from

## `maxRequestsPerCrawl` (type: `integer`):

Maximum number of pages to crawl. Use 0 for unlimited.

## `proxyConfiguration` (type: `object`):

Proxy settings for the crawler

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://markcubancompanies.com/"
    }
  ],
  "maxRequestsPerCrawl": 0,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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 = {
    "startUrls": [
        {
            "url": "https://markcubancompanies.com/"
        }
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("actor_builder/mark-cuban-companies-crawler").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 = {
    "startUrls": [{ "url": "https://markcubancompanies.com/" }],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("actor_builder/mark-cuban-companies-crawler").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 '{
  "startUrls": [
    {
      "url": "https://markcubancompanies.com/"
    }
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call actor_builder/mark-cuban-companies-crawler --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,actor_builder/mark-cuban-companies-crawler"
        }
    }
}
```

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/aMaWV3cWddtVThesb/builds/F52d4RKe3FAUJiAaG/openapi.json
