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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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 key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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 के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए 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 पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: keyword (string)। वैकल्पिक: page (integer), pageSize (integer) और sort (default, repurchase_rate में से एक)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। 1688 Factory Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से 1688 API access के लिए आवेदन करने की आवश्यकता नहीं है।