# HKTVmall Scraper - Hong Kong Prices, Stores & Stock (`scrapewise/hktvmall-scraper`) Actor

Scrape HKTVmall (hktvmall.com) products by keyword, category, store or product code: HKD price, original price and discount, brand, store, stock, units sold, rating, best-seller rank and category. English or Chinese. Optional details: description, stock level, expiry, variants. Error rows are free.

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

## Pricing

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

## HKTVmall Scraper: Hong Kong product prices, discounts, stores, stock and units sold

HKTVmall Scraper collects **products from HKTVmall (hktvmall.com)**, the largest online shopping mall in Hong Kong:
supermarket, personal care, home appliances, electronics, pets, baby, beauty and every other zone. Search by keyword
in English or Chinese, paste category, store or search links, give a list of product codes, or walk the whole catalog
file by file. Every product comes back as one clean row: name, brand, store, price in HKD, original price, discount,
promotion labels, stock status, units sold, rating, number of reviews, best-seller rank, country of origin, delivery
label, category path and images. Turn on `includeDetails` to add the full description, exact stock level, expiry
date, purchase limit, delivery note, return policy, variants and every large image from each product page.

No HKTVmall account needed. It is used to track Hong Kong retail prices and promotions, monitor a brand or a store
across the mall, compare discounts by category, follow best sellers and units sold, feed price alerts with `onlyNew`
on a schedule, and build product datasets for market research, assortment planning and e-commerce analytics.

### At a glance

| What | Price |
|---|---|
| Product delivered | **US$ 3.00 per 1,000 products** (US$ 0.003 each) on the Free plan, lower on paid plans |
| Product details added (`includeDetails`) | US$ 4.00 per 1,000 products (US$ 0.004 each) |
| Run start | US$ 0.005 per run |

- 500 products from a search or category = **about US$ 1.51**; the same 500 with full details = about US$ 3.51.
  Paid Apify plans get a lower price per product automatically (Bronze, Silver, Gold and above).
- Error rows, codes that do not exist, duplicates and products already delivered in earlier runs (`onlyNew`) are
  never charged; the details event only when the product page was read. `maxItems` is a hard cap, and a spending
  limit set on the run stops it cleanly with everything delivered so far.
- Fast: 1,200 products from one category in under a minute in our tests.

### Quick start

Air fryers, in English:

```json
{
  "keywords": ["air fryer"],
  "maxItems": 50
}
```

Every product of a category page between HK$ 50 and HK$ 300, in Chinese, with full details:

```json
{
  "startUrls": ["https://www.hktvmall.com/hktv/en/main/Supermarket/Supermarket/Rice-%26-Cooking-Oil/c/AA11380000000"],
  "minPrice": 50,
  "maxPrice": 300,
  "language": "zh",
  "includeDetails": true,
  "maxItems": 300
}
```

Daily price and stock check of a fixed list of products:

```json
{
  "productCodes": ["H0888001_S_10133333", "H0888001_S_10143099A"],
  "maxItems": 0
}
```

The whole catalog, 5 files (about 12,500 products) per run; the next run starts at file 5:

```json
{
  "catalogFiles": 5,
  "catalogStartFile": 0,
  "maxItems": 0
}
```

Any list of the site works: open a category, a store or a search on hktvmall.com, copy the link from the address bar
and paste it in `startUrls`. A product link brings that product. New products alert: schedule the run with
`"onlyNew": true` and only products you have not received before come back.

### Input

| Field | What it does |
|---|---|
| `keywords` | Product words to search, one search per line, in English or Chinese (`air fryer`, `oat milk`, `洗衣液`). |
| `startUrls` | HKTVmall links: category (`.../c/AA11380000000`), store (`.../s/H1077001`), search (`search_a?keyword=...`), zone (`/hktv/en/supermarket`) or product (`.../p/H0888001_S_10133333`). English and Chinese links both work. |
| `productCodes` | Product codes such as `H0888001_S_10133333`, the end of a product link after `/p/`. |
| `catalogFiles` | Walk the whole store: number of catalog files to read in this run (about 2,500 products each, up to 20; 0 = off). |
| `catalogStartFile` | Catalog file to start from, to split the catalog over several runs. |
| `minPrice`, `maxPrice` | Price range in HKD (selling price). |
| `language` | `en` (default) or `zh` (Traditional Chinese) for names, brands, stores, categories and links. |
| `includeDetails` | Open every product page for the detail fields below (default off). |
| `maxItems` | Cap for the whole run (default 50; 0 = no cap), shared evenly between keywords and links; a search with fewer products leaves its share to the next. |
| `onlyNew` | Deliver only products not delivered in earlier runs of the same keyword, link or code list (for schedules). |
| `proxyConfiguration` | Pre-set for HKTVmall and included in the price. |

Inputs written for other tools keep working: `searchQuery`, `query`, `searchTerms`, `keyword`, `categoryUrls`,
`urls`, `productUrls`, `productIds`, `skus`, `maxResults` and `limit`.

