# Kabum Scraper - Brazil Hardware Prices & Stock (`scrapewise/kabum-produtos`) Actor

Search Kabum for hardware products with cash/PIX price, stock and ratings.

- **URL**: https://apify.com/scrapewise/kabum-produtos.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.70 / 1,000 product delivereds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Kabum Hardware Price Scraper

Search Kabum for PC hardware and electronics and get list price, PIX/discounted price, stock and rating for every product, for computer stores, comparison sites and PC builders.

**Use cases**

- A computer store tracks Kabum's PIX price on components it also stocks to stay competitive.
- A comparison site pulls current price and stock for a shopping list of parts before recommending a build.
- A PC builder monitors stock and price on a specific GPU/CPU model to catch a restock or price drop.

**Example input**

```json
{
  "termos": ["mouse gamer"],
  "maxItems": 100
}
```

**Example output**

```json
[
  {"id": "904345", "nome": "Mouse Gamer sem Fio Attack Shark X11 com Base de Carregamento Magnético RGB", "preco": 177.77, "preco_pix": 159.99, "estoque": 437, "nota": 4.9, "url": "https://www.kabum.com.br/produto/904345/mouse-gamer-sem-fio-attack-shark-x11-com-base-de-carregamento-magnetico-rgb-tri-mode-22-000-dpi-sensor-optico-paw3311-5-botoes-preto", "coletado_em": "2026-09-04T12:00:00+00:00", "url_origem": "https://www.kabum.com.br/_next/data/OCiOlvSmAtkswcZuHHNDa/busca/mouse-gamer.json?query=mouse%20gamer&page_number=1"},
  {"id": "627741", "nome": "Mouse Gamer Razer Viper V3 Pro Gengar Edition", "preco": 1899.9, "preco_pix": 1709.9, "estoque": 52, "nota": 4.8, "url": "https://www.kabum.com.br/produto/627741/mouse-gamer-razer-viper-v3-pro-gengar-edition", "coletado_em": "2026-09-04T12:00:00+00:00", "url_origem": "https://www.kabum.com.br/_next/data/OCiOlvSmAtkswcZuHHNDa/busca/mouse-gamer.json?query=mouse%20gamer&page_number=1"}
]
```

**Price:** US$ 2.00 per 1,000 results, no subscription.

**How to use**

- Via API: call `POST /v2/acts/<your-username>~kabum-produtos/run-sync-get-dataset-items` with the input above.
- Via schedule: create an Apify Schedule to re-run the same search terms daily and track price/stock changes.
- Via integration: connect through n8n, Make or Zapier's native Apify nodes to feed a price-tracking spreadsheet or restock alert.

**Limitations:** This Actor reads Kabum's internal Next.js data endpoint, which is fast and cheap but tied to a build identifier that changes whenever Kabum redeploys their site; the Actor resolves the current identifier automatically on every run, but if Kabum changes their data-route format entirely it will fail loudly instead of returning empty data — please open an issue with the search term used so the parser can be updated.

This Actor collects only publicly available data and respects the site's terms of use.

### Em português

Busca produtos na Kabum e devolve preço de tabela, preço no Pix, estoque e nota de cada item.

Casos de uso: uma loja de informática acompanha o preço no Pix da Kabum nos componentes que também vende; um comparador de preços puxa preço e estoque atuais para uma lista de peças antes de recomendar uma configuração; um montador de PC monitora estoque e preço de um modelo específico de placa de vídeo ou processador.

Preço: US$ 2,00 por 1.000 resultados, sem mensalidade.

# Actor input Schema

## `termos` (type: `array`):

List of search terms as typed on Kabum (e.g. "mouse gamer", "placa de video rtx").

## `categoria` (type: `string`):

Optional Kabum category slug to narrow the search (leave empty to search all categories).

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

Maximum number of products to return. The run stops at the first empty page.

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

Apify Proxy configuration. Datacenter proxy is enough for this source (plain JSON endpoint).

## Actor input object example

```json
{
  "termos": [
    "mouse gamer"
  ],
  "maxItems": 30,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `resultsCsv` (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 = {
    "termos": [
        "mouse gamer"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/kabum-produtos").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 = { "termos": ["mouse gamer"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/kabum-produtos").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 '{
  "termos": [
    "mouse gamer"
  ]
}' |
apify call scrapewise/kabum-produtos --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapewise/kabum-produtos"
        }
    }
}
```

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/ms0dg0dT52HcgUpx9/builds/UAr40KKh5vGriMcPU/openapi.json
