API 平台

使用 Alibaba 商品數據進行開發

使用限定範圍的 Ecomblade API 金鑰呼叫商品搜尋和類目端點,用於內部工具和分析。

驗證與存取權

取得 API 存取權

API 存取需要符合資格的 Ecomblade 方案。建立金鑰,在顯示時儲存 secret,並以 Bearer token 傳送。

GET/api/v1/products/search商品搜尋 · platform, query, page=1, pageSize?
GET/api/v1/products/category類目商品 · platform, categoryId, page=1, tab?, deliveryId?, pageDeduplicateId?
請求範例
curl --get 'https://api.ecomblade.com/api/v1/products/search?platform=alibaba&query=wireless+earbuds&page=1' \
  --header 'Authorization: Bearer $ECOMBLADE_API_KEY'
API 傳回的數據

回應範例

回應包含標準化商品欄位和平台專屬數據,例如商品識別碼、URL、圖片、價格、貨幣、評分、銷量、營收及可用的店舖資訊。

JSON
{
  "success": true,
  "data": {
    "items": [
      {
        "itemId": "prod-10001",
        "name": "Wireless Noise-Cancelling Earbuds",
        "slug": "wireless-noise-cancelling-earbuds",
        "url": "https://marketplace.example/products/prod-10001",
        "brand": "Example Audio",
        "image": "https://cdn.example.com/products/prod-10001.jpg",
        "shopId": "shop-501",
        "shopName": "Example Audio Official",
        "price": 29.99,
        "originalPrice": 39.99,
        "discount": 25,
        "currency": "USD",
        "sold": 1280,
        "monthlySold": 340,
        "totalSold": 4620,
        "revenue": 38387.2,
        "monthlyRevenue": 10196.6,
        "totalRevenue": 138553.8,
        "listingDate": "2026-01-15T00:00:00.000Z",
        "reviews": 894,
        "marketplaceData": {
          "alibaba": {
            "minPrice": 8.5,
            "maxPrice": 12.75,
            "supplierId": "supplier-8801",
            "supplierName": "Example Electronics Co., Ltd.",
            "supplierUrl": "https://supplier.example.com/example-electronics",
            "supplierYears": 7,
            "supplierRating": 4.8,
            "isGoldSupplier": true,
            "isTradeAssurance": true,
            "sellPoints": [
              "Bluetooth 5.4",
              "Active noise cancellation"
            ],
            "productScore": 92.4,
            "displayStarLevel": 4.8,
            "tradeCount": 3210,
            "reviewScore": 4.7,
            "moq": "10 pieces",
            "location": "Shenzhen, China",
            "minOrderValue": 85,
            "maxOrderValue": 127.5
          }
        }
      }
    ],
    "hasFullAccess": true,
    "isLimited": false
  }
}

實用平台訊號

回應包含標準化商品欄位和平台專屬數據,例如商品識別碼、URL、圖片、價格、貨幣、評分、銷量、營收及可用的店舖資訊。

錯誤與使用限制

無效參數或憑證、方案權限、rate limit、上游處理和分頁結束都會傳回明確的 HTTP 錯誤。客戶端應檢查狀態並遵守 Retry-After。

可用地區

美國

使用國家代碼 US 存取美國的 Alibaba 數據。

探索
常見問題
哪些端點支援 Alibaba?

GET /api/v1/products/search 和 GET /api/v1/products/category 均支援 Alibaba。

取得 API 存取權

選擇符合資格的方案,建立 API 金鑰並將平台數據接入工作流程。

取得 API 存取權無需信用卡。