# 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:** 70 total users, 8 monthly users, 97.6% runs succeeded, 1 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

from $15.00 / 1,000 complaint scrapeds

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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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(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": [
    "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": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,gio21/reclame-aqui-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/QWW6vVt5lelppzYZM/builds/GLuwWxQBkk1UIrx8R/openapi.json
