# Kuantokusta Scraper - Portugal Prices & Sellers (`scrapewise/kuantokusta-scraper`) Actor

Scrape kuantokusta.pt products by keyword or product link: price range, every seller offer with shipping, old price, marketplace and stock flags. Failed pages are free rows.

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

## Pricing

from $3.42 / 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?

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

## Kuantokusta Scraper: Portugal prices and sellers from kuantokusta.pt

Scrape kuantokusta.pt, the Portuguese price comparison site, by keyword or by product link. Each product comes with its
price range, the average price on the site, and (by default) every seller offer: store, price, old price, shipping,
delivery and marketplace flags. No login, no account, no cookies. Error rows are free.

### At a glance

| Item | Value |
|---|---|
| Price | US$ 0.0045 per product delivered, plus US$ 0.005 per run start |
| Error rows and duplicates | Free |
| Input | Keywords in Portuguese, or product and search links from kuantokusta.pt |
| Output | One row per product, offers nested in `offers` |
| Country and language | Portugal, prices in EUR, text in Portuguese |
| Login | Not needed |

### Quick start

Paste a keyword, for example `iphone 15`, and run. The default input is:

```json
{
  "searchQueries": ["iphone 15"],
  "maxItems": 50,
  "includeOffers": true
}
```

To follow one product, paste its page link in `startUrls`:

