keywordstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
keywordstringobrigatórioFactory search keyword.
pageintegerPage number, starting at 1.
Padrão: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Padrão: 20
sortstringFactory sort order.
Padrão: "default"
Valores possíveis: default, repurchase_rate
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
1688 Factory SearchEsta API 1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/1688/search/factories com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.014286 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: keyword (string). Opcionais: page (integer), pageSize (integer) e sort (um de default, repurchase_rate). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. 1688 Factory Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do 1688 separadamente.