# Clutch.co Scraper (`scrapeai/clutch-co-scraper`) Actor

Unofficial Clutch.co API. Scrape company profiles, listings, and reviews from Clutch.co at scale.

- **URL**: https://apify.com/scrapeai/clutch-co-scraper.md
- **Developed by:** [ScrapeAI](https://apify.com/scrapeai) (community)
- **Categories:** Developer tools, Automation, Lead generation
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## Clutch.co Company Scraper 🚀

Scrape Clutch.co company profiles, listings, reviews, services, portfolio items, and contact details using Playwright and Apify actor conventions.

### Features

- Crawls Clutch.co listing and search pages for company profile URLs.
- Scrapes company profile data including name, logo, tagline, rating, review count, description, verification status, hourly rate, project size, employee range, founded year, and addresses.
- Optionally collects portfolio items and company reviews.
- Supports proxy configuration via Apify Proxy or local proxy settings.

### Getting Started

1. **Install dependencies**
   ```bash
   npm install
````

2. **Configure input**
   - Edit `INPUT.json` or provide actor input through the Apify platform.
   - Example `INPUT.json`:
     ```json
     {
       "startUrls": [
         "https://clutch.co/web-developers/freelance"
       ],
       "endPage": 3,
       "maxItems": 200,
       "includeReviews": true,
       "excludePortfolio": false,
       "maxReviewsPerCompany": 50,
       "proxy": {
         "useApifyProxy": true
       }
     }
     ```

3. **Run locally**
   ```bash
   npm start
   ```

4. **Docker / Actor**
   - Use the `Dockerfile` to build the image if needed.
   - `.actor/actor.json` defines Apify actor metadata and settings.

### Output Fields

```json

{
    "url": "https://clutch.co/profile/smartsites",
    "summary": {
        "name": "SmartSites",
        "logo": "https://img.shgstatic.com/clutchco-static/image/scale/60x60/s3fs-public/logos/a33a9494d9c0f41b112e8a1b4354a3e9.png",
        "title": "Think Web. Think Smart. 💡",
        "rating": 5,
        "noOfReviews": 56,
        "description": "Outsmart the competition with best-in-class digital marketing services. With over 450 ⭐⭐⭐⭐⭐ reviews online, SmartSites is America's #1 rated digital marketing agency. Call 📞 (201) 870 6000 for a free consultation! Get more traffic. Acquire more customers. Sell more stuff. SmartSites works for businesses of all sizes. SmartSites is a Google Premier Partner and Facebook Marketing Partner. Winner of dozens website design awards and four-time Inc5000 (2017-2020) fastest growing company. Let us grow your company.Read more...",
        "verificationStatus": "GOLD VERIFIED",
        "minProjectSize": "$1,000+",
        "averageHourlyRate": "$100 - $149 / hr",
        "employees": "10 - 49",
        "founded": "Founded 2011",
        "addresses": [
            {
                "title": "headquarters",
                "street": "45 Eisenhower Drive",
                "locality": "Paramus",
                "region": "NJ",
                "postalCode": "07652",
                "country": "United States",
                "phone": "+1.201.870.6000"
            }
        ]
    },
    "focus": [
        {
            "title": "Client focus",
            "values": [
                {
                    "name": "Small Business (<$10M)",
                    "percentage": 80
                },
                {
                    "name": "Midmarket ($10M - $1B)",
                    "percentage": 20
                }
            ]
        }
    ],
    "serviceProvided": [
		{
			"name": "Web Development",
			"percent": 0.3
		},
		{
			"name": "Custom Software Development",
			"percent": 0.25
		},
		{
			"name": "Mobile App Development",
			"percent": 0.25
		},
		{
			"name": "AI Development",
			"percent": 0.2
		}
	],
    "portfolio": [
        {
            "image": "https://static2.clutch.co/s3fs-public/portfolio/28eae3874f8afd9e23a14f332d86353d.jpeg?N66vx9xl9cXLR5H6.euqT_BkCwjjAYD8",
            "description": "Web Design, SEO, PPC"
        }
    ],
    "verification": {
        "verificationStatus": "GOLD VERIFIED",
        "businessEntity": {
            "name": "Melen, LLC",
            "status": "Active",
            "jurisdictionOfFormation": "New Jersey",
            "ID": "0600372607",
            "source": "New Jersey Division of Revenue & Enterprise Services",
            "lastUpdated": "November 1, 2020",
            "dateOfFormation": "May 15, 2011"
        },
        "paymentLegalFilings": {
            "bankruptcy": "No",
            "taxLienFilings": "0",
            "judgementFilings": "0",
            "collectionsCount": "0",
            "source": "New Jersey Division of Revenue & Enterprise Services",
            "lastUpdated": "November 1, 2020",
            "fullBusinessCreditReport": "https://www.smartbusinessreports.com/search2.aspx?link=1352&fn=951794204"
        }
    },
    "reviews": [
        {
            "name": " SEO & PPC Services for Outdoor Refinishing Company ",
            "datePublished": "May 25, 2021",
            "project": {
                "name": "SEO & PPC Services for Outdoor Refinishing Company",
                "category": "SEO & PPC",
                "size": "$10,000 to $49,999$10,000 to $49,999",
                "length": "Sep. 2020 - Jun. 2021Sep. 2020 - Jun. 2021",
                "description": "SmartSites provided SEO and PPC services for an outdoor refinishing company including adding backlinks and creating new content. They planned monthly activities to raise the traffic and conversions."
            },
            "review": {
                "rating": 5,
                "quality": 5,
                "schedule": 5,
                "cost": 5,
                "willingToRefer": 5,
                "comments": "The team's work resulted in increased traffic and conversions. Thanks to SmartSites' efforts, cost per conversion (CPC) went down by 25%. They provided consistent updates and showed detailed reports about the project's status. Their timeliness and remarkable work ensured the engagement's success."
            },
            "reviewer": {
                "title": "Owner, General Manager, Teak & Deck",
                "name": "Drew Isaacman",
                "industry": "Construction",
                "size": "1-10 Employees",
                "location": "Carlsbad, California",
                "reviewType": "Online Review",
                "verified": "Verified"
            }
        }
    ],
    "websiteUrl": "https://www.smartsites.com/lp/digital-marketing-lp/?utm_source=clutch.co&utm_medium=referral"
}
```

### Notes

- Clutch.co may block non-proxied traffic. Use Apify Proxy or a reliable proxy to reduce captchas.
- The scraper is designed for Clutch.co profile and listing pages; other page types may not be supported.

### License

This project is provided as-is. Feel free to adapt it for your own Clutch.co scraping or data extraction use cases.

# Actor input Schema

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

List of Clutch.co URLs to scrape. Supported: company profile URLs and listing/category URLs.

## `search` (type: `string`):

Keyword to search on Clutch.co (e.g. "api development"). Requires mode.

## `mode` (type: `string`):

Required when search is provided. Use "companies" for listing results, "profiles" for profile search.

## `includeReviews` (type: `boolean`):

Scrape reviews for each company profile. Increases compute usage.

## `excludePortfolio` (type: `boolean`):

Skip portfolio scraping for faster performance.

## `maxReviewsPerCompany` (type: `integer`):

Maximum number of reviews to scrape per company. Only applies when includeReviews is true. Default: unlimited.

## `endPage` (type: `integer`):

Last listing/search page number to scrape. Default: scrape all pages.

## `maxItems` (type: `integer`):

Maximum number of company profiles to scrape.

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

Proxy configuration for the scraper. Use Apify Proxy with RESIDENTIAL group for best results.

## `extendOutputFunction` (type: `string`):

Custom JS function that receives cheerio $ and returns additional fields to merge into each output item.

## `customMapFunction` (type: `string`):

Function that transforms each extracted company object before saving.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://clutch.co/profile/smartsites"
    },
    {
      "url": "https://clutch.co/web-developers/freelance"
    }
  ],
  "search": "api development",
  "mode": "companies",
  "includeReviews": false,
  "excludePortfolio": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "extendOutputFunction": "($) => { return {}; }",
  "customMapFunction": "(object) => { return object; }"
}
```

# 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://clutch.co/profile/smartsites"
        },
        {
            "url": "https://clutch.co/web-developers/freelance"
        }
    ],
    "search": "api development",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "extendOutputFunction": ($) => { return {}; },
    "customMapFunction": (object) => { return object; }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeai/clutch-co-scraper").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://clutch.co/profile/smartsites" },
        { "url": "https://clutch.co/web-developers/freelance" },
    ],
    "search": "api development",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
    "extendOutputFunction": "($) => { return {}; }",
    "customMapFunction": "(object) => { return object; }",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapeai/clutch-co-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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://clutch.co/profile/smartsites"
    },
    {
      "url": "https://clutch.co/web-developers/freelance"
    }
  ],
  "search": "api development",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "extendOutputFunction": "($) => { return {}; }",
  "customMapFunction": "(object) => { return object; }"
}' |
apify call scrapeai/clutch-co-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapeai/clutch-co-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Clutch.co Scraper",
        "description": "Unofficial Clutch.co API. Scrape company profiles, listings, and reviews from Clutch.co at scale.",
        "version": "1.0",
        "x-build-id": "js94jaSOJGZgKmSC7"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapeai~clutch-co-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapeai-clutch-co-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/scrapeai~clutch-co-scraper/runs": {
            "post": {
                "operationId": "runs-sync-scrapeai-clutch-co-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/scrapeai~clutch-co-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-scrapeai-clutch-co-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "proxyConfiguration"
                ],
                "properties": {
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "List of Clutch.co URLs to scrape. Supported: company profile URLs and listing/category URLs.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL",
                                    "description": "Clutch.co URL to scrape"
                                }
                            }
                        }
                    },
                    "search": {
                        "title": "Search Keyword",
                        "type": "string",
                        "description": "Keyword to search on Clutch.co (e.g. \"api development\"). Requires mode."
                    },
                    "mode": {
                        "title": "Search Mode",
                        "enum": [
                            "companies",
                            "profiles"
                        ],
                        "type": "string",
                        "description": "Required when search is provided. Use \"companies\" for listing results, \"profiles\" for profile search.",
                        "default": "companies"
                    },
                    "includeReviews": {
                        "title": "Include Reviews",
                        "type": "boolean",
                        "description": "Scrape reviews for each company profile. Increases compute usage.",
                        "default": false
                    },
                    "excludePortfolio": {
                        "title": "Exclude Portfolio",
                        "type": "boolean",
                        "description": "Skip portfolio scraping for faster performance.",
                        "default": false
                    },
                    "maxReviewsPerCompany": {
                        "title": "Max Reviews Per Company",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of reviews to scrape per company. Only applies when includeReviews is true. Default: unlimited."
                    },
                    "endPage": {
                        "title": "End Page",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Last listing/search page number to scrape. Default: scrape all pages."
                    },
                    "maxItems": {
                        "title": "Max Items",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of company profiles to scrape."
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy configuration for the scraper. Use Apify Proxy with RESIDENTIAL group for best results.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ]
                        }
                    },
                    "extendOutputFunction": {
                        "title": "Extend Output Function",
                        "type": "string",
                        "description": "Custom JS function that receives cheerio $ and returns additional fields to merge into each output item."
                    },
                    "customMapFunction": {
                        "title": "Custom Map Function",
                        "type": "string",
                        "description": "Function that transforms each extracted company object before saving."
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
