# Americanas Product Scraper – Prices, Brands & Stock (`dougmanoel/americanas-product-scraper`) Actor

\[$2/1K products] Scrape americanas.com.br products by search term or category URL: name, brand, price, list price, stock, seller, URL, image. No login, no proxy.

- **URL**: https://apify.com/dougmanoel/americanas-product-scraper.md
- **Developed by:** [Douglas Gouvea Manoel](https://apify.com/dougmanoel) (community)
- **Categories:** E-commerce, Developer tools
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 product 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?

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

## Americanas Product Scraper

![Americanas Product Scraper – $2 per 1,000 products, no login, no proxy](https://api.apify.com/v2/key-value-stores/UlhX8s1WdOr2VjK9g/records/cover.png)

[![Errand Code – Americanas Product Scraper](https://img.youtube.com/vi/U8GztLWKhZ0/maxresdefault.jpg)](https://youtu.be/U8GztLWKhZ0)

Watch the demo: https://youtu.be/U8GztLWKhZ0

Get product data from **americanas.com.br**, one of Brazil's largest online marketplaces, as clean rows: name, brand, price, list price, stock, seller, product URL, image and category. It reads the store's public catalog, so there is no login, no proxy and no browser. Only public product data is collected; no personal data.

**Price: $2 per 1,000 products** ($0.002 per product). Searches that return nothing are free.

Português: [README.pt-BR.md](README.pt-BR.md)

### Use cases

- **Price monitoring**: track prices and discounts for your products or your competitors' on a schedule.
- **Assortment research**: see which brands and sellers are listed for a keyword or category.
- **Stock checks**: find out whether products are available.
- **Market datasets**: feed prices into Google Sheets, BI tools or an LLM.

### Input

| Field | Default | Description |
|---|---|---|
| `searchTerms` | – | Words to search, e.g. `notebook`, `air fryer`. Each term is scraped separately. |
| `categoryUrls` | – | Category pages, e.g. `https://www.americanas.com.br/computadores-e-informatica/notebook` (the `/categoria/...` form works too). |
| `maxItems` | 100 | Max products per search or category, 1–2500. Each product is one billable result. |
| `sort` | `relevance` | `relevance`, `price_asc`, `price_desc`, `newest` or `best_selling`. |

At least one search term or category URL is required. Prices are in Brazilian reais (BRL); search terms work best in Portuguese (`notebook`, `air fryer`, `tênis`).

Example input:

```json
{
  "searchTerms": ["air fryer"],
  "maxItems": 50,
  "sort": "price_asc"
}
```

### Output sample

```json
{
  "name": "Protetor Descartável Papel 50 Unidades Electrolux Air Fryer Antiaderente",
  "brand": "Electrolux",
  "sku": "3053207",
  "productId": "2866144",
  "price": 26.9,
  "listPrice": 27.9,
  "availability": true,
  "availableQuantity": 1,
  "seller": "Electrolux",
  "url": "https://www.americanas.com.br/protetor-descartavel-antiaderente-para-air-fryer-50-unidades-paela01-4720094973/p",
  "image": "https://americanas.vteximg.com.br/arquivos/ids/6587079/4720094981_1_xlarge.jpg?v=638751659805700000",
  "category": "Utilidades domésticas > Descartáveis > Assadeira Descartável",
  "source": "air fryer",
  "sourceType": "search",
  "scrapedAt": "2026-11-05T00:48:16Z"
}
```

Prices are in BRL. Export as JSON, CSV or Excel, call it by API, schedule it, or connect it to Make, Zapier or Google Sheets.

### What you get

One dataset item per product:

| Field | Description |
|---|---|
| `name`, `brand` | Product name and brand |
| `productId`, `sku` | VTEX product ID and the SKU (item) chosen for the price |
| `price`, `listPrice` | Current price and "from" price, in BRL |
| `availability`, `availableQuantity` | `true` if the chosen offer has stock; the quantity the store reports |
| `seller` | Seller of the offer (the store or a marketplace seller) |
| `url`, `image` | Product page and main image |
| `category` | Deepest category, e.g. `Computadores e Informática > Notebook` |
| `source`, `sourceType` | The search term or category path this item came from, and `search` or `category` |
| `scrapedAt` | UTC timestamp |

Products are de-duplicated by `productId` inside each search or category. When a product has several SKUs or sellers, the first purchasable one is reported (in stock, price above zero); out-of-stock products are still returned, with `availability: false`.

Targets that return nothing, or that fail after retries, produce a **status item** (`status`, `reason`, `source`) instead. Status items are never billed.

### Pricing (pay per event)

One billable event, **`product-scraped`**, for each product pushed to the dataset: planned price **US$ 2.00 per 1,000 products** (US$ 0.002 each). Status items are free. The Actor stops by itself when your *maximum cost per run* is reached.

> Maintainer note: the event is configured in the Apify Console (Monetization → Pay per event), not in `actor.json`. Create the event `product-scraped` with price US$ 0.002. The code charges with `Actor.push_data(item, "product-scraped")`, which bills once per stored item and reports when the user's budget limit is hit.

### How it works and how politely

- Calls `GET /api/catalog_system/pub/products/search` (50 products per page); categories are mapped to the store's category tree and queried with `fq=C:/…/`.
- One request at a time, about 1 second between pages, a real browser User-Agent.
- Retries with exponential backoff on HTTP 429 and 5xx and on network errors; other errors stop that target and are reported as a status item. The run continues with the next target.
- Product data only. No personal data is collected.

### Limits

- The store caps a search at 2,500 results; narrow the term or use categories for more.
- Search relevance is the store's own and can include accessories (a search for `notebook` also returns notebook stands).
- Prices and stock are those shown to an anonymous visitor in Brazil; shipping costs are not included.

### Local development

```bash
pip install -r requirements.txt pytest respx ruff
python -m pytest -q
ruff check .
python scripts/live_test.py   # real requests, writes docs/test-summary.md
```

Use of the data is your responsibility; check the site's terms and applicable law before you rely on it commercially.

### More from Errand Code

This Actor is built and maintained by [Errand Code](https://errandcode.com/americanas-product-scraper). See the [other tools](https://errandcode.com/): an AI visibility check ([GEO audit](https://errandcode.com/geo)), a [Google Ads Transparency scraper](https://errandcode.com/google-ads-transparency-scraper), a Google Sheets add-on and MCP servers for AI agents.

# Actor input Schema

## `searchTerms` (type: `array`):

Words to search on americanas.com.br, e.g. 'notebook' or 'air fryer'. Each term is scraped separately.

## `categoryUrls` (type: `array`):

americanas.com.br category pages, e.g. https://www.americanas.com.br/computadores-e-informatica/notebook (the /categoria/... form also works).

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

Between 1 and 2500 (the store's search window). Each product returned is one billable result. Duplicates inside a search or category are removed.

## `sort` (type: `string`):

Order of the results inside each search or category.

## Actor input object example

```json
{
  "searchTerms": [
    "air fryer"
  ],
  "maxItems": 100,
  "sort": "relevance"
}
```

# Actor output Schema

## `products` (type: `string`):

No description

# 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 = {
    "searchTerms": [
        "air fryer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("dougmanoel/americanas-product-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 = { "searchTerms": ["air fryer"] }

# Run the Actor and wait for it to finish
run = client.actor("dougmanoel/americanas-product-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 '{
  "searchTerms": [
    "air fryer"
  ]
}' |
apify call dougmanoel/americanas-product-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,dougmanoel/americanas-product-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/ZNHhbOXQsMc6bAP4I/builds/jtm4tqninuSweXF8W/openapi.json