```json
{
  "startUrls": ["https://www.kuantokusta.pt/p/10379548/apple-iphone-15-128gb-black"],
  "includeOffers": true
}
```

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQueries` | list of strings | `["iphone 15"]` | Product keywords in Portuguese. One search per keyword. |
| `startUrls` | list of strings | empty | Product pages (`/p/<id>/...`) or search pages (`/search?q=...`) from kuantokusta.pt. |
| `maxItems` | integer | 50 | Most products delivered in the run, across all keywords and links. |
| `includeOffers` | boolean | true | On: one extra page request per product to list every seller offer. Off: search-level data only, one request per 48 products. |
| `proxyConfiguration` | object | Apify Proxy, datacenter | Proxy used for the requests. The run switches to a residential proxy by itself when the site refuses several requests in a row. |

You can use the same keyword in several searches, or mix keywords and links. Duplicates inside one run are delivered once.

### Output fields

| Field | Meaning |
|---|---|
| `productId` | kuantokusta.pt product id |
| `name`, `brand` | Product name and brand as listed |
| `category`, `categoryPath` | Category and the breadcrumb path from the product page |
| `url` | Product page on kuantokusta.pt |
| `images`, `ean` | Image links and EAN codes when the site lists them |
| `priceMin`, `priceMax` | Lowest and highest price among the offers, in EUR |
| `averagePrice` | Average price the site shows for the product, in EUR |
| `totalOffers` | Number of offers listed |
| `inStock` | Whether the product has stock on the site |
| `isMarketplace`, `isFastDelivery` | Product-level flags from the site |
| `ratingCount`, `reviewsCount` | Rating counts from the site |
| `topBoxStore`, `topBoxPrice` | The store the site highlights at the top, and its price |
| `offers` | List of seller offers (only with `includeOffers` on, see below) |
| `description` | Product description text from the product page |
| `sourceQuery` | The keyword or link that found the product |
| `scrapedAt` | UTC time of the run |

Each entry in `offers`:

| Field | Meaning |
|---|---|
| `storeName`, `storeSlug`, `sellerId` | The store that sells the item |
| `offerTitle` | The title the store uses for the item |
| `price`, `oldPrice` | Current price and the old price when the store shows a discount, in EUR |
| `shippingMinimumPrice` | Lowest shipping cost the site shows |
| `expectedDeliveryDate` | Estimated delivery date when the site shows one |
| `isFastDelivery`, `isFreeShipping`, `isMarketplace` | Delivery and marketplace flags |
| `hasOldPriceDiscount`, `isBestPrice`, `isHighlighted` | Highlights the site shows |
| `loyaltyPoints` | Points the store gives on this price |
| `lastCheckedAt` | When the site last checked this price |

### Example output

This is one product from a real run, with the offers list cut to two entries for space:

```json
{
  "type": "product",
  "productId": 10379548,
  "name": "Apple iPhone 15 6.1\" 128GB Black",
  "brand": "Apple",
  "category": "Smartphones",
  "categoryPath": "Smartphones e Acessórios > Telemóveis / Smartphones > Smartphones > Apple iPhone 15 6.1\" 128GB Black",
  "url": "https://www.kuantokusta.pt/p/10379548/apple-iphone-15-61-128gb-black",
  "images": [
    "https://s1.kuantokusta.pt/img_upload/produtos_comunicacoes/1445270_3_apple-iphone-15-6-1-128gb-black.jpg"
  ],
  "ean": [
    "0195949035982",
    "0195949035999",
    "0195949036033"
  ],
  "priceMin": 638,
  "priceMax": 889,
  "averagePrice": 726.99,
  "totalOffers": 17,
  "inStock": true,
  "isMarketplace": true,
  "isFastDelivery": true,
  "ratingCount": 4.8,
  "reviewsCount": 33,
  "topBoxStore": "PhonesPulse",
  "topBoxPrice": 795,
  "offers": [
    {
      "sellerId": 9839,
      "storeName": "Worten",
      "storeSlug": "worten",
      "offerTitle": "iPhone 15 APPLE (6.1'' - 128 GB - Preto) - 0195949035999",
      "price": 689.99,
      "oldPrice": null,
      "shippingMinimumPrice": 0,
      "expectedDeliveryDate": null,
      "isFastDelivery": false,
      "isFreeShipping": false,
      "isMarketplace": false,
      "hasOldPriceDiscount": false,
      "isBestPrice": null,
      "isHighlighted": true,
      "loyaltyPoints": null,
      "lastCheckedAt": "2026-11-09T00:32:01.000Z"
    },
    {
      "sellerId": 13157,
      "storeName": "Amazon Spain",
      "storeSlug": "amazon-spain",
      "offerTitle": "Apple iPhone 15 (128 GB) - Negro - B0CHWV5HTM",
      "price": 696.32,
      "oldPrice": null,
      "shippingMinimumPrice": 0,
      "expectedDeliveryDate": null,
      "isFastDelivery": false,
      "isFreeShipping": false,
      "isMarketplace": false,
      "hasOldPriceDiscount": false,
      "isBestPrice": null,
      "isHighlighted": true,
      "loyaltyPoints": null,
      "lastCheckedAt": "2026-11-09T09:20:07.000Z"
    }
  ],
  "description": "A DYNAMIC ISLAND CHEGA AO IPHONE 15\nA Dynamic Island mostra avisos e Atividades em tempo real para ficar a par de tudo sem interromper o que está a fazer. Saiba...",
  "sourceQuery": "https://www.kuantokusta.pt/p/10379548/apple-iphone-15-128gb-black",
  "scrapedAt": "2026-11-09T11:11:00Z",
  "errorCode": null,
  "error": null
}
```

### Error rows

Rows with `type: "error"` are not charged. The `errorCode` tells you what happened:

| Code | Meaning | What to do |
|---|---|---|
| `INVALID_URL` | The link is not a product or search page of kuantokusta.pt | Copy the link from the address bar of the product or search page. |
| `NO_RESULTS` | The site has no product for the keyword | Try a broader keyword. |
| `BLOCKED` | The site refused every attempt for that search or product | Run it again in a few minutes. |
| `INVALID_INPUT` | An input value is not valid | Fix the value named in the message. |
| `UNEXPECTED` | Something else stopped the run | Run it again. Nothing more was charged. |

### Scheduling and integrations

- **Schedules:** set a daily or weekly schedule with the same keywords. Each run charges only the products it delivers.
- **Export:** download the dataset as JSON, CSV, Excel or XML from the run page, or read it through the API.
- **Make, n8n, Zapier:** connect the dataset to a spreadsheet or a database with the Apify app of each tool.
- **Apify MCP server:** an AI agent can start the Actor and read the dataset with the same input described above.

### Use cases

- Watching the price of a product across the stores that sell it in Portugal.
- Checking which store has the lowest price and the cheapest shipping before a purchase.
- Building a product list with categories, brands and price ranges for a Portuguese shop.
- Comparing the offers of marketplace sellers against first-party stores.

### FAQ

**Do I need an account on kuantokusta.pt?**
No. The Actor reads public pages only.

**Are prices in euros?**
Yes. Every price is in EUR, as the site shows it. The site can show a price that changed a few hours before the run; `lastCheckedAt` tells you when each offer was last checked.

**Why does one product have no `offers`?**
With `includeOffers` on, a product page that the site refused is delivered with the search-level price range and `offers` empty. Its other fields come from the search page. The row is still charged once, because the product was delivered.

**Why are some searches shorter than `maxItems`?**
The site has fewer products for the keyword, or the run stopped at the time limit. Both cases are in the log.

**Can I get the same product twice?**
No. Each product id is delivered once per run.

**How many products can one run deliver?**
`maxItems` goes up to 1000. Bigger runs take longer; the Actor stops before its time limit and keeps what it delivered.

### Limitations

- The site lists prices as the stores publish them. The Actor does not check the price inside the store.
- Only the products on the site appear. Products that a store has not listed on kuantokusta.pt are not included.
- Reviews are not included, only the counts.
- Descriptions are the site's own text, with contact details removed.
- Some products have no EAN or no image; the field is then empty.

### Changelog

- **0.1 (09 Nov 2026):** first version. Keyword searches, product and search links, every seller offer, price range, average price, category path, description.

# Actor input Schema

## `searchQueries` (type: `array`):

Product keywords in Portuguese, one per line, for example iphone 15 or air fryer. Each keyword is one search. Leave empty when you paste product or search links below.

## `startUrls` (type: `array`):

Links from kuantokusta.pt, one per line: a product page (https://www.kuantokusta.pt/p/...) or a search page (https://www.kuantokusta.pt/search?q=...).

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

Most products to deliver in the run, across all searches and links. Default 50.

## `includeOffers` (type: `boolean`):

On: one more page request per product to list every seller offer (store, price, old price, shipping, delivery). Off: only the search-level price range and lowest offer, and one request per 48 products.

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

Datacenter proxy by default. The site may ask for a residential one for some requests; the run switches on its own.

## Actor input object example

```json
{
  "searchQueries": [
    "iphone 15"
  ],
  "maxItems": 50,
  "includeOffers": true,
  "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 = {
    "searchQueries": [
        "iphone 15"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/kuantokusta-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 = {
    "searchQueries": ["iphone 15"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/kuantokusta-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 '{
  "searchQueries": [
    "iphone 15"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/kuantokusta-scraper --silent --output-dataset

```

## MCP server setup

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