# HKTDC Supplier Scraper (`encouraged_invitation/hktdc-supplier-scraper`) Actor

Scrape supplier listings from HKTDC Sourcing by keyword. Returns company name, location, business type, products with images, and profile URLs. Requires a residential HK proxy.

- **URL**: https://apify.com/encouraged\_invitation/hktdc-supplier-scraper.md
- **Developed by:** [Georges Borsh](https://apify.com/encouraged_invitation) (community)
- **Categories:** E-commerce, Developer tools, Lead generation
- **Stats:** 3 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## HKTDC Supplier Scraper

Scrape supplier / manufacturer listings from **HKTDC Sourcing**
([sourcing.hktdc.com](https://sourcing.hktdc.com)) by keyword.

HKTDC's supplier search is a React single-page app — the company cards are
rendered client-side after the page's bootstrap API calls resolve, so a plain
HTTP request returns an empty shell. This actor drives a real Chromium browser
(via Playwright), waits for the cards to render, and parses them into clean,
structured records.

### Input

| Field | Type | Description |
| --- | --- | --- |
| `searchTerms` | array of strings | **Required.** Keywords to search (e.g. `"led lighting"`). Each term is searched independently. |
| `maxItemsPerTerm` | integer | Max unique suppliers to collect per term. Default `50`. |
| `proxyConfiguration` | object | Proxy settings. Residential HK proxy is required — see note below. |
| `maxConcurrency` | integer | How many search terms to process in parallel. Default `2`. |

#### Example input

```json
{
    "searchTerms": ["led lighting"],
    "maxItemsPerTerm": 5,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "HK"
    }
}
````

### Output

One dataset item per supplier. Example records from a real "led lighting" search:

```json
[{
  "supplier_name": "Elumen LED Lighting Solutions Company Limited",
  "platform": "HKTDC",
  "detail_url": "https://sourcing.hktdc.com/en/Supplier-Store/Home/Elumen-LED-Lighting-Solutions-Company-Limited/1X06TW48?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N",
  "location": "Hong Kong",
  "business_type": "Manufacturer",
  "main_category": "Main Category :  Environmental Protection, Lights, Parts, Electrical Electronic Supplies",
  "products": [
    {
      "name": "Nichia 3030 90Ra LED IC Flexible Strip",
      "image": "https://sourcing-media.hktdc.com/product/Nichia-3030-90Ra-LED-IC-Flexible-Strip/6ad820efa61f4c1e83d8ec96aebef3eb.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Nichia-3030-90Ra-LED-IC-Flexible-Strip-1Z03MTXY9?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "Nichia 3030 90Ra LED Flexible Strip (IP65 Waterproof)",
      "image": "https://sourcing-media.hktdc.com/product/Nichia-3030-90Ra-LED-Flexible-Strip-IP65-Waterproof-/162c3086d7aa45ed968cf343528d4b0c.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Nichia-3030-90Ra-LED-Flexible-Strip-IP65-Waterproof--1Z03MTH2D?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "Industrial IK10 & IP67 AC Long Run LED Flexible Strip (Single Side)",
      "image": "https://sourcing-media.hktdc.com/product/Industrial-IK10-IP67-AC-Long-Run-LED-Flexible-Strip-Single-Side-/0dcbded27dc54a03b1cdbbb0f3ad47ca.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Industrial-IK10-IP67-AC-Long-Run-LED-Flexible-Strip-Single-Side--1Z03MZIOI?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    }
  ],
  "product_images": [
    "https://sourcing-media.hktdc.com/product/Nichia-3030-90Ra-LED-IC-Flexible-Strip/6ad820efa61f4c1e83d8ec96aebef3eb.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/Nichia-3030-90Ra-LED-Flexible-Strip-IP65-Waterproof-/162c3086d7aa45ed968cf343528d4b0c.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/Industrial-IK10-IP67-AC-Long-Run-LED-Flexible-Strip-Single-Side-/0dcbded27dc54a03b1cdbbb0f3ad47ca.webp?width=300&height=300&mode=cover"
  ],
  "search_term": "led lighting"
},
{
  "supplier_name": "Citylux (China) Led Lighting Limited",
  "platform": "HKTDC",
  "detail_url": "https://sourcing.hktdc.com/en/Supplier-Store/Home/Citylux-China-Led-Lighting-Limited/1X08711W?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N",
  "location": "Guangdong, Chinese Mainland",
  "business_type": "Manufacturer",
  "main_category": "Main Category :  Environmental Protection, Lights",
  "products": [
    {
      "name": "Custom Led Neon Sign",
      "image": "https://sourcing-media.hktdc.com/product/Custom-Led-Neon-Sign/a263388ea42544b2bdfc1c3e114703b6.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Custom-Led-Neon-Sign-1Z03OMTSV?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "Custom Led Light Sheet Panel",
      "image": "https://sourcing-media.hktdc.com/product/Custom-Led-Light-Sheet-Panel/2b8f0b9268844e1c8c716165e2d95c90.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Custom-Led-Light-Sheet-Panel-1Z03OMTO7?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "Desktop A4 Led Light Box",
      "image": "https://sourcing-media.hktdc.com/product/Desktop-A4-Led-Light-Box/806d5cf094a342409827b51f200d9f1e.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/Desktop-A4-Led-Light-Box-1Z03OMSO8?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    }
  ],
  "product_images": [
    "https://sourcing-media.hktdc.com/product/Custom-Led-Neon-Sign/a263388ea42544b2bdfc1c3e114703b6.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/Custom-Led-Light-Sheet-Panel/2b8f0b9268844e1c8c716165e2d95c90.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/Desktop-A4-Led-Light-Box/806d5cf094a342409827b51f200d9f1e.webp?width=300&height=300&mode=cover"
  ],
  "search_term": "led lighting"
},
{
  "supplier_name": "ZhongShan Caij Lighting Technology Co., Ltd",
  "platform": "HKTDC",
  "detail_url": "https://sourcing.hktdc.com/en/Supplier-Store/Home/ZhongShan-Caij-Lighting-Technology-Co-Ltd/1S00OKYDZ?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N",
  "location": "Guangdong, Chinese Mainland",
  "business_type": "Manufacturer, Exporter",
  "main_category": "Main Category :  Engineering & Construction Machinery, Homeware & Lifestyle Essentials, Lights",
  "products": [
    {
      "name": "RGBW-CA21D12.12-DMX512 led strip light-SMD5050-84PCS",
      "image": "https://sourcing-media.hktdc.com/product/RGBW-CA21D12-12-DMX512-led-strip-light-SMD5050-84PCS/ea0f003cf1c34225b8f2dcece78f5a99.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/RGBW-CA21D12-12-DMX512-led-strip-light-SMD5050-84PCS-1Z03OIPJQ?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "34款14洗墙灯",
      "image": "https://sourcing-media.hktdc.com/product/34%E6%AC%BE14%E6%B4%97%E5%A2%99%E7%81%AF/db319988a9414fa78e767203e4a56da9.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/34款14洗墙灯-1Z03O5KDD?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "RGBW-CA21D12.14- led strip light-SMD5050 96-PCS",
      "image": "https://sourcing-media.hktdc.com/product/RGBW-CA21D12-14-led-strip-light-SMD5050-96-PCS-/4db303715b584500875aa88912b99cc6.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/RGBW-CA21D12-14-led-strip-light-SMD5050-96-PCS--1Z03LVT4V?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    }
  ],
  "product_images": [
    "https://sourcing-media.hktdc.com/product/RGBW-CA21D12-12-DMX512-led-strip-light-SMD5050-84PCS/ea0f003cf1c34225b8f2dcece78f5a99.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/34%E6%AC%BE14%E6%B4%97%E5%A2%99%E7%81%AF/db319988a9414fa78e767203e4a56da9.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/RGBW-CA21D12-14-led-strip-light-SMD5050-96-PCS-/4db303715b584500875aa88912b99cc6.webp?width=300&height=300&mode=cover"
  ],
  "search_term": "led lighting"
},
{
  "supplier_name": "Better LED Lighting Co.,LTD",
  "platform": "HKTDC",
  "detail_url": "https://sourcing.hktdc.com/en/Supplier-Store/Home/Better-LED-Lighting-Co-LTD/1X05WRYT?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N",
  "location": "Hong Kong",
  "business_type": "Manufacturer",
  "main_category": "Main Category :  Environmental Protection, Festive Supplies, Gifts, Toys & Sports Supplies, Lights",
  "products": [
    {
      "name": "E27 String Light",
      "image": "https://sourcing-media.hktdc.com/product/E27-String-Light/b6b634a1e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/E27-String-Light-1X242YOI?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "LED Holiday String Light",
      "image": "https://sourcing-media.hktdc.com/product/LED-Holiday-String-Light/b6b63440e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/LED-Holiday-String-Light-1X242YNJ?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "LED String Light IP65",
      "image": "https://sourcing-media.hktdc.com/product/LED-String-Light-IP65/b6b633e8e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/LED-String-Light-IP65-1X242YMK?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    }
  ],
  "product_images": [
    "https://sourcing-media.hktdc.com/product/E27-String-Light/b6b634a1e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/LED-Holiday-String-Light/b6b63440e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/LED-String-Light-IP65/b6b633e8e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover"
  ],
  "search_term": "led lighting"
},
{
  "supplier_name": "Asia Unique LED Lighting Co Ltd",
  "platform": "HKTDC",
  "detail_url": "https://sourcing.hktdc.com/en/Supplier-Store/Home/Asia-Unique-LED-Lighting-Co-Ltd/1X074V1E?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N",
  "location": "Guangdong, Chinese Mainland",
  "business_type": "Manufacturer",
  "main_category": "Main Category :  Environmental Protection, Lights",
  "products": [
    {
      "name": "LED UFO highbay light",
      "image": "https://sourcing-media.hktdc.com/product/LED-UFO-highbay-light/b6c73dd1e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/LED-UFO-highbay-light-1X249TWP?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "IP69K Tri-Proof Light",
      "image": "https://sourcing-media.hktdc.com/product/IP69K-Tri-Proof-Light/b6c73d6de39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/IP69K-Tri-Proof-Light-1X249TVQ?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    },
    {
      "name": "LED Downlight",
      "image": "https://sourcing-media.hktdc.com/product/LED-Downlight/a4b191a4e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
      "url": "https://sourcing.hktdc.com/en/Product-Detail/LED-Downlight-1X1JT8WG?ref_source=SearchKeyword&ref_term=led%20lighting&ref_medium=N"
    }
  ],
  "product_images": [
    "https://sourcing-media.hktdc.com/product/LED-UFO-highbay-light/b6c73dd1e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/IP69K-Tri-Proof-Light/b6c73d6de39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover",
    "https://sourcing-media.hktdc.com/product/LED-Downlight/a4b191a4e39d11ea883f06c82c63b760.webp?width=300&height=300&mode=cover"
  ],
  "search_term": "led lighting"
}]
```

`website` is only present when the supplier card exposes an external (non-HKTDC) link — not all suppliers list one.

### Proxy requirement

> **A residential proxy in Hong Kong is required.** HKTDC blocks datacenter
> and cloud IPs (AWS, GCP, Azure, and Apify's shared datacenter pool) with a
> bare `403 Forbidden` before the page even loads. Without a residential HK
> proxy every page returns 403 and the actor produces no results.

Use the default `proxyConfiguration` in the input (Apify Residential proxy,
country `HK`). Residential proxy is a **paid Apify feature** — it is not
available on the free plan. To enable it, go to
**console.apify.com → Proxy** and activate Residential access.

Running without a proxy (or with a datacenter proxy) will not raise an error —
the actor will log `403 Forbidden` for each page and finish with 0 results.

### Running locally

```bash
## With the Apify CLI:
apify run

## Or plain Python (install deps + chromium first):
pip install -r requirements.txt
playwright install chromium
python actor_main.py
```

### Notes

- The scraper walks result pages until `maxItemsPerTerm` is reached or two
  consecutive pages return nothing new (HKTDC re-serves the last page once
  results run out, so the actor stops instead of looping forever).
- HKTDC geo-localizes results; a Hong Kong exit node returns more relevant
  Hong Kong and mainland China suppliers than a US or EU proxy would.

# Actor input Schema

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

One or more keywords to search HKTDC suppliers for (e.g. "led lighting", "silicone kitchenware"). Each term is searched independently.

## `maxItemsPerTerm` (type: `integer`):

Maximum number of suppliers to collect for each search term. The scraper walks result pages until this many unique suppliers are found or the results run out.

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

Proxy settings. HKTDC rate-limits and geo-localizes; Apify Proxy (residential, ideally Hong Kong) is strongly recommended for reliable results.

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

How many search-result pages to fetch in parallel. Keep low to avoid being blocked.

## Actor input object example

```json
{
  "searchTerms": [
    "led lighting",
    "bluetooth speaker"
  ],
  "maxItemsPerTerm": 50,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "HK"
  },
  "maxConcurrency": 2
}
```

# Actor output Schema

## `suppliers` (type: `string`):

One record per supplier: company name, location, business type, main category, profile URL, product list with images, and the search term that returned it.

# 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": [
        "led lighting"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("encouraged_invitation/hktdc-supplier-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": ["led lighting"] }

# Run the Actor and wait for it to finish
run = client.actor("encouraged_invitation/hktdc-supplier-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).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": [
    "led lighting"
  ]
}' |
apify call encouraged_invitation/hktdc-supplier-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=encouraged_invitation/hktdc-supplier-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "HKTDC Supplier Scraper",
        "description": "Scrape supplier listings from HKTDC Sourcing by keyword. Returns company name, location, business type, products with images, and profile URLs. Requires a residential HK proxy.",
        "version": "0.1",
        "x-build-id": "MHdPQusMLbX9reCSZ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/encouraged_invitation~hktdc-supplier-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-encouraged_invitation-hktdc-supplier-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/encouraged_invitation~hktdc-supplier-scraper/runs": {
            "post": {
                "operationId": "runs-sync-encouraged_invitation-hktdc-supplier-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/encouraged_invitation~hktdc-supplier-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-encouraged_invitation-hktdc-supplier-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "searchTerms"
                ],
                "properties": {
                    "searchTerms": {
                        "title": "Search terms",
                        "type": "array",
                        "description": "One or more keywords to search HKTDC suppliers for (e.g. \"led lighting\", \"silicone kitchenware\"). Each term is searched independently.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxItemsPerTerm": {
                        "title": "Max results per search term",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Maximum number of suppliers to collect for each search term. The scraper walks result pages until this many unique suppliers are found or the results run out.",
                        "default": 50
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Proxy settings. HKTDC rate-limits and geo-localizes; Apify Proxy (residential, ideally Hong Kong) is strongly recommended for reliable results.",
                        "default": {
                            "useApifyProxy": true,
                            "apifyProxyGroups": [
                                "RESIDENTIAL"
                            ],
                            "apifyProxyCountry": "HK"
                        }
                    },
                    "maxConcurrency": {
                        "title": "Max concurrent pages",
                        "minimum": 1,
                        "maximum": 5,
                        "type": "integer",
                        "description": "How many search-result pages to fetch in parallel. Keep low to avoid being blocked.",
                        "default": 2
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