### Output

Each product is one row with `type: "product"`:

| Field | What it is |
|---|---|
| `productCode`, `url`, `productSearchCode` | HKTVmall product code, product page and the short code shown on the site |
| `name`, `summary`, `packingSpec` | Product name, short summary and pack size (`2kg`, `250ML x 6 x 2`) |
| `brand`, `brandCode` | Brand name in the chosen language and its code |
| `storeName`, `storeCode`, `storeType`, `storeRating` | Store (merchant company) selling the product, its code, its badge (`HKTV owned store`, `Outstanding Store`) and its rating |
| `price`, `currency` | Selling price in HKD |
| `originalPrice`, `discountAmount`, `discountPercent`, `onSale` | Original price, saving and percent off when the product is discounted |
| `promotionLabels`, `bundleOffer` | Active offer labels and the redemption or bundle offer text |
| `inStock`, `stockStatus` | Stock flag and status (`inStock`, or `stockNotifiable` when sold out with a restock alert) |
| `category`, `categoryPath`, `categoryCodes` | Category name, full path (`Supermarket > Beverages > Milk & Soy Milk`) and the category codes for `startUrls` |
| `rating`, `reviewCount` | Average rating (1 to 5) and number of reviews |
| `salesVolume`, `salesLabel` | Units sold as a number and the label shown on the site (`30,000+ Sold`) |
| `bestSellerRank`, `bestSellerCategory` | Position in the best-seller list of its category, when it has one |
| `countryOfOrigin`, `deliveryLabel` | Country of origin and delivery badge (`8-Hour Delivery`) |
| `numberOfVariants`, `isNewArrival` | Number of variants (size, color) and the new arrival flag |
| `imageUrl`, `images` | Main image and the list shown on the results page |
| `searchQuery` / `inputUrl`, `scrapedAt` | Keyword, link or code that found the product; collection time (UTC) |

With `includeDetails` on, each row also carries `detailsIncluded: true` and:

| Field | What it is |
|---|---|
| `description`, `highlights` | Full product description and highlights as plain text |
| `stockLevel` | Units in stock as shown to buyers |
| `expiryDate` | Best-before date of the batch on sale, when the store publishes it |
| `purchaseLimit` | Purchase limit per customer, when there is one |
| `deliveryNote`, `returnPolicy`, `soldBy` | Delivery promise, the store's delivery and return terms, and who sells it |
| `variants` | Every variant with its code, name, price, options and stock (products with more than one) |
| `imageUrls` | Every product image in large size |

One real row from 8 Nov 2026 (with details; return policy shortened):

```json
{
  "type": "product",
  "productCode": "H0888001_S_10143099A",
  "name": "VitaOat Oat Milk 250ML 6 PACK x 2 (Random delivery of old & new packings) #lowsugar #plantmilk",
  "packingSpec": "250ML x 6 x 2",
  "brand": "Vitasoy",
  "storeName": "VITASOY / VITA",
  "storeCode": "H1077001",
  "storeType": "HKTV owned store",
  "storeRating": 4.5,
  "price": 51.9,
  "originalPrice": 64,
  "discountAmount": 12.1,
  "discountPercent": 18.9,
  "currency": "HKD",
  "onSale": true,
  "promotionLabels": ["Fixed price Discount (normal)"],
  "inStock": true,
  "stockStatus": "inStock",
  "category": "Milk & Soy Milk",
  "categoryPath": ["Supermarket", "Beverages", "Milk & Soy Milk"],
  "rating": 4.5,
  "reviewCount": 262,
  "salesVolume": 33174,
  "salesLabel": "30,000+ Sold",
  "countryOfOrigin": "China",
  "deliveryLabel": "8-Hour Delivery",
  "numberOfVariants": 1,
  "url": "https://www.hktvmall.com/hktv/en/main/VITASOY/s/H1077001/Supermarket/Supermarket/Beverages/Milk-%26-Soy-Milk/VitaOat-Oat-Milk-250ML-6-PACK-x-2-Random-delivery-of-old-new-packings-lowsugar-plantmilk/p/H0888001_S_10143099A",
  "detailsIncluded": true,
  "description": "Introduction\n- Creamy & Tasty\n- Low Sugar\n- Ordinated from 100% Oats* ...",
  "stockLevel": 34,
  "expiryDate": "05/2027 (MM/YYYY) or after",
  "deliveryNote": "Receive tomorrow if the order placed before 10PM",
  "soldBy": "HKTVmall",
  "searchQuery": "oat milk",
  "scrapedAt": "2026-11-08T10:23:45Z"
}
```

### Errors you may see

Every error is a row with `errorCode` and is never charged:

| errorCode | Meaning |
|---|---|
| `INVALID_INPUT` | A field has a wrong value, or a product code is not in the HKTVmall format |
| `INVALID_URL` | A link is not an HKTVmall category, store, search or product page |
| `NOT_FOUND` | The product code does not exist or the product is no longer for sale |
| `NO_RESULTS` | No product matches the keyword or link with your price filters |
| `BLOCKED` | HKTVmall did not answer after several attempts; run it again in a few minutes |
| `UNEXPECTED` | Something else stopped the run; the message says what |

