keywordstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
keywordstringobligatoireFactory search keyword.
pageintegerPage number, starting at 1.
Par défaut : 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Par défaut : 20
sortstringFactory sort order.
Par défaut : "default"
Valeurs possibles : default, repurchase_rate
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
1688 Factory SearchCette API 1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
1688 | $0.014286 par appel | JSON |
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/1688/search/factories avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.
Obligatoire : keyword (string). Facultatif : page (integer), pageSize (integer) et sort (l’un de default, repurchase_rate). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.
Non. 1688 Factory Search fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API 1688 séparément.