# Samsung Brazil Scraper - Products, Prices, Stock & Specs (`abotapi/samsung-scraper`) Actor

Scrape Samsung Brazil (shop.samsung.com/br) phones, TVs, appliances and computers. Extract prices, list prices, installments, stock, EANs, specifications, images, colors and categories. Search by keyword, category, brand or URL, including product and sitemap links.

- **URL**: https://apify.com/abotapi/samsung-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 product results

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

## Samsung Brazil Store Scraper: Prices, Installments, Specs & Stock

Samsung Brazil Store Scraper turns samsung.com's Brazilian online store (shop.samsung.com/br) into structured product data. Search by keyword, category or brand, or paste a search, category, product or sitemap link, and get prices, list prices, installment plans, stock, EAN codes, full specifications, image galleries, colors, memory sizes and category paths for phones, tablets, TVs, appliances, computers and accessories. Export to JSON, CSV or Excel, or pull results straight into your app through the API.

### Why This Scraper?

- **One row per SKU.** Every color and memory version of a product is its own row with its own SKU id, EAN, price and stock, plus a list of the product's other SKUs.
- **Complete price picture.** Price, list price, spot price, price without discount, price validity, reward value, gift SKUs, the price range of the product and the full installment table by card.
- **Specifications and attributes.** Grouped specifications, flat properties, SKU attributes such as color and memory, product clusters and highlights, teasers and discount highlights.
- **Product page block.** With product page reading on, the structured product block the store publishes for search engines (name, SKU, MPN, GTIN, offer and seller) is added to the row of the version (color or memory) the block names, with only that version's own offer. Other versions of the same product can come back without it, and the product-page unit is charged only on rows that carry it.
- **Whole catalog or a slice.** One keyword, one category path, one brand, a price range, in-stock or on-sale only, a minimum discount, with the store's own sort.
- **Built for schedules.** Incremental mode returns only new and changed rows on recurring runs, with a price-and-stock-only option, compact rows and chat alerts.

### Use Cases

- **Price monitoring and comparison:** track price, list price and installment plans across categories every day.
- **Promotion tracking:** collect every discounted SKU with its discount highlights and teasers.
- **Catalog enrichment:** match your own products by EAN or reference id and fill in specifications and images.
- **Market research:** study the assortment, colors, memory sizes and categories of the brand's Brazilian store.
- **Availability alerts:** watch stock of launches and get a chat message when something changes.

### Data You Get

> Sample shape: values are illustrative placeholders, not from a live record.

| Field | Example |
| --- | --- |
| `productId` / `productName` / `productTitle` / `productReference` | `"00000"` / `"Samsung Galaxy Sample Tablet, 512GB"` / empty when the store has none |
| `itemId` / `skuName` / `nameComplete` / `complementName` | `"0000000"` / `"Gray"` / the full SKU name / highlight text |
| `linkText` / `url` | `"galaxy-sample-tablet"` / product page address |
| `brand` / `brandId` | `"Samsung"` / `0` |
| `description` / `metaTagDescription` | product description and meta description |
| `categories` / `categoryId` / `categoriesIds` / `categoryTree` | category paths, the leaf category id, id paths and the tree with level, id and name |
| `releaseDate` | release time in epoch milliseconds |
| `clusterHighlights` / `productClusters` | highlight collections and the product's collections with id and name |
| `specifications` / `properties` / `skuSpecifications` | grouped specifications, flat properties and SKU attributes |
| `referenceId` / `ean` | `"SM-X000NZAHZTO"` / `"0000000000000"` |
| `measurementUnit` / `unitMultiplier` / `isKit` | `"un"` / `1` / `false` |
| `images` / `videos` | the full gallery and any videos |
| `color` / `memory` | `"Gray"` / `"512 GB"` |
| `sellerId` / `sellerName` | `"1"` / `"Sample Seller Ltda."` |
| `price` / `listPrice` / `spotPrice` / `priceWithoutDiscount` / `currency` | `9299` / `11999` / `8555.08` / `9299` / `"BRL"` |
| `onSale` / `discountAmount` / `discountPercent` / `category` / `subcategory` / `imageUrl` | `true` / `2700` / `22.5` / `"Mobile"` / `"Tablet"` / first image link |
| `priceValidUntil` / `rewardValue` / `giftSkuIds` | price validity time / `0` / ids of free gift SKUs |
| `priceRangeLow` / `priceRangeHigh` | lowest and highest price across the product's SKUs |
| `availableQuantity` / `inStock` | `10000` / `true` (the store's stock counter: search results cap it at 10000, a product link's record shows up to 99999) |
| `installments` / `teasers` / `discountHighlights` | installment table by card, promotion teasers, discount highlights |
| `variants` | the product's SKUs with id, name, color and memory |
| `page` / `searchQuery` / `facets` | result page / the keyword / the store's filter groups with counts |
| `jsonLdProduct` | the product block from the product page, only on the row of the SKU (color or memory version) the block describes (product page reading on) |
| `position` / `sourceUrl` / `scrapedAt` | slot in the result list / the store page the row came from (the search, category, brand or product page; your pasted link in URL mode) / scrape time |
| `changeType` / `changedFields` / `firstSeenAt` / `lastSeenAt` | incremental mode only: `"NEW"`, `"UPDATED"` and what moved |

