# Reclame Aqui Scraper (`gio21/reclame-aqui-scraper`) Actor

Scrape Brazilian company reputation from Reclame Aqui: score, complaints count, response rate, resolution rate, recent complaints. By URL or company name. Pay per company / per complaint.

- **URL**: https://apify.com/gio21/reclame-aqui-scraper.md
- **Developed by:** [Gio](https://apify.com/gio21) (community)
- **Categories:** Lead generation
- **Stats:** 6 total users, 3 monthly users, 81.3% runs succeeded, NaN bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per event

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/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

## Reclame Aqui Scraper

Scrape Brazilian company reputation data from [Reclame Aqui](https://www.reclameaqui.com.br): score, complaints count, response rate, resolution rate, and recent complaints.

Pay per company profile and per individual complaint. Built for B2B brand monitoring, competitor intelligence, customer-service analytics, and due-diligence research.

### Features

- Company profile: score (0-10), consumer rating, complaints last 6/12 months and last 30 days, lifetime complaints
- Reputation metrics: response rate, resolution rate, average response time, recommendation rate
- Flags: RA1000 stamp, category
- Recent complaints: title, status, solved/evaluated flags, date, snippet, direct URL (opt-in via `maxComplaints`)

### Input

| Field | Type | Description |
|-------|------|-------------|
| `companies` | Array | Full Reclame Aqui company URLs in the format `https://www.reclameaqui.com.br/empresa/{slug}/`. Search the company on reclameaqui.com.br and copy the URL from the browser. |
| `maxComplaints` | Integer | Number of recent complaints to scrape per company. `0` = profile only. |
| `maxItems` | Integer | Hard cap on total records (companies + complaints combined). Default 100. |

#### Where to get the URL

1. Go to https://www.reclameaqui.com.br
2. Search the company name
3. Click the company in the results
4. Copy the URL from the address bar — it looks like `https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/`

> Names are not accepted as input because Reclame Aqui uses opaque slugs (`magazine-luiza-loja-online`, `itau-unibanco_15`, etc.) that cannot be reliably derived from the company name.

### Pricing

- `$0.015` per **company-scraped** event (one per company profile)
- `$0.015` per **complaint-scraped** event (one per complaint, only when `maxComplaints > 0`)

Example: 10 companies + 5 complaints each = 10 × $0.015 + 50 × $0.015 = **$0.90**

### Output

One record per company AND one record per complaint, all in the same dataset (filter by the `type` field).

#### Company record

```json
{
  "type": "company",
  "companyName": "Magazine Luiza - Loja Online",
  "slug": "magazine-luiza-loja-online",
  "url": "https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/",
  "score": 8.2,
  "consumerScore": 7.01,
  "complaintsLast6Months": 74757,
  "complaintsLast12Months": 127646,
  "complaintsLast30Days": 10912,
  "complaintsTotal": 81338,
  "responseRate": 95.5,
  "resolutionRate": 90.9,
  "recommendationRate": 73.7,
  "avgResponseTime": "11 dias, 1 hora",
  "avgResponseTimeMs": 954184977,
  "hasStamp": true,
  "isRA1000": true,
  "ratingFinal": 7.01,
  "category": "Varejo",
  "legacyId": "29266",
  "urlSite": "http://www.magazineluiza.com.br",
  "scrapedAt": "2026-05-21T23:50:00.000Z"
}
````

#### Complaint record

The full complaint text is extracted from each complaint's individual page (not just a preview snippet), along with the company's response when available.

```json
{
  "type": "complaint",
  "companySlug": "magazine-luiza-loja-online",
  "id": "XFg3_dvBNP-5IUWY",
  "title": "Atraso na entrega de notebook e falta de satisfação da Magazine Luiza",
  "status": "PENDING",
  "solved": false,
  "evaluated": false,
  "date": "2026-05-21T20:53:45",
  "text": "Boa noite! Fiz uma compra na magazine Luiza ... [full complaint body, ~1600+ chars]",
  "snippet": "Boa noite! Fiz uma compra na magazine Luiza ... [first 280 chars]",
  "answerCount": 0,
  "upvoteCount": 1,
  "companyAnswer": null,
  "url": "https://www.reclameaqui.com.br/magazine-luiza-loja-online/atraso-na-entrega-de-notebook-e-falta-de-satisfacao-da-magazine-luiza_XFg3_dvBNP-5IUWY/",
  "scrapedAt": "2026-05-21T23:50:00.000Z"
}
```

- `text`: full complaint body (no truncation)
- `snippet`: first 280 characters, useful for previews
- `answerCount`: how many responses the complaint has received
- `upvoteCount`: how many users upvoted the complaint
- `companyAnswer`: extracted from the complaint page when the company has responded (null if no response yet)

### Notes

- Some fields can be `null` when Reclame Aqui doesn't expose them (e.g. companies without reputation data).
- The score (`score`, `finalScore`) ranges 0-10 and reflects the last 6 months. `consumerScore` is the star rating from consumers.

### How it works

- CheerioCrawler with realistic browser headers (no browser automation, no proxy required).
- For each company URL: fetch `/empresa/{slug}/` and extract data from the Next.js `__NEXT_DATA__` SSR state.
- If `maxComplaints > 0`: also fetch `/empresa/{slug}/lista-reclamacoes/` to discover the latest N complaints, then visit each individual complaint page to extract the full text from the Schema.org JSON-LD block.
- Charges `company-scraped` per company and `complaint-scraped` per complaint via `Actor.charge()`.

# Actor input Schema

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

Full Reclame Aqui company URLs in the format https://www.reclameaqui.com.br/empresa/{slug}/. Search the company on reclameaqui.com.br and copy the URL from the address bar. Invalid URLs are skipped.

## `maxComplaints` (type: `integer`):

How many recent complaints to scrape per company. 0 = company profile only. Each complaint is charged separately at $0.015.

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

Hard cap on total output records (companies + complaints combined).

## Actor input object example

```json
{
  "companies": [
    "https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/"
  ],
  "maxComplaints": 10,
  "maxItems": 100
}
```

# Actor output Schema

## `overview` (type: `string`):

All scraped records (companies + complaints). Filter by `type` field.

# 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": [
        "https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/"
    ],
    "maxComplaints": 10,
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("gio21/reclame-aqui-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 = {
    "companies": ["https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/"],
    "maxComplaints": 10,
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("gio21/reclame-aqui-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 '{
  "companies": [
    "https://www.reclameaqui.com.br/empresa/magazine-luiza-loja-online/"
  ],
  "maxComplaints": 10,
  "maxItems": 100
}' |
apify call gio21/reclame-aqui-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Reclame Aqui Scraper",
        "description": "Scrape Brazilian company reputation from Reclame Aqui: score, complaints count, response rate, resolution rate, recent complaints. By URL or company name. Pay per company / per complaint.",
        "version": "0.1",
        "x-build-id": "GLuwWxQBkk1UIrx8R"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gio21~reclame-aqui-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gio21-reclame-aqui-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/gio21~reclame-aqui-scraper/runs": {
            "post": {
                "operationId": "runs-sync-gio21-reclame-aqui-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/gio21~reclame-aqui-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-gio21-reclame-aqui-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": [
                    "companies"
                ],
                "properties": {
                    "companies": {
                        "title": "Company URLs",
                        "type": "array",
                        "description": "Full Reclame Aqui company URLs in the format https://www.reclameaqui.com.br/empresa/{slug}/. Search the company on reclameaqui.com.br and copy the URL from the address bar. Invalid URLs are skipped.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxComplaints": {
                        "title": "Max complaints per company",
                        "type": "integer",
                        "description": "How many recent complaints to scrape per company. 0 = company profile only. Each complaint is charged separately at $0.015.",
                        "default": 0
                    },
                    "maxItems": {
                        "title": "Max items total",
                        "type": "integer",
                        "description": "Hard cap on total output records (companies + complaints combined).",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
