keywordstringwajib
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.
Output Anda akan muncul di sini
Lengkapi input, lalu klik 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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
keywordstringwajibFactory search keyword.
pageintegerPage number, starting at 1.
Default: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Default: 20
sortstringFactory sort order.
Default: "default"
Nilai yang mungkin: default, repurchase_rate
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
1688 Factory SearchAPI ini 1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
1688 | $0.014286 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/1688/search/factories dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.014286 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: keyword (string). Opsional: page (integer), pageSize (integer) dan sort (salah satu dari default, repurchase_rate). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. 1688 Factory Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API 1688 secara terpisah.