Rows from a link to a product page carry the same fields from that product's record (without `page`, `searchQuery` or `facets`). Fields the store does not publish for a product stay empty rather than guessed. Customer ratings and review counts are not collected. The `rank` of a product is not published by the store and is not returned.

### How to Use

1. Keep the default **search** mode and add keywords, categories or brands, or switch to **url** mode and paste search, category, product or product sitemap links.
2. Pick a **Sort by** order for keyword runs. A pasted link keeps its own keyword, page, page size and sort.
3. Narrow with a price range, a minimum discount, in-stock or on-sale only.
4. Set **Max items** to control run size and cost, then click **Start**.

**Quick keyword search:**

```json
{
  "mode": "search",
  "searchTerms": ["galaxy"],
  "maxItems": 20
}
```

**Tablets under a price, cheapest first, without the product page read:**

```json
{
  "mode": "search",
  "categories": ["mobile/tablet"],
  "maxPrice": 3000,
  "sortBy": "priceAsc",
  "fetchDetails": false,
  "maxItems": 50
}
```

**Paste links:**

```json
{
  "mode": "url",
  "urls": [
    "https://shop.samsung.com/br/search?q=galaxy&page=2",
    "https://shop.samsung.com/br/tv-e-audio/tv/uhd-4k-tv",
    "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p"
  ],
  "maxItems": 100
}
```

**Daily price monitor:**

```json
{
  "mode": "search",
  "searchTerms": ["galaxy"],
  "maxItems": 0,
  "incrementalMode": true,
  "changeScope": "priceAndStock",
  "compactUpdates": true
}
```

#### Caps and pagination

**Max items** stops the whole run once that many rows have been returned (`0` = no cap). **Max pages** limits how many result pages (100 products each) each keyword, category or link walks; it does not cap the run by itself. Without a cap, each keyword or category is walked to its natural end, with duplicates dropped. The store lists at most 5,000 results per search, more than its whole catalog (about 1,800 products), so every search can be read in full. A pasted link with `page=N` starts at that page (1 is the first) and never triggers EXPIRED detection. A walk counts as complete only when the distinct products read reach the total the store reported, on one consistent total below its result window, from page 1.

A long run stops reading about 20 seconds before the run's timeout and ends with a "Partial results" status instead of timing out; the rows already returned are kept. Give the run more time (Timeout in the run options) to collect everything in one run.

#### Pasted links

A search link keeps its page, page size and sort. A category or brand link reads the same products the page lists; a one-word address is tried as a top category first and then as a brand. A product link returns that product's SKUs. A product sitemap link reads the product links the store lists in that file, up to your caps; the sitemap index follows the product files in order (it also lists a few product pages that no search returns). A page of the manufacturer's Brazil website is read as a search for its topic. Search-mode fields (keywords, filters, sort) are not applied to pasted links. Links to other sites or other countries, the store's data addresses, robots.txt and other files are skipped before any request, and the log names each one with its reason.

#### Product page reading

**Read the product page too** (`fetchDetails`, on by default) opens each product's own page to add the `jsonLdProduct` block. One product-page unit is charged for each returned row that carries the block, at the moment the row is stored; a row whose page could not be read, or that the run did not store, is never charged for it. The store's product page describes one version of the product at a time, so the block is added only to the row of the version it names; the other versions of that product are returned without it and are not charged for it. Turn it off for listing fields only (faster and cheaper). Links to product pages always read the product's record; the extra event is charged only when the option is on.

#### Resume and recurring updates

