# GoodFirms.co Company and Reviews scraper (`njoylab/goodfirms-co-company-and-reviews-scraper`) Actor

An Apify actor that extracts comprehensive company profiles and customer reviews from GoodFirms.co. Collect structured data including ratings, review content, company details for market research and competitive analysis.

- **URL**: https://apify.com/njoylab/goodfirms-co-company-and-reviews-scraper.md
- **Developed by:** [njoylab](https://apify.com/njoylab) (community)
- **Categories:** Automation, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 61 total users, 3 monthly users, 97.0% runs succeeded, 3 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $10.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

## GoodFirms Reviews and Companies Scraper

A web scraper built with Apify SDK to extract company information and reviews from GoodFirms.co.

### Features

- Scrapes company listings from category pages
- Extracts detailed company information and reviews
- Supports Apify proxy configuration
- Handles pagination

### Input Parameters

The scraper accepts the following input parameters:

| Parameter | Type | Description | Required |
|-----------|------|-------------|-----------|
| `mode` | string | Scraping mode: `index` for company listings or `company` for detailed company information | No (defaults to "index") |
| `url` | string | The URL to scrape. Can be either a category page (e.g., "https://www.goodfirms.co/companies/web-development-agency") or a company page (e.g., "https://www.goodfirms.co/company/unified-infotech") | Yes |

### Example inputs:

#### For scraping company listings (index mode).

The scraper will respect these filters and return only the companies that match the specified criteria:

```json
{
    "mode": "index",
    "url": "https://www.goodfirms.co/companies/web-development-agency?employees%5B2%5D=10+-+49&reviews=5"
}
```

#### For scraping individual company details (company mode):

```json
{
    "mode": "company",
    "url": "https://www.goodfirms.co/<company_url>"
}
```

### Output Format

#### Company Listing (`mode: "index"`)

```typescript
{
    name: string;
    link: string | null;
    employRange: string;
    location: string;
    founded: string;
    website: string | null;
    metaRatings: {
        ratingValue: string | null;
        bestRating: string | null;
        worstRating: string | null;
        reviewCount: string | null;
    }
}
```

#### Company Detail (`mode: "company"`)

```typescript
{
    address: string;
    city: string;
    region: string;
    zipCode: string;
    phoneNumber: string;
    socialLinks: string[];
    totalReviews: number;
    reviews: Array<{
        id: string;
        title: string;
        author: string;
        position?: string;
        date: string;
        description: string;
        rating: {
            quality?: string;
            schedule?: string;
            communication?: string;
            overall?: string;
        }
    }>
}
```

### Output Examples

#### Company Listing Output (`mode: "index"`)

```json
[
    {
        "name": "Unified Infotech",
        "link": "https://www.goodfirms.co/company/unified-infotech",
        "employRange": "50-249",
        "location": "New York, United States",
        "founded": "2010",
        "website": "https://www.unifiedinfotech.net",
        "metaRatings": {
            "ratingValue": "4.9",
            "bestRating": "5",
            "worstRating": "1",
            "reviewCount": "32"
        }
    },
    {
        "name": "Another Company",
        "link": "https://www.goodfirms.co/company/another-company",
        "employRange": "10-49",
        "location": "San Francisco, United States",
        "founded": "2015",
        "website": "https://www.anothercompany.com",
        "metaRatings": {
            "ratingValue": "4.7",
            "bestRating": "5",
            "worstRating": "1",
            "reviewCount": "25"
        }
    }
]
```

#### Company Detail Output (`mode: "company"`)

```json
{
    "address": "711 3rd Avenue",
    "city": "New York",
    "region": "NY",
    "zipCode": "10017",
    "phoneNumber": "+1 (929) 222-1234",
    "socialLinks": [
        "https://www.linkedin.com/company/example",
        "https://twitter.com/example",
        "https://www.facebook.com/example"
    ],
    "totalReviews": 32,
    "reviews": [
        {
            "id": "review123",
            "title": "Excellent Web Development Partner",
            "author": "John Smith",
            "position": "Project Manager",
            "date": "2023-12-15",
            "description": "They delivered our project on time and with excellent quality...",
            "rating": {
                "quality": "5",
                "schedule": "4.5",
                "communication": "5",
                "overall": "4.8"
            }
        },
        {
            "id": "review124",
            "title": "Great Experience",
            "author": "Jane Doe",
            "position": "CTO",
            "date": "2023-11-30",
            "description": "Professional team with strong technical expertise...",
            "rating": {
                "quality": "4.8",
                "schedule": "4.7",
                "communication": "4.9",
                "overall": "4.8"
            }
        }
    ]
}
```

### Usage

1. **Configure input**: Set the required company URL and optional filters (date range, score, page limit)
2. **Run the actor**: Execute the Apify actor with your input configuration
3. **Process results**: Access the structured review data from Apify's storage

### Disclaimer

This actor is designed for legitimate data collection from Goodfirms's public review directory. Please ensure your usage complies with goodfirms.co's terms of service and robots.txt policies.

# Actor input Schema

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

Choose what to scrape from GoodFirms.co:

- **Index**: Scrapes a category page listing multiple companies with basic info (name, rating, location, services)
- **Company**: Scrapes detailed company profile including reviews, ratings breakdown, portfolio, and contact information

## `url` (type: `string`):

The URL to scrape from GoodFirms.co. The URL format depends on the mode:

**For Index mode** (category pages):
`https://www.goodfirms.co/companies/{category}`
Example: `https://www.goodfirms.co/companies/web-development-agency`

**For Company mode** (individual profiles):
`https://www.goodfirms.co/company/{company-name}`
Example: `https://www.goodfirms.co/company/unified-infotech`

## Actor input object example

```json
{
  "mode": "index",
  "url": "https://www.goodfirms.co/companies/web-development-agency"
}
```

# Actor output Schema

## `data` (type: `string`):

Company profiles with ratings, reviews, portfolio items, and contact information from GoodFirms.co

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("njoylab/goodfirms-co-company-and-reviews-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("njoylab/goodfirms-co-company-and-reviews-scraper").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 '{}' |
apify call njoylab/goodfirms-co-company-and-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,njoylab/goodfirms-co-company-and-reviews-scraper"
        }
    }
}
```

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/EwAo7vYjdbX2e1422/builds/XZrkEGXt0uFwechTf/openapi.json
