# Tiki.vn Product Scraper (search, categories, details) (`tamnt67/tiki-scraper`) Actor

Scrape Tiki.vn, Vietnam's largest local marketplace: search results, category listings and full product details with price, discount, rating, reviews, sold count, seller, brand, images and specifications. No login, clean JSON/CSV.

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

## Pricing

from $1.20 / 1,000 product scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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

## Tiki.vn Product Scraper (search, categories, details)

Extract products from **Tiki.vn**, Vietnam's largest home-grown marketplace. Search by keyword, scrape whole categories, or paste product URLs. Every product comes with price, original price, discount, rating, review count, sold count, seller, brand, category and image. Turn on **details** to add the full description, specifications, all images, variants, other sellers, stock and warranty.

Use it for price monitoring, competitor and seller research, finding best sellers in a category, catalog building or market sizing in Vietnam.

### What you get for each product

| Field | Example |
|-------|---------|
| `id` / `sku` | 273217798 / 9177052521242 |
| `name` | Tai Nghe có dây nhét tai M101 Pro 3.5mm |
| `price` / `originalPrice` / `discountRate` / `currency` | 99000 / 99000 / 0 / VND |
| `ratingAverage` / `reviewCount` | 4.8 / 63 |
| `quantitySold` / `quantitySoldText` | 655 / "Đã bán 655" |
| `sellerId` / `sellerName` / `isOfficialStore` / `isAuthentic` | 313025 / TAKA Phụ Kiện Số / false / true |
| `brandId` / `brandName` | 12345 / Hoco |
| `categoryIds` / `categoryName` / `categoryPath` | \[1789, ...] / Tai nghe / ... |
| `origin` / `availability` / `thumbnail` / `url` | Trung Quốc / 1 / image URL / product URL |

With **Fetch full product details** switched on, each record also has: `description` (plain text) and `descriptionHtml`, `specifications` (name to value), `images` (all), `allTimeQuantitySold`, `favouriteCount`, `breadcrumbs`, `inventoryStatus`, `stockQuantity`, `variantOptions` and `variants` (each with its own price and stock), `otherSellers`, `warranty`, `returnPolicy`, `sellerUrl`.

Download as JSON, CSV, Excel or XML, or read through the API.

### How to use

1. Enter **keywords**, **category IDs** (the number after `/c` in a category URL, e.g. 1789 for headphones), or paste **Tiki URLs** (search, category or product pages). Mix freely.
2. Pick a **sort order**: relevance, best sellers, newest, price.
3. Set **max products per keyword / category**. Tiki returns 40 per page and caps search results at 2000.
4. Switch on **Fetch full product details** if you need descriptions, specifications, variants or all images. It doubles the requests, so turn it off for quick price checks.

#### Example input

```json
{
  "keywords": ["tai nghe bluetooth", "ban phim co"],
  "categoryIds": ["1789"],
  "sortBy": "top_seller",
  "maxItemsPerQuery": 200,
  "includeDetails": true
}
```

### Pricing

You pay per product record. Platform usage is included in the price. Set a maximum total charge per run in the run options for a hard cap.

### Tips

- **Best sellers** sort plus a category ID is the fastest way to see what sells in a niche on Tiki.
- Feed product URLs from a previous run with details on to track a fixed list of products daily.
- Combine with the Lazada Search Scraper by the same author to compare prices across Vietnam's two big marketplaces.
- Keep the default **residential proxy in Vietnam**. Tiki answers foreign and datacenter IPs with HTTP 403. Proxy traffic is included in the per-product price.

### Limitations

- Customer review texts are not included, only rating average and review count.
- Tiki can change its site at any time. If the Actor stops returning data, report an issue and it will be fixed quickly.

### Integrations

Works with every Apify integration: API, webhooks, Zapier, Make, Google Sheets, Slack, n8n, LangChain and the Apify MCP server.

# Actor input Schema

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

Search terms, e.g. "tai nghe bluetooth". Each keyword is searched separately.

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

Optional. Paste Tiki URLs: a search page (https://tiki.vn/search?q=laptop), a category page (https://tiki.vn/tai-nghe/c1789) or a product page (…-p273217798.html).

## `categoryIds` (type: `array`):

Tiki category IDs, the number after /c in a category URL (e.g. 1789 for headphones).

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

Same options as the Tiki website.

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

Tiki returns 40 products per page and caps search results at 2000.

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

Also open each product's detail API to add description, specifications, all images, seller details, variants, warranty and all-time sold count. Doubles the number of requests.

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

Keep the default: Apify residential proxy located in Vietnam. Tiki answers foreign and datacenter IPs with HTTP 403.

## Actor input object example

```json
{
  "keywords": [
    "tai nghe bluetooth"
  ],
  "startUrls": [],
  "categoryIds": [],
  "sortBy": "default",
  "maxItemsPerQuery": 120,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "VN"
  }
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset with one record per product: name, price, discount, rating, reviews, sold count, seller, brand, category, images, and (optionally) description, specifications and variants.

## `productsCsv` (type: `string`):

The same dataset exported as CSV.

# 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": [
        "tai nghe bluetooth"
    ],
    "maxItemsPerQuery": 120,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "VN"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tamnt67/tiki-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": ["tai nghe bluetooth"],
    "maxItemsPerQuery": 120,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "VN",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("tamnt67/tiki-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": [
    "tai nghe bluetooth"
  ],
  "maxItemsPerQuery": 120,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "VN"
  }
}' |
apify call tamnt67/tiki-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tamnt67/tiki-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/401LdAVK66zxNcgcW/builds/LiQwHniNLko9WWKTK/openapi.json