- **Resume** (`resumeFromRunId`) skips rows already collected by an earlier run: paste its run or dataset ID and those rows are neither returned nor charged again.
- **Incremental mode** (`incrementalMode`) is for scheduled runs over the same search, link or category. Each row is classified `NEW`, `UPDATED` (with `changedFields`), `UNCHANGED` (left out and not billed unless `emitUnchanged` is on), `REAPPEARED`, or `EXPIRED` (only after a run whose walks all reached their end, never after a capped, page-limited, resumed, maximum-cost-stopped or timeout-stopped run, a run with product page reading off or with a page that could not be read, and only with `emitExpired` on). A product missing from a complete run is marked EXPIRED only when its own product page answers that it no longer exists; otherwise it stays tracked. A row whose listing came back without a price or name, or whose requested product page could not be read, is held back: it is not compared, saved, returned or billed, and is checked again next run. The result position and page, the scrape time, the keyword or link, the filter counts, the live stock counter and the rolling price-valid-until stamp never count as a change. Turning product page reading on or off keeps the same saved state: the `jsonLdProduct` block is compared only when both runs read it, and fields that differ only because one row came from a search and the other from a product link are compared only between rows read the same way. Rows from product links, sitemaps and the backup listing route carry the Pix spot price and the promotion lists too; a row saved before they were read there is not returned or billed as UPDATED just because they are now filled in. One state key tracks up to 1,000 rows at the default memory (more with more memory); past that, the extra rows are still returned but the saved state is left as it was. With a manual `stateKey` shared by runs of a different setup, products are still compared but nothing is marked EXPIRED for that run. With `changeScope: "priceAndStock"` only price, list price, spot price, price without discount and the in-stock flag are compared; `compactUpdates` returns slim rows with `priceChanges`.
- **Ignore fields when detecting changes** (`ignoreFieldsForChanges`) lists extra field names that must not count as a change.

#### Alerts

