身份验证与访问权限
获取 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。
常见问题
哪些端点支持 Alibaba?
GET /api/v1/products/search 和 GET /api/v1/products/category 均支持 Alibaba。
哪个 country 值用于选择美国?
Alibaba 使用受支持的美国数据集,无需 country 查询参数。