### Integrations, scheduling and AI agents

- **Schedule** a daily run with `onlyNew` (new products) or with `productCodes` (price and stock of a fixed list) in
  [Apify schedules](https://docs.apify.com/platform/schedules).
- **Export** as JSON, CSV, Excel or XML, or read the dataset from the [Apify API](https://docs.apify.com/api/v2).
- **Connect** it to Make, n8n, Zapier, Slack or Google Sheets through
  [Apify integrations](https://docs.apify.com/platform/integrations).
- **AI agents:** call it as a tool through the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp)
  in Claude, ChatGPT, Cursor or any MCP client ("list the best-selling oat milk on HKTVmall under HK$ 60").

### FAQ

**Do I need an HKTVmall account?** No. Everything comes from public pages of the store.

**English or Chinese?** Both. `language` picks the language of names, brands, stores, categories and links; keywords
work in either language.

**How many products can one keyword or category return?** As many as the site lists. Big categories are split
automatically by price band, so a category with tens of thousands of products can be read in one run; use
`maxItems` and `minPrice`/`maxPrice` to control the size.

**How do I get the whole store?** Use `catalogFiles`. The catalog has hundreds of files of about 2,500 products each;
read a few per run and move `catalogStartFile` forward on the next run.

**What is `salesVolume`?** The number of units sold that HKTVmall shows on the product, as a number;
`salesLabel` is the rounded text the site displays.

**What does `onlyNew` remember?** The codes of the products delivered for each keyword, link or code list, in your
account. Products seen before are skipped and not charged.

**Something broke or a field is missing?** Open an issue on the Actor page; answered within a day.

### Limitations

- Description, exact stock level, expiry, variants and large images need `includeDetails`, which opens one page per
  product (charged as a separate event).
- Member-only prices and coupons applied at checkout are not included; `price` is the price every visitor sees.
- Fields that a product does not publish (rating without reviews, best-seller rank, pack size) are left out of
  that row.

### Changelog

- **8 Nov 2026:** first version: keyword, category, store, search and product links, product codes, whole catalog by
  files, price range, English or Chinese, optional full details, `onlyNew` for schedules.

# Actor input Schema

## `keywords` (type: `array`):

Product words to search on HKTVmall, one search per line, in English or Chinese (for example air fryer, oat milk, 洗衣液). maxItems is shared evenly between your keywords and links.

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

Links from hktvmall.com, one per line: a category page (ends in /c/<code>), a store page (ends in /s/<code>), a search page (search_a?keyword=...) or a product page (ends in /p/<code>). English and Chinese links both work.

## `productCodes` (type: `array`):

HKTVmall product codes, one per line, for example H0888001_S_10133333 (the end of a product link, after /p/). Use it to track the price and stock of a fixed list of products.

## `catalogFiles` (type: `integer`):

To walk the whole HKTVmall catalog instead of a search: number of catalog files to read in this run (about 2,500 products each, 0 = off). Use maxItems to cap the run and catalogStartFile to continue in the next run.

## `catalogStartFile` (type: `integer`):

Catalog file to start from (0 = first). Run 1 with 0, run 2 with 5 and so on to split the catalog into several runs.

## `minPrice` (type: `integer`):

Only products at this price or above, in Hong Kong dollars.

## `maxPrice` (type: `integer`):

Only products at this price or below, in Hong Kong dollars.

## `language` (type: `string`):

Language of product names, brands, stores, categories and links.

## `includeDetails` (type: `boolean`):

Also open each product page for the full description, highlights, exact stock level, expiry date, purchase limit, delivery note, return policy, variants and every large image. Charged as an extra event per product.

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

Hard cap for the whole run, shared evenly between keywords and links (a search with fewer products leaves its share to the next). 0 = no cap.

## `onlyNew` (type: `boolean`):

Remembers the products delivered for each keyword, link or code list and returns only products not seen in earlier runs, with isNew set to true. Products already seen are skipped and not charged. Use it with a schedule to catch new listings every day.

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

Used for product details and the whole catalog. Default: Apify residential proxy in Hong Kong. Change only if you know what you need.

## Actor input object example

```json
{
  "keywords": [
    "air fryer"
  ],
  "catalogFiles": 0,
  "catalogStartFile": 0,
  "language": "en",
  "includeDetails": false,
  "maxItems": 50,
  "onlyNew": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "HK"
  }
}
```

# 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 = {
    "keywords": [
        "air fryer"
    ],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "HK"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/hktvmall-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 = {
    "keywords": ["air fryer"],
    "maxItems": 50,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "HK",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/hktvmall-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 '{
  "keywords": [
    "air fryer"
  ],
  "maxItems": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "HK"
  }
}' |
apify call scrapewise/hktvmall-scraper --silent --output-dataset

```

## MCP server setup

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