# 🛍️ AliExpress 商品爬蟲 — 搜尋與商品資料 (`futurizerush/aliexpress-products-scraper-zh-tw`) Actor

從 AliExpress 搜尋結果擷取商品資料：標題、售價與原價、圖片、促銷標籤，以及有提供時的評分、售出數、AliExpress Choice 標籤、出貨地、預估送達時間與上架日期。支援多關鍵字批次搜尋，可依熱門或價格排序並設定價格範圍，無需登入。適合跨境選品、Dropshipping 研究與價格追蹤。

- **URL**: https://apify.com/futurizerush/aliexpress-products-scraper-zh-tw.md
- **Developed by:** [Rush](https://apify.com/futurizerush) (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.50 / 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.
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

## 🛍️ AliExpress 商品爬蟲 — 搜尋與商品資料

從 AliExpress 搜尋結果擷取結構化商品資料：商品標題、價格、圖片網址、促銷標籤，以及商品列表上可取得的公開資訊（例如評分、售出數標籤、AliExpress Choice 標籤與出貨地），加上商品資料中的預估送達時間與上架日期，直接整理成乾淨、方便查詢的資料集。

適合跨境電商選品採購、Dropshipping 研究與價格追蹤。**無需登入。**

***

### 功能特色

- **批次搜尋多個關鍵字**，一次涵蓋多種商品類別：手機殼、手錶、3C 電子、服飾、家用品，任何能在 AliExpress 搜尋的商品都可以。
- **不只第一頁：** 會繼續讀取後面的搜尋結果頁，直到達到你設定的 **每個關鍵字最多商品數**（最多 3,000）或 AliExpress 沒有更多結果。
- 擷取這些搜尋結果頁上的**公開商品卡片**：標題、售價與原價、幣別、商品照片與規格圖片、卡片上的標籤（促銷、配送標籤、商品特色），以及 AliExpress 有顯示時的公開商品資訊。
- **看出多快能到貨、商品有多新：** AliExpress 美國站的預估送達時間（最短與最長，以天數和日期表示）和商品資料中的上架日期，並標示評價與星級評分是否取自不同賣家的相似商品。
- **選擇排序方式和價格範圍**，選項與 AliExpress 自己的排序選單和價格篩選相同：最相關、熱門、價格由低到高或由高到低，以及以美元計的最低和最高價格。
- 依最低評分、免運促銷、從美國出貨或 AliExpress Choice 標籤**篩選擷取的商品**：不符合篩選條件的商品不會寫入資料集，你只需要看真正重要的商品。
- 透過 Apify 標準資料集檢視，匯出 **JSON、CSV、Excel、HTML、RSS**。

***

### 使用方式

1. 開啟 Actor 的 **Input**（輸入）分頁。
2. 在 **搜尋關鍵字** 輸入一個或多個商品關鍵字。
3. 視需要調整 **每個關鍵字最多商品數**、選擇 **排序方式**，或設定價格範圍等篩選條件。
4. 按下 **Start**（開始），執行完成後開啟 **Output**（輸出）分頁或匯出資料集。

***

### 輸入欄位

| 欄位 | API 欄位名稱 | 用途 |
|---|---|---|
| 🔍 **搜尋關鍵字** | `queries` | 最多 50 個關鍵字，每個最多 500 個字元。每筆資料都會標示是哪個關鍵字找到的，方便你之後依關鍵字排序。同一個商品被兩個關鍵字找到時，會各出現一筆。 |
| 📦 **每個關鍵字最多商品數** | `maxProducts` | 每個關鍵字要擷取多少筆商品（10–3,000，預設 60）。會視需要讀取多頁搜尋結果，AliExpress 沒有更多結果時會提早結束。 |
| ↕️ **排序方式**（選填） | `sortBy` | `best_match`（最相關，預設）、`popular`（熱門，訂單較多的在前）、`price_low_to_high`（價格由低到高）或 `price_high_to_low`（價格由高到低）。順序由 AliExpress 決定，可能在每一頁重新開始（見 Q11）。 |
| 💲 **最低價格（美元）**（選填） | `minPrice` | AliExpress 價格篩選的最低價格，以搜尋結果顯示的價格（`price_sale`）為準。 |
| 💲 **最高價格（美元）**（選填） | `maxPrice` | 使用 AliExpress 自己的價格篩選的最高價格（至少 0.01）。 |
| ⭐ **最低評分**（選填） | `starRatingMin` | 只保留評分達到這個分數的商品（0–5）。沒有評分的商品也會被移除。 |
| 🚚 **只保留免運標籤商品**（選填） | `freeShippingOnly` | 只保留顯示免運標籤的商品。有消費門檻的標籤（例如 "Free shipping over $10.00"）不算。 |
| 🇺🇸 **只保留從美國出貨的商品**（選填） | `shipsFromUsOnly` | 只保留商品資料標示從美國出貨的商品（`ship_from` 為 `US`）。會使用 AliExpress 自己的出貨地篩選來找這些商品（見 Q12）。 |
| ✅ **只保留 AliExpress Choice**（選填） | `choiceOnly` | 只保留帶有 AliExpress Choice 標籤的商品。 |

輸入範例：

```json
{
  "queries": ["手機殼", "手錶", "耳機"],
  "maxProducts": 60,
  "sortBy": "popular",
  "minPrice": 5,
  "maxPrice": 50,
  "starRatingMin": 4.5,
  "freeShippingOnly": false,
  "shipsFromUsOnly": false,
  "choiceOnly": false
}
```

***

### 輸出

單筆資料列（共 41 個欄位，以下為簡化範例；Output 分頁的表格只顯示主要欄位）：

```json
{
  "product_id": "3256812787710559",
  "product_url": "https://www.aliexpress.com/item/3256812787710559.html",
  "title": "Minimalist INS Phone Case For iPhone 17 16 15 Pro Max 16 17 13 14 12 11 Pro XS X XR 7 8 Plus 16E Colorful Striped Couple Cover",
  "main_image": "https://ae-pic-a1.aliexpress-media.com/kf/Sebc56f3f7edf462a903e9283749b34642.jpg",
  "currency_code": "USD",
  "currency_symbol": "$",
  "currency_source": "listing",
  "price_original": 4.18,
  "price_sale": 1.09,
  "price_original_display": null,
  "price_sale_display": "US $1.09",
  "discount_percent": 73,
  "star_rating": 4.5,
  "rating_from_similar_items": false,
  "sold_count": 262,
  "sold_count_display": "262 sold",
  "launch_date": "2026-08-17",
  "is_choice": true,
  "ship_from": "CN",
  "delivery_days_min": 7,
  "delivery_days_max": 12,
  "delivery_date_earliest": "2026-11-18",
  "delivery_date_latest": "2026-11-23",
  "category_id": "202192403,202228401,202229403",
  "spu_id": "6000000003440182",
  "sku_id": "12000059948842372",
  "is_price_power": false,
  "selling_points": [
    "Fastest delivery in 7 days",
    "Free shipping",
    "Apple-Only Fit",
    "$3.09 saved",
    "New shoppers - $3.09",
    "Save $3.09",
    "Extra 1% off with coins"
  ],
  "search_query": "手機殼",
  "search_page": 1,
  "search_position": 33,
  "extracted_at": "2026-11-11T10:59:52+00:00"
}
```

`price_sale` 通常是未登入的購物者看到的價格，常已扣除新買家優惠；`price_original` 是扣除前的價格（見 Q5）。

`launch_date`、四個 `delivery_` 欄位和 `rating_from_similar_items` 都取自商品資料：預估送達時間見 Q13，上架日期和這個標記見 Q14。

`image_urls` 列出搜尋卡片上顯示的商品照片。`sku_image_urls` 列出最多 4 張規格圖片（例如不同顏色），`has_sku_variants` 則表示這個商品是否提供多張規格圖片。如果搜尋卡片沒有規格資料，或規格圖片清單無法讀取，`has_sku_variants` 為 `null`，`sku_image_urls` 為空。

大多數執行結束時，也會寫入一份 **執行摘要**，可從該次執行的 Output 分頁開啟（因輸入錯誤或準備階段失敗而停止，或被立即中止的執行不會寫入）。`queries_total` 是這次執行收到的關鍵字數量（實際搜尋內容相同的關鍵字只算一次），不論是否已搜尋。`products_total` 是這次執行的資料集中儲存的商品數量，包含執行中斷後接續前已儲存的商品。當執行達到你設定的最高費用時，`charge_limit_reached` 為 `true`；當執行在逾時前停止且還有關鍵字沒做完時，`time_limit_reached` 為 `true`；當執行因中止而停止且還有關鍵字沒做完時，`run_aborted` 為 `true`。摘要中的各個關鍵字清單說明請見 Q7 與 Q8。

***

### 常見用途

- **Dropshipping 選品研究**：找出售出數高、評分好的商品，並自動標出 AliExpress Choice 標籤。
- **到貨時間與上架時間**：比較 AliExpress 的預估送達時間，用 `launch_date` 分辨新上架和舊商品；新上架的商品如果評分很高，先看 `rating_from_similar_items`（見 Q14）。
- **搜尋結果快照**：儲存每個關鍵字當下的搜尋結果，用於分析或匯入你自己的商品資料庫。
- **價格追蹤快照**：用排程定期對同一批關鍵字執行，記錄價格與促銷標籤的變化。
- **市場情報**：依商品類別與出貨地，觀察大致的需求訊號（售出數標籤）。

***

### 常見問題 FAQ

**Q1 — 需要 AliExpress 帳號嗎？**
不需要。這個 Actor 讀取公開的搜尋結果頁面，不需要登入、不需要帳號，也不涉及任何個人資料。

**Q2 — 為什麼這次執行的結果比預期少？**
某個關鍵字可能還沒達到上限就結束：AliExpress 每個關鍵字顯示的結果頁數有限；符合商品很少的關鍵字，讀完第一頁就會結束；出現在多頁的商品只會儲存一次；設定價格範圍或開啟 **最低評分**、**只保留免運標籤商品**、**只保留從美國出貨的商品** 或 **只保留 AliExpress Choice** 時，符合的商品也會變少。連續好幾頁都沒有新商品時，會繼續處理下一個關鍵字。想看到其他商品，可以換個關鍵字，或放寬篩選條件。

**Q3 — 為什麼有些欄位是空的（例如 `star_rating`、`sold_count`）？**
不是每張搜尋結果卡片都有所有資訊：有些卡片沒有評分、售出數標籤、出貨地或預估送達時間，這些欄位在該筆資料中就會是空的。少數情況下，AliExpress 給的值格式無法讀取，該欄位也會是空的。設定 **最低評分** 時，沒有評分的商品不會出現在輸出中。

**Q4 — 資料有多新？**
每筆資料都有 `extracted_at` 時間戳記，記錄擷取的時間。商品卡片上的數值（評分、售出數、促銷標籤、出貨地、預估送達時間等）反映的是當下的快照，AliExpress 更新商品後，不同次執行之間可能會有差異。需要較新的資料時，請重新搜尋該關鍵字。

**Q5 — 價格是什麼幣別？資料來自哪個地區的網站？**
這個 Actor 擷取 AliExpress 美國站的資料，價格以美元計，不論用什麼語言搜尋，商品標題與標籤都是英文。`currency_code` 欄位標示每筆資料的幣別（卡片只顯示幣別符號或沒有價格時為空值，符號記在 `currency_symbol`），`currency_source` 則說明幣別是來自該商品的幣別代碼、卡片上的幣別符號，還是預設的美國站幣別 USD。大多數商品的價格是未登入的購物者在搜尋頁上看到的價格；其中很多已扣除新買家首購優惠，`selling_points` 會列出該優惠（例如 "New shoppers save $3.18"），這類資料的 `price_original` 是扣除優惠前的價格。有些商品對新買家顯示為 "FREE with any purchase" 而不是價格：這類商品的 `selling_points` 以該優惠開頭，`currency_source` 為 `default_storefront`，價格欄位則取自該商品的 AliExpress 資料，不是卡片上顯示的價格。如果 AliExpress 有提供，`ship_from` 會另外標示出貨的國家／地區。

**Q6 — 也可以擷取商品頁面、評論或問答嗎？**
不能。這個 Actor 只擷取搜尋結果卡片，不會擷取商品頁面、評論或問答。

**Q7 — 如果有些關鍵字無法完成會怎樣？**
已擷取的商品一律保留。如果某個關鍵字這次無法完成搜尋，執行會繼續處理下一個關鍵字；連續三個關鍵字都無法完成時，執行會提前停止，剩下的關鍵字不會搜尋。要取得其餘商品，只要用 **執行摘要** 中 `failed_keywords` 與 `skipped_keywords` 的關鍵字另外執行一次（執行狀態也會列出前幾個）。已儲存部分商品才中斷的關鍵字不在這兩份清單中：`partly_saved_keywords` 會列出它已儲存的數量，因為用新的執行搜尋它時，會從它的第一筆商品重新開始。沒有搜尋結果、或沒有商品符合篩選條件的關鍵字會列在 `empty_keywords`：它不算未完成，也不會讓執行停止。只有在完全沒有擷取到任何商品時，執行才會標示為失敗。

**Q8 — 如果我為這次執行設定了最高費用會怎樣？**
你可以在 Apify Console 或透過 API 為執行設定最高費用。執行達到這個費用時，會停止搜尋，並保留到那時為止已儲存的商品。如果最高費用低到連一筆商品都無法儲存，執行會在搜尋前就停止。執行狀態會說明在哪裡停止，**執行摘要** 會記錄停止時正在搜尋的關鍵字（`stopped_keyword`）、它已儲存的商品數量（`partly_saved_keywords`），以及未搜尋的關鍵字（`skipped_keywords`）。用新的執行搜尋該關鍵字時，會從它的第一筆商品重新開始。如果接續（Resurrect）這次執行，會從已儲存的商品繼續；除非你在接續時提高最高費用，否則會沿用原本的最高費用；如果該費用已經用完，執行會直接再次停止，不會搜尋。

**Q9 — 執行達到逾時時間會怎樣？**
快到逾時時間時會停止搜尋，保留到那時為止已儲存的商品，並說明沒做完的部分：執行狀態會列出前幾個關鍵字，**執行摘要** 的 `time_limit_reached` 為 `true`，關鍵字清單的用法見 Q7（如果搜尋某個關鍵字途中已儲存部分商品才停止，`partly_saved_keywords` 會列出該關鍵字）。要取得其餘商品，請設定較長的逾時時間，接續（Resurrect）這次執行，它會從已儲存的商品繼續。關鍵字很多、**每個關鍵字最多商品數** 又設得很高時，可能需要比預設更長的時間，請在開始前先到執行選項（Run options）設定較長的逾時時間（Timeout）。

**Q10 — 如果我中止執行會怎樣？**
中止執行有兩種方式：Graceful 或立即中止。Graceful 中止時會停止搜尋：不再開始新的關鍵字或頁面，也會放棄正在讀取的那一頁。已儲存的商品都會保留，並說明沒做完的部分，**執行摘要** 的 `run_aborted` 為 `true`：`stopped_keyword` 與 `partly_saved_keywords` 會列出搜尋到一半的關鍵字，`skipped_keywords` 會列出未搜尋的關鍵字。立即中止會馬上結束執行：已儲存的商品仍會保留，但不會寫入 **執行摘要**。不論哪一種，要取得其餘商品，都可以接續（Resurrect）這次執行，它會從已儲存的商品繼續。被中止的執行狀態是 Aborted，不是 Failed，即使沒有儲存任何商品。

**Q11 — 排序方式和價格範圍怎麼運作？**
執行時會向 AliExpress 要求你選的排序和價格範圍（與它自己的排序選單和價格篩選相同），只有在 AliExpress 表示已套用時，才會儲存那一頁。如果沒有套用，會重新要求；仍然沒有套用時，該關鍵字會列為未完成（見 Q7）。順序由 AliExpress 決定：可能在每一頁重新開始（每頁最多 60 筆），有時也會在同一頁中途重新開始，偶爾也會有商品不在順序上，所以整份清單不會嚴格依同一個順序排列。如需整份資料依同一順序排列，請在下載資料後依 `price_sale` 或 `sold_count` 排序；`search_page` 和 `search_position` 保留 AliExpress 原本的順序。價格範圍是 AliExpress 自己的篩選，以美元計，依搜尋結果顯示的價格（`price_sale`）為準。範圍很窄時，找到的商品可能比不設範圍時少，甚至一筆都沒有。

**Q12 — 「只保留從美國出貨的商品」怎麼運作？**
執行時會用 AliExpress 自己的出貨地篩選，要求從美國出貨的商品，只有在 AliExpress 表示已套用時，才會儲存那一頁。如果沒有套用，會重新要求；仍然沒有套用時，該關鍵字會列為未完成（見 Q7）。在儲存的頁面中，只保留商品資料標示從美國出貨的商品（`ship_from` 為 `US`）：這個篩選也會回傳一些商品資料標示其他國家的商品，這些會被排除，商品資料沒有標示出貨地的商品也一樣。因此某個關鍵字可能還沒達到上限就結束，甚至一筆都沒有。這些商品在搜尋結果中很多沒有顯示評分或售出數，所以同時設定 **最低評分** 時，會有很多商品被排除。

**Q13 — 預估送達的欄位代表什麼？**
這是本次執行讀取商品時，AliExpress 美國站對這筆商品顯示的預估送達時間。`delivery_days_min` 和 `delivery_days_max` 是最短和最長的天數，`delivery_date_earliest` 和 `delivery_date_latest` 是 AliExpress 給的對應日期。卡片同時在 `selling_points` 裡顯示送達標籤時（例如 "Delivery: Nov 13 - 17"），內容一致；很多商品有預估，但卡片上沒有標籤。商品沒有預估時，這四個欄位都是空的。這是 AliExpress 的估計，不是到貨保證。

**Q14 — `launch_date` 和 `rating_from_similar_items` 是什麼？**
`launch_date` 是商品資料中的上架日期，可以用來分辨新上架和舊商品。有些商品，AliExpress 顯示的評價來自不同賣家的相似商品，而不只是這筆商品，星級評分也是用這些評價算出的：這類商品的 `rating_from_similar_items` 為 `true`（即使還沒顯示評分），其他商品為 `false`；在 AliExpress 沒有標示的少數情況下為空。這類商品可能剛上架就已經有星級評分，評價也可能比上架日期還早。這個標記只說明評價和星級評分的來源，無法看出 `sold_count` 是不是這筆商品自己的售出數。

***

### 免責聲明

此 Actor 為獨立開發，與 AliExpress 或阿里巴巴集團沒有任何關聯，也未獲其背書。它擷取的是**公開**的商品列表資料，不需要登入、不收集個人資料，也不操作任何登入後的頁面。

你（使用者）需自行確認擷取資料的用途符合適用法律、來源網站的政策，以及任何第三方的權利（包含但不限於圖片相關權利與商標權）。本 Actor 的作者依「現況」提供此工具，對後續用途不承擔任何責任。

***

### 更多工具

在[作者的 Apify 個人頁面](https://apify.com/futurizerush)瀏覽作者的其他爬蟲。

***

*Keywords: AliExpress, 速賣通, 商品爬蟲, 商品資料, 電商資料, 跨境電商, dropshipping, 選品, 價格追蹤, 競品分析, 商品搜尋, Apify, Claude Code, OpenClaw, Gemini, Antigravity, Codex, ChatGPT.*

# Actor input Schema

## `queries` (type: `array`):

輸入最多 50 個 AliExpress 商品搜尋關鍵字，中文或英文都可以，例如 手機殼、手錶、耳機。

## `maxProducts` (type: `integer`):

每個關鍵字要擷取多少筆商品（10–3,000）。會視需要讀取多頁搜尋結果，AliExpress 沒有更多結果時會提早結束。

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

選項與 AliExpress 的排序選單相同。順序由 AliExpress 決定，可能在每一頁重新開始（每頁最多 60 筆）。如需整份資料依同一順序排列，請在下載資料後依價格或售出數排序。

## `minPrice` (type: `number`):

使用 AliExpress 自己的價格篩選：最低價格（美元），以搜尋結果顯示的價格為準。留空代表不設下限。

## `maxPrice` (type: `number`):

使用 AliExpress 自己的價格篩選：最高價格（美元）。留空代表不設上限。

## `starRatingMin` (type: `number`):

只保留評分達到這個分數的商品（0–5），例如 4.5。沒有評分的商品也會被移除。留空代表全部保留。

## `freeShippingOnly` (type: `boolean`):

只保留在搜尋結果中顯示免運標籤的商品。

## `shipsFromUsOnly` (type: `boolean`):

只保留 AliExpress 商品資料標示從美國出貨的商品。會使用 AliExpress 自己的出貨地篩選來找這些商品；商品資料沒有標示出貨地的商品也會被移除。

## `choiceOnly` (type: `boolean`):

只保留帶有 AliExpress Choice 標籤的商品。

## Actor input object example

```json
{
  "queries": [
    "手機殼",
    "手錶",
    "耳機"
  ],
  "maxProducts": 60,
  "sortBy": "best_match",
  "freeShippingOnly": false,
  "shipsFromUsOnly": false,
  "choiceOnly": false
}
```

# Actor output Schema

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

本次擷取到的公開商品資料列表

## `output` (type: `string`):

本次執行的結果摘要與筆數統計

# 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 = {
    "queries": [
        "手機殼",
        "手錶",
        "耳機"
    ],
    "maxProducts": 60,
    "sortBy": "best_match",
    "freeShippingOnly": false,
    "shipsFromUsOnly": false,
    "choiceOnly": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("futurizerush/aliexpress-products-scraper-zh-tw").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 = {
    "queries": [
        "手機殼",
        "手錶",
        "耳機",
    ],
    "maxProducts": 60,
    "sortBy": "best_match",
    "freeShippingOnly": False,
    "shipsFromUsOnly": False,
    "choiceOnly": False,
}

# Run the Actor and wait for it to finish
run = client.actor("futurizerush/aliexpress-products-scraper-zh-tw").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 '{
  "queries": [
    "手機殼",
    "手錶",
    "耳機"
  ],
  "maxProducts": 60,
  "sortBy": "best_match",
  "freeShippingOnly": false,
  "shipsFromUsOnly": false,
  "choiceOnly": false
}' |
apify call futurizerush/aliexpress-products-scraper-zh-tw --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,futurizerush/aliexpress-products-scraper-zh-tw"
        }
    }
}
```

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/Ttu7AWIavopPE5mdy/builds/h5R1qDJb6rdN2XIbl/openapi.json
