keywordstring必填
Factory search keyword.
https://api.sandbase.ai/v1/api/1688/search/factoriesSearch 1688 factories and manufacturers by keyword, sorted by default order or repurchase rate.
您的输出将显示在这里
完成输入,然后点击运行。
Returns a list of 1688 factories and manufacturers that match a keyword. Each item has the company name, factory level, product tags, service tags and a factory card link. The only required input is keyword.
product_tags and service_tags.service_tags.response_rate to find suppliers that reply to buyers.repurchase_rate to compare factories that buyers order from again.curl -X POST "https://api.sandbase.ai/v1/api/1688/search/factories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "phone case"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Factory search keyword. |
page | integer | No | Page number, starting at 1. |
pageSize | integer | No | Number of items requested per page. The returned count may differ. |
sort | string | No | Factory sort order. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"items": [
{
"company_name": "广州贝利塑料制品有限公司",
"factory_level": "无牌工厂",
"factory_url": "https://sale.1688.com/factory/card.html?__existtitle__=1&__removesafearea__=1&me…",
"invoice_available": false,
"is_factory": true,
"location": {
"city": null
},
"member_id": "b2b-3945631662b7581",
"product_tags": [
"iPhone保护套"
],
"response_rate": "0.89",
"service_tags": [
"ISO 9001认证"
],
"shop_repurchase_rate": null,
"super_factory": false
}
],
"keywords": "phone case",
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 1000
}
| Field | Meaning |
|---|---|
items[].company_name | Registered company name of the factory, in Chinese. |
items[].member_id / items[].user_id | Identifiers for the factory account. member_id is a string that starts with b2b-. user_id is a number. |
items[].factory_url | Link to the factory card page on 1688. |
items[].factory_level | Factory level label. The sample shows 无牌工厂, which means a factory with no level badge. |
items[].is_factory / items[].super_factory | Flags that show whether the seller is marked as a factory and whether it is marked as a super factory. |
items[].product_tags | List of product categories the factory makes, such as iPhone保护套. |
items[].service_tags | List of service and certification labels, such as ISO 9001认证, CCC认证 and 包工包料. |
items[].response_rate | Reply rate of the factory, returned as a string such as 0.89. |
items[].shop_repurchase_rate | Repurchase rate of the shop. It is null when the factory has no value. |
items[].invoice_available / items[].tp_member / items[].tp_year | Flag for invoice availability, flag for TrustPass membership, and the membership year. tp_year is null when the factory is not a member. |
total_count | Total number of matching factories reported for the query. |
page to move through results. page starts at 1.pageSize sets the requested items per page. The number of returned items may differ.sort to default or repurchase_rate. The response echoes the value in sort.items[].factory_url to open the factory card. Call 1688 Shop Info for more shop details.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/1688/search/factories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"keyword": "phone case",
"pageSize": 20
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
keywordstring必填Factory search keyword.
pageintegerPage number, starting at 1.
默认值:1
pageSizeintegerNumber of items requested per page. The returned count may differ.
默认值:20
sortstringFactory sort order.
默认值:"default"
可选值:default, repurchase_rate
这是该 API 保存的示例响应;查看时不会发起实时请求。
尚未发布已保存的响应。请在 Playground 中运行 API 以查看其响应。
探索更多
| API | 价格 | 响应 |
|---|---|---|
1688 Factory Search此 API 1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
1688 | $0.014286 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/1688/search/factories 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.014286,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:keyword (string)。 可选:page (integer), pageSize (integer) 和 sort(default, repurchase_rate 之一)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。1688 Factory Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 1688 API 访问权限。