# Hktdc Hong Kong Sourcing Scraper (`agenscrape/hktdc-hong-kong-sourcing-scraper`) Actor

Scrape products and suppliers from HKTDC Sourcing - Hong Kong's B2B trade platform. Extract product details, pricing, MOQ, images, and verified supplier info. Search by keyword or category. Export to JSON/CSV/Excel.

- **URL**: https://apify.com/agenscrape/hktdc-hong-kong-sourcing-scraper.md
- **Developed by:** [Agenscrape](https://apify.com/agenscrape) (community)
- **Categories:** E-commerce, Automation, Developer tools
- **Security:** Limited permissions
- **Stats:** 12 total users, 1 monthly users, 100.0% runs succeeded, 2 bookmarks
- **User rating**: No ratings yet

## Pricing

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

## HKTDC Sourcing Product Scraper

Scrape products and supplier data from HKTDC Sourcing - Hong Kong's premier B2B trade platform connecting global buyers with verified Asian manufacturers and suppliers.

### Features

- **Keyword Search** - Find products by any search term
- **Category Browsing** - Scrape entire product categories via URL
- **Verified Suppliers** - Get supplier details with verification status (Gold, Silver, etc.)
- **Complete Product Data** - Pricing, MOQ, images, descriptions, and more
- **Multiple Sort Options** - Best Match, Newest, Price Low/High
- **Flexible Export** - JSON, CSV, Excel, XML formats

### Input Options

#### Search Type

| Option | Description |
|--------|-------------|
| **Keyword** | Search products by any term (e.g., "phone case", "LED lights", "furniture") |
| **Category URL** | Paste any HKTDC category page URL to scrape that category |

#### Example Category URL

```
https://sourcing.hktdc.com/en/Product-Catalog/Mobile-Phones-Tablets-Digital-Accessories-dab8b743e39e11ea883f06c82c63b760/1
```

#### Sort Options

- Best Match (default)
- Newest First
- Price: Low to High
- Price: High to Low

#### Max Results

Set the maximum number of products to scrape. Pagination is handled automatically.

### Output Data

Each product includes the following fields:

| Field | Type | Description |
|-------|------|-------------|
| productId | String | Unique product identifier |
| productUrn | String | Product URN code |
| productName | String | Full product title |
| productDescription | String | Detailed product description |
| price | Number | Minimum price |
| priceMax | Number | Maximum price |
| currency | String | Price currency (USD, etc.) |
| unit | String | Pricing unit (piece, set, etc.) |
| minOrder | String | Minimum order quantity |
| productUrl | String | Direct link to product page |
| imageUrl | String | Main product image |
| images | Array | All product images |
| supplierId | String | Supplier unique ID |
| supplierName | String | Company name |
| supplierUrn | String | Supplier URN code |
| supplierCountry | String | Supplier location/region |
| supplierVerifiedLevel | String | Verification status (gold, silver, etc.) |
| supplierUrl | String | Direct link to supplier profile |
| tags | Array | Product categories and tags |
| scrapedAt | String | Timestamp of data extraction |

### Sample Output

```json
{
  "productId": "8fb1426ee39d11ea883f06c82c63b760",
  "productUrn": "1X1GH1GH",
  "productName": "PC Phone Case with PU Leather Cover",
  "productDescription": "Practical protect with fancy PU leather cover. Various solid colors. Different brand and model phone cases are available.",
  "price": 2.1,
  "priceMax": 2.1,
  "currency": "USD",
  "unit": "piece(s)",
  "minOrder": null,
  "productUrl": "https://sourcing.hktdc.com/en/s/1X1GH1GH",
  "imageUrl": "https://sourcing-media.hktdc.com/product/PC-Phone-Case-with-PU-Leather-Cover/a145c13be39d11ea883f06c82c63b760",
  "images": [
    "https://sourcing-media.hktdc.com/product/PC-Phone-Case-with-PU-Leather-Cover/a145c13be39d11ea883f06c82c63b760",
    "https://sourcing-media.hktdc.com/product/PC-Phone-Case-with-PU-Leather-Cover/a145c189e39d11ea883f06c82c63b760"
  ],
  "supplierId": "9ce9f316e39c11ea883f06c82c63b760",
  "supplierName": "Leconcepts Holdings Co Ltd",
  "supplierUrn": "1X03UXEV",
  "supplierCountry": "Hong Kong",
  "supplierVerifiedLevel": "gold",
  "supplierUrl": "https://sourcing.hktdc.com/en/c/1X03UXEV",
  "tags": ["Phone Case", "Mobile Accessories", "Gift", "Promotional Gift"],
  "scrapedAt": "2025-12-18T00:02:23.183Z"
}
```

### Use Cases

- **Supplier Discovery** - Find verified manufacturers for your products
- **Market Research** - Analyze product trends and pricing across Asian markets
- **Competitive Analysis** - Monitor competitor products and pricing strategies
- **Lead Generation** - Build supplier contact lists for B2B sourcing
- **Price Monitoring** - Track product pricing changes over time
- **Product Sourcing** - Discover new products from Hong Kong and China suppliers

### Product Categories Available

HKTDC Sourcing covers thousands of products across major categories:

- Electronics & Digital Accessories
- Fashion, Eyewear & Accessories
- Gifts, Toys & Sports Supplies
- Home Products, Lights & Constructions
- Health, Beauty & Baby Care
- Jewellery & Watches
- Food & Beverage
- Industrial Machinery & Parts
- Printing, Packaging & Stationery
- Automobile & Transport

### About HKTDC Sourcing

HKTDC Sourcing is operated by the Hong Kong Trade Development Council, providing access to thousands of verified suppliers across Hong Kong and mainland China. The platform connects international buyers with quality manufacturers across electronics, fashion, gifts, toys, home products, and more.

# Actor input Schema

## `searchType` (type: `string`):

Choose how to search for products

## `keyword` (type: `string`):

Enter keyword to search for products (e.g., 'phone case', 'electronics', 'furniture')

## `categoryUrl` (type: `string`):

Paste HKTDC Sourcing category URL (e.g., https://sourcing.hktdc.com/en/Product-Catalog/Mobile-Phones-Tablets-Digital-Accessories-dab8b743e39e11ea883f06c82c63b760/1)

## `sortType` (type: `string`):

How to sort the results

## `maxResults` (type: `integer`):

Maximum number of products to scrape

## Actor input object example

```json
{
  "searchType": "keyword",
  "keyword": "phone",
  "categoryUrl": "",
  "sortType": "BEST_MATCH",
  "maxResults": 20
}
```

# 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 = {
    "searchType": "keyword",
    "keyword": "phone",
    "categoryUrl": "",
    "sortType": "BEST_MATCH",
    "maxResults": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("agenscrape/hktdc-hong-kong-sourcing-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 = {
    "searchType": "keyword",
    "keyword": "phone",
    "categoryUrl": "",
    "sortType": "BEST_MATCH",
    "maxResults": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("agenscrape/hktdc-hong-kong-sourcing-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 '{
  "searchType": "keyword",
  "keyword": "phone",
  "categoryUrl": "",
  "sortType": "BEST_MATCH",
  "maxResults": 20
}' |
apify call agenscrape/hktdc-hong-kong-sourcing-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,agenscrape/hktdc-hong-kong-sourcing-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/iPqCLWOkrFzwhg06J/builds/T6IAv4Lx8A3H3HJgY/openapi.json
