# KaBuM! Scraper - Brazilian PC Hardware & Electronics (`thevincentfrias/kabum-scraper`) Actor

Scrape product data from KaBuM!, Brazil's largest PC hardware and electronics e-commerce. Get prices (including PIX discount), availability, ratings and more.

- **URL**: https://apify.com/thevincentfrias/kabum-scraper.md
- **Developed by:** [Vicente Frias](https://apify.com/thevincentfrias) (community)
- **Categories:** Automation, E-commerce, Other
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.20 / 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

## KaBuM! Scraper — Brazilian PC Hardware & Electronics Price Data

Extract structured product data from **[KaBuM!](https://www.kabum.com.br)**, Brazil's largest PC hardware and electronics e-commerce store. Search any keyword or scrape entire categories and get clean JSON/CSV/Excel with prices (including the **PIX cash-payment price**), discounts, availability, ratings and product URLs.

Ideal for **price monitoring, market intelligence, dropshipping research, affiliate marketing and e-commerce analytics** in the Brazilian market (LATAM).

### What data does it extract?

For every product:

| Field | Description |
|---|---|
| `productId` | KaBuM! product code |
| `name` | Full product title |
| `manufacturer` | Brand (e.g. ASUS, Kingston, AMD) |
| `priceBRL` | Regular price in Brazilian Reais |
| `pricePixBRL` | Discounted PIX/cash price (usually ~10% lower) |
| `oldPriceBRL` | Previous price (for discount tracking) |
| `discountPercentage` | Current discount |
| `installmentText` | Installment plan offered |
| `available` | In stock or not |
| `rating` / `ratingCount` | Customer review score and volume |
| `isOffer` / `offerEndsAt` | Whether it's a flash deal and when it ends |
| `image` | Product image URL |
| `url` | Direct product page URL |

### Why scrape KaBuM!?

- **Largest PC hardware retailer in Brazil** — GPUs, CPUs, SSDs, peripherals, consoles and full builds.
- **PIX pricing** — Brazilian e-commerce has a unique dual-price system (card vs. PIX instant payment). This scraper captures both, which most generic tools miss.
- **Flash deals culture** — KaBuM! runs aggressive limited-time offers. Track them programmatically.

### How to use

1. Enter one or more **search terms** (e.g. `rtx 4060`, `ssd nvme 1tb`, `ryzen 7`) — or paste full **category URLs**.
2. Set the **max items per query** and sorting (lowest price, biggest discount, etc.).
3. Run. Export results as **JSON, CSV or Excel**, or consume them via the **Apify API** in your own app.

#### Example input

```json
{
    "searchTerms": ["rtx 4060", "ryzen 5 5600"],
    "maxItemsPerQuery": 100,
    "sortBy": "lowest_price"
}
```

#### Example output item

```json
{
    "productId": 472521,
    "name": "Placa de Vídeo RTX 4060 Gigabyte NVIDIA GeForce Windforce OC, 8GB GDDR6",
    "manufacturer": "Gigabyte",
    "priceBRL": 2599.99,
    "pricePixBRL": 2339.99,
    "discountPercentage": 10,
    "available": true,
    "rating": 4.8,
    "ratingCount": 156,
    "url": "https://www.kabum.com.br/produto/472521/...",
    "source": "kabum.com.br"
}
```

### Integrations & API

Like every Apify Actor, this scraper is instantly available as an **HTTP API endpoint** — schedule it, connect it to Make/Zapier/n8n, push results to Google Sheets, or call it from Python/Node with the Apify client.

### Use cases

- **Price history & drop alerts** for Brazilian hardware deals
- **Competitor monitoring** for sellers and distributors operating in Brazil
- **Affiliate deal channels** — detect real discounts vs. fake markdowns
- **Market research** on the LATAM electronics market

### Pricing

Pay-per-event: a small flat fee per run start plus a fee per scraped product. You only pay for what you get. Set a max budget per run in Apify Console — the Actor stops gracefully at your limit.

### Roadmap

- Pichau and Terabyte scrapers (sister Actors)
- Product detail page enrichment (full specs, seller info)
- Price comparison aggregator across Brazilian hardware stores

Questions or feature requests? Open an issue on the Actor page — feedback drives the roadmap.

# Actor input Schema

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

List of search queries to scrape, e.g. 'rtx 4060', 'ssd nvme 1tb'. Each term is searched independently.

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

Full KaBuM! category or search URLs to scrape instead of (or in addition to) search terms, e.g. https://www.kabum.com.br/hardware/placa-de-video-vga

## `maxItemsPerQuery` (type: `integer`):

Maximum number of products to return for each search term or category URL.

## `sortBy` (type: `string`):

Product ordering used by KaBuM!.

## `includeOutOfStock` (type: `boolean`):

If enabled, products marked as unavailable are also returned.

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

Proxy settings. Residential proxies are recommended if you hit blocking.

## Actor input object example

```json
{
  "searchTerms": [
    "rtx 4060"
  ],
  "categoryUrls": [],
  "maxItemsPerQuery": 50,
  "sortBy": "most_searched",
  "includeOutOfStock": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# 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": [
        "rtx 4060"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thevincentfrias/kabum-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": ["rtx 4060"] }

# Run the Actor and wait for it to finish
run = client.actor("thevincentfrias/kabum-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": [
    "rtx 4060"
  ]
}' |
apify call thevincentfrias/kabum-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thevincentfrias/kabum-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/6MDzrhbeVIaW9XZVj/builds/Y6GqOnxUgUvj8FYDA/openapi.json
