# Thitruongsi Scraper & API - Vietnam Wholesale, MOQ, Suppliers (`rel8ble/thitruongsi-scraper`) Actor

Thitruongsi scraper and API for Vietnamese wholesale products and suppliers (Thị Trường Sỉ, hàng sỉ) by keyword or URL. One row per product: VND price tiers, MOQ, stock, variants, specs, shop, province, phone, verified badge. Price monitoring, no login. $1.20 per 1,000. Only Thitruongsi actor.

- **URL**: https://apify.com/rel8ble/thitruongsi-scraper.md
- **Developed by:** [Giovanni Rich](https://apify.com/rel8ble) (community)
- **Categories:** Lead generation, E-commerce, Business
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$1.20 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## Thitruongsi Scraper & API - Vietnam Wholesale, MOQ, Suppliers

**Thitruongsi scraper** (Thị Trường Sỉ crawler) for importers, sourcing agents, Shopee / TikTok Shop / Lazada sellers and B2B lead-gen teams: enter a product keyword such as `áo thun` (t-shirt), `túi xách` (handbag) or `cà phê` (coffee) and get wholesale products from **Thitruongsi.com**, a Vietnamese B2B wholesale marketplace, as clean JSON, CSV or Excel. Each row is one product with its **VND wholesale price tiers, MOQ, unit, stock, variants and specs**, plus the supplier behind it: **shop name, province, district, business phone, verified / VIP / Mall badges, followers, response rate and catalog size**. Use it as a **Vietnam supplier finder**, a **Vietnamese wholesale (hàng sỉ) research tool**, or an unofficial **Thitruongsi API** from your own code, Make, Zapier or n8n.

It works over plain HTTP, with **no browser and no login**. 20 products with full product pages took 6 seconds in a local test and 20 seconds in the cloud demo (31 Oct 2026, 512 MB).

### What you get

- **Product**: Thitruongsi product number, name, URL, main image and gallery, category (`Thời Trang Nam > Áo Thun Nam`), specifications, description, listing date, buyer inquiry count, ratings, deal / discount, trade-assurance and classified flags.
- **Price and MOQ**: `price` at the minimum quantity, `priceMin` / `priceMax` in VND, every **quantity price tier** (`[{minQuantity, maxQuantity, priceVnd}]`), **minimum order quantity**, unit (`Cái`, `Bộ`, `Kg` ...), stock, hidden-price flag.
- **Variants**: option groups (size, colour ...) and up to 100 variants with their own stock and price.
- **Supplier card** (from the product page, no extra request): shop name, ID and URL, **province / city and district**, **business phone**, verified, VIP, Mall and business-account badges, followers, chat response rate, products listed, inquiries received, joined date and last active time. Owner names are not collected.

### Sample output

Real rows from a local test run on 31 Oct 2026 with the default input (`áo thun`, t-shirts, 20 results):

| Product | Price (VND) | Best tier (VND) | MOQ | Unit | Stock | Supplier | Province | Verified | Followers |
|---|---|---|---|---|---|---|---|---|---|
| ÁO THUN TRUNG NIÊN CỔ TRỤ | 41,000 | 41,000 | 30 | Cái | 2,000 | Xưởng Thời Trang Nam Lệ Diễm | TP Hồ Chí Minh | yes | 759 |
| Áo thun ba lỗ nam, áo sát nách | 21,000 | 21,000 | 50 | Cái | 1,000 | Xưởng May Vĩnh Hưng | TP Hồ Chí Minh | yes | 349 |
| ÁO THUN TRƠN, POLO TRƠN T18 | 80,000 | 70,000 | 5 | Cái | 400 | Xưởng Sỉ HoKo | TP Hồ Chí Minh | yes | 385 |
| POLO NAM, ÁO THUN POLO, ÁO THUN NAM, POLO PHỐI MÀU P22 | 85,000 | 75,000 | 5 | Cái | 400 | Xưởng Sỉ HoKo | TP Hồ Chí Minh | yes | 385 |

Fill rates on those 20 rows: price, price tiers, MOQ, unit, stock, variants, category, description, shop name, province, district, phone, badges, followers and response rate 100%; 11 of 20 have several quantity tiers; specifications 15% (most suppliers skip them).

### Why this one

- **No other Thitruongsi scraper on the Apify Store that we found** (searches "thitruongsi", "thi truong si", "vietnam wholesale", "vietnam suppliers" and "vietnam b2b", live Apify Store search on 18 November 2026). The nearest Vietnam company actors read registries or business directories (foxlabs $4.00, haketa $2.75, nickslam VietnamYello $0.50-$2.00 + start, solidcode VietnamYello $0.48 + start fee per 1,000), not wholesale products with prices. Re-checked 22 Nov 2026: "thitruongsi" returns 1 of 1 rows, ours.
- **$1.20 per 1,000 products with the product page included**: price tiers, variants, specs and the full shop card with phone at no extra charge, no start fee.
- **Plain HTTP, no login**: the 20-row default run took 20 s in the cloud demo (6 s locally).

### Use cases

- **Vietnam sourcing**: compare wholesale prices, quantity breaks and MOQs for a product across Vietnamese workshops (xưởng) and wholesalers.
- **Reseller research**: find products with a low MOQ and real stock to resell on Shopee, TikTok Shop or Lazada.
- **Price monitoring**: re-run on a schedule and join on `productId` to track price and stock.
- **B2B lead generation**: one row per supplier (`uniqueSuppliers`) gives a lead list of Vietnamese suppliers with province, phone and badges; filter by `province` or `verifiedOnly`.
- **Supplier catalog export**: paste a shop URL to export one supplier's whole catalog.
- **AI agents**: an agent can call this actor with a keyword and read back structured Vietnamese wholesale data (see the MCP note below).

### Pricing

**$1.20 per 1,000 results** (pay per result), with **product pages included**: variants, specs and the full shop card cost nothing extra. Apify platform usage and proxies are included in that price. Filtered rows, duplicates, removed products and failed requests are never charged, and there is no start fee.

| Run | Results | Cost |
|---|---|---|
| Default input (`áo thun`, 20 rows) | 20 | $0.024 |
| One keyword, 100 products | 100 | $0.12 |
| Supplier lead list, 3 keywords x 50, one row per supplier | up to 150 | up to $0.18 |
| Card-only export of a category | 5,000 | $6.00 |

Apify's free plan ($5 of monthly credit) covers about 4,100 results.

### FAQ

**Do I need Vietnamese keywords?**
Vietnamese keywords match best (`áo thun` returns over 1,300 products). Accents help but are not required for the province filter. The output keeps Vietnamese text as-is.

**Why are price fields empty on some rows?**
Some suppliers hide prices and quote on request. Those rows have `hidePrices: true`. Use `onlyWithPrice` to skip them.

**Where does the phone number come from?**
It is the business phone the supplier publishes on its shop card. Owner names are not collected.

**How many products does one keyword give?**
As many as the Thitruongsi search shows, 48 per page. Categories hold thousands. Use `maxResultsPerSearch: 0` for everything.

**Is there an official Thitruongsi API?**
We found no public Thitruongsi API for searching products or suppliers. This actor reads the same public search, shop and product pages the website shows and returns them as JSON.

**How much does a typical job cost?**
A 100-product price check is $0.12. A weekly check of 5 keywords at 100 products each is about $2.60 a month. A 150-supplier lead list is up to $0.18.

**For AI agents (MCP):** input is a list of Vietnamese keywords or Thitruongsi URLs plus optional filters; output is one JSON row per product with VND price tiers, MOQ and the supplier's shop card; typical cost is $0.024 for 20 rows; use it when you need Vietnamese wholesale prices or suppliers for a product.

### Example inputs for common jobs

Products with price tiers and supplier card (default):

```json
{ "searchTerms": ["áo thun"], "maxResultsPerSearch": 20 }
```

Hanoi suppliers only, verified shops, MOQ up to 10, under 50,000 VND:

```json
{ "searchTerms": ["túi xách", "mỹ phẩm"], "maxResultsPerSearch": 100, "province": "Hà Nội", "verifiedOnly": true, "maxMoq": 10, "maxPrice": 50000 }
```

A Vietnamese supplier lead list, one row per supplier:

```json
{ "searchTerms": ["cà phê", "hạt điều", "bánh tráng"], "maxResultsPerSearch": 50, "uniqueSuppliers": true }
```

A search or category URL, one supplier's catalog, or single products:

```json
{
  "searchTerms": [
    "https://thitruongsi.com/category/parent/94-thoi-trang-nu.html",
    "https://thitruongsi.com/shop/xuong-si-hoko",
    "https://thitruongsi.com/ao-thun-tron-polo-tron-t18-2168205.html"
  ],
  "maxResultsPerSearch": 0
}
```

Fastest card-only export (name, price tiers, MOQ, unit, stock, category, shop, province; no product pages, 48 products per request):

```json
{ "searchTerms": ["áo thun"], "maxResultsPerSearch": 500, "scrapeDetails": false }
```

### How to use

1. Open the actor and type one or more product keywords (Vietnamese works best, accents optional) or paste Thitruongsi URLs into **Products**.
2. Set **Max results per search** (default 20; 0 = everything the search returns).
3. Optionally set filters (province, verified shops, price range, MOQ, hidden prices, one row per supplier).
4. Click **Start**. Download the dataset as JSON, CSV, Excel or HTML, or read it through the API.

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchTerms` | array | `["áo thun"]` | Keywords, search URLs, category URLs, shop URLs (`https://thitruongsi.com/shop/<slug>`) or product URLs. |
| `maxResultsPerSearch` | integer | 20 | Rows per keyword / URL. 0 = everything (48 per page). |
| `scrapeDetails` | boolean | true | Read product pages (variants, specs, description, full shop card with phone). |
| `uniqueSuppliers` | boolean | false | Keep only the first product per supplier (not applied to a shop URL). |
| `province` | string | - | Only suppliers in this province / city, accents optional (`ha noi`, `Hồ Chí Minh`). |
| `minPrice` / `maxPrice` | integer | - | Unit price range in VND. |
| `maxMoq` | integer | - | Skip products whose MOQ is above this. |
| `onlyWithPrice` | boolean | false | Skip products whose supplier hides the price. |
| `verifiedOnly` | boolean | false | Only verified supplier shops (reads product pages). |
| `maxConcurrency` | integer | 6 | Parallel requests. |
| `maxRequestRetries` | integer | 8 | Retries per failed request, each on a new proxy session. |
| `proxyConfiguration` | object | Apify Proxy | Datacenter proxy works; switch to RESIDENTIAL only if the log shows repeated blocks. |

Inputs that are not Thitruongsi keywords or URLs are skipped and listed in the `RUN_SUMMARY` record; they are never charged. A removed product is reported in the log and not charged. A shop outside your `province` filter is skipped after one page.

### Output example

One real row (description and lists shortened):

```json
{
  "searchTerm": "áo thun",
  "position": 3,
  "productId": 2168205,
  "productName": "ÁO THUN TRƠN, POLO TRƠN T18",
  "productUrl": "https://thitruongsi.com/ao-thun-tron-polo-tron-t18-2168205.html",
  "currency": "VND",
  "price": 80000,
  "priceMin": 70000,
  "priceMax": 90000,
  "priceTiers": [
    { "minQuantity": 5, "maxQuantity": 49, "priceVnd": 80000 },
    { "minQuantity": 50, "maxQuantity": 99, "priceVnd": 75000 },
    { "minQuantity": 100, "maxQuantity": null, "priceVnd": 70000 }
  ],
  "hidePrices": false,
  "moq": 5,
  "unit": "Cái",
  "available": 400,
  "options": [{ "name": "Kích cỡ", "values": ["M", "L", "XL", "XXL"] }],
  "variantCount": 4,
  "variants": [{ "title": "L", "stock": 100, "priceVnd": 80000 }, { "title": "M", "stock": 100, "priceVnd": 90000 }],
  "category": "Thời Trang Nam > Áo Thun Nam",
  "leads": 7,
  "description": "Áo POLO, một trong những dòng hàng được các nhà bán ưa chuộng, mẫu mã đa dạng ...",
  "shopName": "Xưởng Sỉ HoKo",
  "shopUrl": "https://thitruongsi.com/shop/xuong-si-hoko",
  "shopProvince": "TP Hồ Chí Minh",
  "shopDistrict": "Q. Tân Bình",
  "shopPhone": "0979772955",
  "shopVerified": true,
  "shopVip": true,
  "shopMall": true,
  "shopFollowers": 385,
  "shopResponseRate": 100,
  "shopTotalProducts": 119,
  "shopCreatedAt": "2023-03-21T05:56:48.000Z",
  "detailScraped": true,
  "scrapedAt": "2026-10-31T17:57:40.495Z"
}
```

The dataset has three table views in the Apify console: **Overview** (product, price, MOQ, supplier), **Supplier leads** (shop card) and **Pricing & MOQ** (numbers for comparison). A `RUN_SUMMARY` record lists per-keyword counts, pages read, ignored inputs and stop reasons.

### Integrations

Run it on an Apify schedule, through the Apify REST API, the JavaScript / Python clients, Make, Zapier, n8n, Google Sheets, or from AI agents via the Apify MCP server. Join runs on `productId` to track prices, or on `shopId` to build a supplier CRM.

This actor is not affiliated with Thitruongsi. It reads public pages that Thitruongsi's robots.txt allows.

Need a custom scraper or a ready dataset? Hire me on Fiverr: https://www.fiverr.com/rel8ble

# Actor input Schema

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

Provide at least one. Vietnamese product keywords match best, e.g. "áo thun" (t-shirt), "cà phê" (coffee), "túi xách" (handbag), "mỹ phẩm" (cosmetics). Or thitruongsi.com URLs: a search (https://thitruongsi.com/product/search?keyword=...), a category (https://thitruongsi.com/category/parent/94-thoi-trang-nu.html), a supplier shop (https://thitruongsi.com/shop/<slug>) to export its catalog, or one product (https://thitruongsi.com/<name>-<id>.html). Default \["áo thun"] (demo).

## `maxResultsPerSearch` (type: `integer`):

Optional. Products saved per keyword / URL, integer >= 0. Default 20; 0 = everything the search returns (48 per page). You pay per row.

## `scrapeDetails` (type: `boolean`):

Default true. Reads each product page and adds variants with stock, options, specifications, description, gallery, ratings, trade assurance and the full supplier card (shop URL, district, phone, verified, followers, response rate, total products, joined date). Off = fastest card-only export (name, price tiers, MOQ, unit, stock, category, shop name, province).

## `uniqueSuppliers` (type: `boolean`):

Optional. true = keep only the first product of each supplier shop (a supplier lead list). Default false = one row per product.

## `province` (type: `string`):

Optional. Keep only suppliers in this province or city, accents optional, e.g. "Hồ Chí Minh", "ha noi", "Đà Nẵng".

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

Optional. Skip products whose highest unit price is below this many dong.

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

Optional. Skip products whose lowest unit price is above this many dong, e.g. 50000.

## `maxMoq` (type: `integer`):

Optional. Skip products whose minimum order quantity is above this number.

## `onlyWithPrice` (type: `boolean`):

Optional. Skip products whose supplier hides the price. Default false.

## `verifiedOnly` (type: `boolean`):

Optional. Keep only verified supplier shops (reads the product page). Default false.

## `maxConcurrency` (type: `integer`):

Optional, advanced. Parallel requests, 1-20. Default 6.

## `maxRequestRetries` (type: `integer`):

Optional, advanced. Retries per failed request (each on a new proxy session), 0-20. Default 8.

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

Optional, advanced. Default Apify Proxy (datacenter), which works for Thitruongsi. Switch to {"useApifyProxy": true, "apifyProxyGroups": \["RESIDENTIAL"]} only if the log shows repeated blocks.

## Actor input object example

```json
{
  "searchTerms": [
    "áo thun"
  ],
  "maxResultsPerSearch": 20,
  "scrapeDetails": true,
  "uniqueSuppliers": false,
  "onlyWithPrice": false,
  "verifiedOnly": false,
  "maxConcurrency": 6,
  "maxRequestRetries": 8,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

One row per product: VND wholesale price tiers, MOQ, stock, variants and the supplier shop card.

## `summary` (type: `string`):

Per-search counts, pages read, ignored inputs and stop reasons.

# 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 = {
    "searchTerms": [
        "áo thun"
    ],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("rel8ble/thitruongsi-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 = {
    "searchTerms": ["áo thun"],
    "maxResultsPerSearch": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("rel8ble/thitruongsi-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 '{
  "searchTerms": [
    "áo thun"
  ],
  "maxResultsPerSearch": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call rel8ble/thitruongsi-scraper --silent --output-dataset

```

## MCP server setup

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