Fill in a Slack incoming webhook or a Discord channel webhook, and the actor posts one short summary when the run finishes: the number of rows (and, in incremental mode, how many are new, updated, reappeared or expired) followed by up to **Rows listed per alert** products. With **Alert on changes only** on and Incremental changes on, nothing is sent when nothing changed. Sending an alert adds no charge of its own and never changes the run's result; leave every field empty to skip them.

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape: the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record, not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify, Settings, Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field (`mcpConnectors`). (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.
4. Optionally set `maxNotifyListings` to cap how many items are written to each connector per run (default 50).

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | Choose 'search' to run keyword and category searches or 'url' to paste links. |
| `searchTerms` | array | `["galaxy"]` | One search per keyword (for example galaxy or smart tv). Leave keywords, categories and brands empty to walk the whole catalog. |
| `categories` | array | - | Category names or paths, for example Mobile/Tablet, TV e Áudio/TV or tv-e-audio/tv/uhd-4k-tv (accents and capitals are folded). One search per category. |
| `brands` | array | - | Brand names to narrow every keyword or category to (for example samsung). One search per brand. |
| `sortBy` | string | `relevance` | Order of the results in the store. |
| `minPrice` | number | - | Keep only rows priced at or above this amount. |
| `maxPrice` | number | - | Keep only rows priced at or below this amount. |
| `minDiscount` | integer | - | Keep only rows whose price is at least this many percent below the list price. |
| `inStockOnly` | boolean | `false` | Keep only rows that can be ordered now. |
| `onSaleOnly` | boolean | `false` | Keep only rows priced below their list price. |
| `urls` | array | 11 example links | Paste Samsung Brazil store links: a search page (with its page number), a category or brand page, a product page, a product sitemap file, or a page of the manufacturer's Brazil website (read as a search for its topic). A link with page=N starts at that page (1 is the first). Tracking parameters are ignored. Other sites and countries, the store's data addresses, robots.txt and other files are skipped before any request. |
| `fetchDetails` | boolean | `true` | Also read each product page to add its schema.org product block (jsonLdProduct). The block is added only to the row of the version (color or memory) it names and carries only that version's own offer, so other versions of a product can come back without it; the product-page unit is charged only on rows that carry it. Listing fields are always returned. Turn off for the fastest, cheapest run. |
| `maxPages` | integer | - | Optional. Limits how many result pages (100 products each) every keyword, category or link walks. Empty or 0 means no page limit; it does NOT cap the run by itself, Max items below does. |
| `maxItems` | integer | `20` | THE cap on this run: the maximum number of rows returned across the whole run (one row per product SKU). Defaults to 20 so a first run is fast and cheap. Use 0 for unlimited (a whole category or search). |
| `proxy` | object | `{"useApifyProxy": true}` | Automatic (datacenter) is the default and is measured to serve every page this actor reads. Residential is recommended for the most reliable results on large or frequent runs and is billed to your own Apify plan. If the selected connection is refused, the run continues on a backup connection. |
| `resumeFromRunId` | string | - | Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead. |
| `incrementalMode` | boolean | `false` | Turn this on for daily or recurring monitoring. The first run returns every matching row as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED rows. A row counts as UPDATED when any of its fields changed, except the result position and page, the scrape time, the keyword or link it was found through, the filter counts, the live stock counter and the rolling price-valid-until stamp (see Ignore fields below); with 'Price and stock only' just price, list price, spot price, price without discount and the in-stock flag are compared. State is kept separately for each keyword, link, sort and filter setup; use State key to name or deliberately share a monitoring campaign. |
| `stateKey` | string | - | Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup. |
| `changeScope` | string | `all` | 'Price and stock only' compares just price, list price, spot price, price without discount and the in-stock flag; a description, image or specification change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Incremental changes). |
| `compactUpdates` | boolean | `false` | When on, an UPDATED row carries only identifiers plus the price/stock fields that actually moved (priceChanges), instead of the full record. Off by default. |
| `expireAfterMissedScans` | integer | `1` | A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss. |
| `emitUnchanged` | boolean | `false` | Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have. |
| `emitExpired` | boolean | `false` | Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced once a run has fully scanned the tracked search with product page reading on, never when Max items, Max pages, the maximum cost or the run timeout stopped it, when a pasted link started past page 1, or when Resume was used, and only for a product whose own page says it no longer exists. This returns, and bills, extra rows. |
| `ignoreFieldsForChanges` | array | - | Field names that must NOT count as a change in incremental mode (for example 'description' or 'installments'). The list is empty by default: the live stock counter, rolling price-valid-until stamp, filter counts and result position never count anyway. A row whose only differences are in the listed fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. Names match at any nesting depth. The fields still appear in the output of rows that are returned. |
| `mcpConnectors` | array | - | Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com). |
| `notionParentPageUrl` | string | - | URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors. |
| `maxNotifyListings` | integer | `50` | Cap on items written to each connector per run. Does not affect the dataset. |
| `notifyOnlyChanges` | boolean | `false` | Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary. |
| `notificationLimit` | integer | `5` | How many product rows the alert message lists (the run's totals are always in the first line). |
| `slackWebhookUrl` | string | - | Optional Slack incoming-webhook URL to post the summary to. |
| `discordWebhookUrl` | string | - | Optional Discord channel webhook URL to post the summary to. |

### Output Example

> Sample shape: values are illustrative placeholders, not from a live record.

**One product row:**

```json
{
  "kind": "product",
  "id": "0000000",
  "market": "br",
  "currency": "BRL",
  "productId": "00000",
  "productName": "Samsung Galaxy Sample Tablet, 512GB, 12GB RAM",
  "productTitle": null,
  "productReference": null,
  "linkText": "galaxy-sample-tablet",
  "url": "https://shop.samsung.com/br/galaxy-sample-tablet/p",
  "brand": "Samsung",
  "brandId": 0,
  "description": "Sample tablet, 512GB, 12GB RAM, 14.6 inch screen",
  "metaTagDescription": null,
  "categories": [
    "/Mobile/Tablet/Sample Line/",
    "/Mobile/Tablet/",
    "/Mobile/"
  ],
  "categoryId": "00",
  "categoriesIds": [
    "/0/0/00/",
    "/0/0/",
    "/0/"
  ],
  "categoryTree": [
    {
      "level": 1,
      "id": "0",
      "name": "Mobile"
    },
    {
      "level": 2,
      "id": "0",
      "name": "Tablet"
    },
    {
      "level": 3,
      "id": "00",
      "name": "Sample Line"
    }
  ],
  "releaseDate": 1700000000000,
  "clusterHighlights": [],
  "productClusters": [
    {
      "id": "000",
      "name": "Sample collection"
    }
  ],
  "specifications": [
    {
      "name": "Specs",
      "specifications": [
        {
          "name": "RAM",
          "values": [
            "12 GB"
          ]
        }
      ]
    }
  ],
  "properties": [
    {
      "name": "RAM",
      "values": [
        "12 GB"
      ]
    },
    {
      "name": "INTERNAL_MEMORY",
      "values": [
        "512GB"
      ]
    }
  ],
  "skuSpecifications": [
    {
      "name": "Cor",
      "values": [
        "Gray"
      ]
    },
    {
      "name": "Memória",
      "values": [
        "512 GB"
      ]
    }
  ],
  "itemId": "0000000",
  "skuName": "Gray",
  "nameComplete": "Samsung Galaxy Sample Tablet, 512GB, 12GB RAM Gray",
  "complementName": "Sample highlights",
  "referenceId": "SM-X000NZAHZTO",
  "ean": "0000000000000",
  "measurementUnit": "un",
  "unitMultiplier": 1.0,
  "images": [
    "https://example.com/sample-image-1.jpg",
    "https://example.com/sample-image-2.jpg"
  ],
  "imageUrl": "https://example.com/sample-image-1.jpg",
  "videos": [],
  "color": "Gray",
  "memory": "512 GB",
  "isKit": false,
  "variants": [
    {
      "itemId": "0000000",
      "skuName": "Gray",
      "color": "Gray",
      "memory": "512 GB"
    }
  ],
  "sellerId": "1",
  "sellerName": "Sample Seller Ltda.",
  "price": 9299.0,
  "listPrice": 11999.0,
  "spotPrice": 8555.08,
  "priceWithoutDiscount": 9299.0,
  "priceValidUntil": "2030-01-01T00:00:00Z",
  "availableQuantity": 10000,
  "inStock": true,
  "onSale": true,
  "discountAmount": 2700.0,
  "discountPercent": 22.5,
  "category": "Mobile",
  "subcategory": "Tablet",
  "installments": [
    {
      "count": 1,
      "value": 9299.0,
      "total": 9299.0,
      "interestRate": 0.0,
      "paymentSystem": "Sample Card",
      "name": "Sample Card in full"
    }
  ],
  "teasers": [],
  "discountHighlights": [],
  "rewardValue": 0.0,
  "giftSkuIds": [],
  "priceRangeLow": 9299.0,
  "priceRangeHigh": 9299.0,
  "page": 1,
  "searchQuery": "galaxy",
  "facets": [
    {
      "name": "Departamento",
      "key": "category-1",
      "values": [
        {
          "name": "Mobile",
          "value": "mobile",
          "quantity": 0
        }
      ]
    }
  ],
  "jsonLdProduct": {
    "@type": "Product",
    "name": "Samsung Galaxy Sample Tablet",
    "sku": "00000000",
    "mpn": "SM-X000NZAHZTO",
    "gtin": "00000000",
    "offers": {
      "@type": "AggregateOffer",
      "lowPrice": 8555.08,
      "highPrice": 9299,
      "priceCurrency": "BRL",
      "offerCount": 1
    }
  },
  "position": 1,
  "sourceUrl": "https://shop.samsung.com/br/search?q=galaxy",
  "scrapedAt": "2030-01-01T00:00:00+00:00"
}
```

### Plan Requirement

Pay per event: one unit per returned product row, one product-page unit per row that includes the `jsonLdProduct` block, plus an actor start event. Each unit is charged as the row is stored, and an unchanged row left out in incremental mode is neither returned nor charged. The default connection is Apify Proxy on Automatic (datacenter), billed to your own Apify plan. If it is refused, the run continues on a backup connection (Residential, then a backup gateway). Apify free plans include no Apify proxy (see "Which proxy should I use?" below).

### FAQ

#### How much does it cost?

You pay per row returned, a product-page unit per row when product page reading is on, plus a small start fee per run. The **Pricing** tab shows the current rates. Use **Max items** to cap the cost of any run, or turn **Read the product page too** off for listing fields only.

#### Is it legal to scrape samsung.com?

This actor collects only publicly available product data that the Samsung Brazil store shows on its own storefront. You are responsible for how you use it: follow Samsung's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution. Prices and product facts are generally facts, but images and description text may be subject to third-party rights.

#### Can I get only new or changed rows on a schedule?

Yes. Schedule the actor from the **Schedules** tab and turn on **Incremental mode**. Each run then returns only new, updated and reappeared rows; unchanged ones are not billed unless you turn `emitUnchanged` on. Use `changeScope: "priceAndStock"` to be told only about price and stock moves.

#### Why does a keyword return more or fewer rows than the site shows?

Each product is returned once per SKU (color and memory version), so a product with three versions gives three rows. A keyword matches words in names, brands and categories the way the store's own search does, and the filters you set narrow the same result the store would show. The count can move between reads because prices and stock change during the day.

#### Why are some fields empty?

Some products carry no video, teaser, gift SKU or discount highlight, and listing-only runs (product page reading off) do not carry `jsonLdProduct`. The product page describes one version (color or memory) of a product at a time, so `jsonLdProduct` appears only on the row of the version it names and carries only that version's own offer (the offers of the other versions are left out); the other versions of that product can come back without it and are not charged for the product page. Fields the store does not publish for a product stay empty rather than guessed. The product rank, customer ratings and review counts are not available.

#### Which proxy should I use?

The default is Apify Proxy on Automatic (datacenter), measured to serve every page this actor reads (search, product records, product pages and sitemaps) on paid Apify plans. For sustained heavy runs (large or frequent scans) we recommend Residential for the most reliable results; it is billed to your own Apify plan. Apify free plans include no Apify proxy, so a free-plan run relies on the backup gateway or on your own proxy URLs, and some pages may stay unavailable. If the connection you selected is unavailable or keeps getting refused, the run automatically continues on a backup connection (the other Apify proxy tier, then a backup gateway) rather than stopping; that escalation is disclosed in the run log the first time it happens, and any residential traffic it uses is billed to your own Apify plan.

#### Why did my run fail instead of returning an empty dataset?

If every search or link could not be read, the run stops with a clear message so "no products matched" is never confused with "nothing could be read". Run it again in a few minutes. The messages you may see in the run log:

- When the selected connection is unavailable to your account, the log says: "The selected connection is unavailable to this run. Apify free plans do not include residential proxies. Continuing on a backup connection; some pages may still be unavailable. For residential access, upgrade at https://apify.com/pricing or supply your own proxy URLs."
- When pages are then read over the backup connection: "Served over the backup connection (the default connection was unavailable)." Set `SAMSUNG_COM_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection.
- If the proxy connection is refused for the account and no page could be read: "The proxy connection was refused for this account, so no page could be read. Your Apify plan does not include proxy access; a paid plan is required: https://apify.com/pricing. If you entered your own proxy URLs, check that their credentials are valid."
- If the run reaches the maximum cost per run you set, it stops and its status says: "Stopped early: the run reached the maximum cost per run you set, after N row(s). Nothing more was read, delivered or charged. Raise the maximum cost per run to collect more."
- If the run has no residential access and the backup connection still could not load a usable page: "No results: residential proxies are unavailable on this run (Apify free plans do not include them), and the backup connection could not load the requested Samsung Brazil store pages. Upgrade at https://apify.com/pricing or supply your own proxy URLs, then try again."
- If every request failed for another reason: "Could not load any results page (the requests failed), so nothing was collected. This is a connection problem, not an empty search. Please try again later."

Each of these failure messages ends with how many of your searches or links could not be read, when some could not.

#### Can I use it with AI agents?

Yes. The actor runs through the Apify API and the Apify MCP server, so an AI agent can start a run, read the dataset and ask for filtered, structured product data. The MCP connector export above is an extra step for writing results into Notion, Linear or Airtable.

### 🔗 Want more electronics data?

Pair this actor with these related scrapers from the same team:

<table>
<tr><td>🔌 <a href="https://apify.com/abotapi/currys-co-uk"><b>Currys UK Scraper</b></a><br>Scrape Currys UK products, including electronics, home appliances, computers, TVs and...</td><td>🔌 <a href="https://apify.com/abotapi/mvideo-scraper"><b>M.Video Scraper</b></a><br>Scrape M.Video (mvideo.ru), the Russian electronics and home appliance retailer: prices...</td></tr>
<tr><td>🔌 <a href="https://apify.com/abotapi/casasbahia-com-br-scraper"><b>Casas Bahia Brazil Electronics &amp; Home Goods Scraper</b></a><br>Scrape products from Casas Bahia Brazil by keyword, department, or URL. Filter by brand...</td><td>🔌 <a href="https://apify.com/abotapi/danawa-scraper"><b>Danawa Scraper</b></a><br>Scrape Danawa (danawa.com), Korea's price comparison platform, by keyword, category or...</td></tr>
<tr><td>🔌 <a href="https://apify.com/abotapi/yodobashi-com-scraper"><b>Yodobashi Scraper</b></a><br>Scrape yodobashi.com electronics and appliances: JPY price, list price and discount...</td><td>🔌 <a href="https://apify.com/abotapi/sharafdg-scraper"><b>Sharaf DG Scraper</b></a><br>Scrape Sharaf DG (sharafdg.com) products across the UAE, Saudi Arabia, Bahrain, Oman and...</td></tr>
</table>

👉 [Browse all abotapi scrapers](https://apify.com/abotapi)

### 💬 Support

- 🐞 **Found a bug or a missing field?** Open a ticket on the [Issues tab](https://apify.com/abotapi/samsung-scraper/issues/open). We usually reply within hours.
- 🛠️ **Need another site, extra fields or a private build?** Email <contact@abotapi.com>.
- ⭐ **Enjoying it?** A quick review on the actor page helps other users find it.

# Actor input Schema

## `mode` (type: `string`):

Choose 'search' to run keyword and category searches or 'url' to paste links.

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

One search per keyword (for example galaxy or smart tv). Leave keywords, categories and brands empty to walk the whole catalog.

## `categories` (type: `array`):

Category names or paths, for example Mobile/Tablet, TV e Áudio/TV or tv-e-audio/tv/uhd-4k-tv (accents and capitals are folded). One search per category.

## `brands` (type: `array`):

Brand names to narrow every keyword or category to (for example samsung). One search per brand.

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

Order of the results in the store.

## `minPrice` (type: `number`):

Keep only rows priced at or above this amount.

## `maxPrice` (type: `number`):

Keep only rows priced at or below this amount.

## `minDiscount` (type: `integer`):

Keep only rows whose price is at least this many percent below the list price.

## `inStockOnly` (type: `boolean`):

Keep only rows that can be ordered now.

## `onSaleOnly` (type: `boolean`):

Keep only rows priced below their list price.

## `urls` (type: `array`):

Paste Samsung Brazil store links: a search page (with its page number), a category or brand page, a product page, a product sitemap file, or a page of the manufacturer's Brazil website (read as a search for its topic). A link with page=N starts at that page (1 is the first). Tracking parameters are ignored. Other sites and countries, the store's data addresses, robots.txt and other files are skipped before any request.

## `fetchDetails` (type: `boolean`):

Also read each product page to add its schema.org product block (jsonLdProduct). The block is added only to the row of the version (color or memory) it names and carries only that version's own offer, so other versions of a product can come back without it; the product-page unit is charged only on rows that carry it. Listing fields are always returned. Turn off for the fastest, cheapest run.

## `maxPages` (type: `integer`):

Optional. Limits how many result pages (100 products each) every keyword, category or link walks. Empty or 0 means no page limit (the default): this field does not cap the run and defers to Max items below, the single finite default cap (20).

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

THE cap on this run: the maximum number of rows returned across the whole run (one row per product SKU). Defaults to 20 so a first run is fast and cheap. Use 0 for unlimited (a whole category or search).

## `proxy` (type: `object`):

Leave this on the default (Automatic) for most runs; it is measured to serve every page this actor reads on paid Apify plans. Residential is recommended for the most reliable results on large or frequent runs, and is billed to your own Apify plan. If the selected connection is refused, the run continues on a backup connection (Residential, then a backup gateway); on the Free plan the Apify proxy is refused and the run continues on a datacenter backup connection or your own proxy URLs.

## `resumeFromRunId` (type: `string`):

Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead.

## `incrementalMode` (type: `boolean`):

Turn this on for daily or recurring monitoring. The first run returns every matching row as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED rows. A row counts as UPDATED when any of its fields changed, except the result position and page, the scrape time, the keyword or link it was found through, the filter counts, the live stock counter and the rolling price-valid-until stamp (see Ignore fields below); with 'Price and stock only' just price, list price, spot price, price without discount and the in-stock flag are compared. State is kept separately for each keyword, link, sort and filter setup; use State key to name or deliberately share a monitoring campaign.

## `stateKey` (type: `string`):

Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup.

## `changeScope` (type: `string`):

'Price and stock only' compares just price, list price, spot price, price without discount and the in-stock flag; a description, image or specification change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Incremental changes).

## `compactUpdates` (type: `boolean`):

When on, an UPDATED row carries only identifiers plus the price/stock fields that actually moved (priceChanges), instead of the full record. Off by default.

## `expireAfterMissedScans` (type: `integer`):

A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced once a run has fully scanned the tracked search with product page reading on, never when Max items, Max pages, the maximum cost or the run timeout stopped it, when a pasted link started past page 1, or when Resume was used, and only for a product whose own page says it no longer exists. This returns, and bills, extra rows.

## `ignoreFieldsForChanges` (type: `array`):

Field names that must NOT count as a change in incremental mode (for example 'description' or 'installments'). The list is empty by default: the live stock counter, rolling price-valid-until stamp, filter counts and result position never count anyway. A row whose only differences are in the listed fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. Names match at any nesting depth. The fields still appear in the output of rows that are returned.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## `notifyOnlyChanges` (type: `boolean`):

Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary.

## `notificationLimit` (type: `integer`):

How many product rows the alert message lists (the run's totals are always in the first line).

## `slackWebhookUrl` (type: `string`):

Optional Slack incoming-webhook URL to post the summary to.

## `discordWebhookUrl` (type: `string`):

Optional Discord channel webhook URL to post the summary to.

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "galaxy"
  ],
  "categories": [],
  "brands": [],
  "sortBy": "relevance",
  "inStockOnly": false,
  "onSaleOnly": false,
  "urls": [
    "https://shop.samsung.com/br/search?q=galaxy",
    "https://shop.samsung.com/br/search?q=galaxy&page=2",
    "https://shop.samsung.com/br/tv-e-audio/tv/uhd-4k-tv",
    "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p",
    "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p?utm_source=x&skuId=1",
    "https://shop.samsung.com/br/samsung",
    "https://shop.samsung.com/br/sitemap.xml",
    "https://shop.samsung.com/br/sitemap/product-0.xml",
    "https://www.samsung.com/br/smartphones/all-smartphones/",
    "https://m.samsung.com/br/",
    "https://www.samsung.com/br/search/?searchvalue=galaxy"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [],
  "maxNotifyListings": 50,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

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

No description

## `changes` (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 = {
    "mode": "search",
    "searchTerms": [
        "galaxy"
    ],
    "categories": [],
    "brands": [],
    "sortBy": "relevance",
    "urls": [
        "https://shop.samsung.com/br/search?q=galaxy",
        "https://shop.samsung.com/br/search?q=galaxy&page=2",
        "https://shop.samsung.com/br/tv-e-audio/tv/uhd-4k-tv",
        "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p",
        "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p?utm_source=x&skuId=1",
        "https://shop.samsung.com/br/samsung",
        "https://shop.samsung.com/br/sitemap.xml",
        "https://shop.samsung.com/br/sitemap/product-0.xml",
        "https://www.samsung.com/br/smartphones/all-smartphones/",
        "https://m.samsung.com/br/",
        "https://www.samsung.com/br/search/?searchvalue=galaxy"
    ],
    "fetchDetails": true,
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": true
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/samsung-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 = {
    "mode": "search",
    "searchTerms": ["galaxy"],
    "categories": [],
    "brands": [],
    "sortBy": "relevance",
    "urls": [
        "https://shop.samsung.com/br/search?q=galaxy",
        "https://shop.samsung.com/br/search?q=galaxy&page=2",
        "https://shop.samsung.com/br/tv-e-audio/tv/uhd-4k-tv",
        "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p",
        "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p?utm_source=x&skuId=1",
        "https://shop.samsung.com/br/samsung",
        "https://shop.samsung.com/br/sitemap.xml",
        "https://shop.samsung.com/br/sitemap/product-0.xml",
        "https://www.samsung.com/br/smartphones/all-smartphones/",
        "https://m.samsung.com/br/",
        "https://www.samsung.com/br/search/?searchvalue=galaxy",
    ],
    "fetchDetails": True,
    "maxItems": 20,
    "proxy": { "useApifyProxy": True },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": [],
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/samsung-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 '{
  "mode": "search",
  "searchTerms": [
    "galaxy"
  ],
  "categories": [],
  "brands": [],
  "sortBy": "relevance",
  "urls": [
    "https://shop.samsung.com/br/search?q=galaxy",
    "https://shop.samsung.com/br/search?q=galaxy&page=2",
    "https://shop.samsung.com/br/tv-e-audio/tv/uhd-4k-tv",
    "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p",
    "https://shop.samsung.com/br/galaxy-tab-s12-ultra/p?utm_source=x&skuId=1",
    "https://shop.samsung.com/br/samsung",
    "https://shop.samsung.com/br/sitemap.xml",
    "https://shop.samsung.com/br/sitemap/product-0.xml",
    "https://www.samsung.com/br/smartphones/all-smartphones/",
    "https://m.samsung.com/br/",
    "https://www.samsung.com/br/search/?searchvalue=galaxy"
  ],
  "fetchDetails": true,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": []
}' |
apify call abotapi/samsung-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abotapi/samsung-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/Qls2g4FQ0B7YYztf9/builds/NqVTgeyb6U1tNSGe4/openapi.json
