shopUrlstring
1688 shop homepage URL. Supply shopUrl or memberId.
https://api.sandbase.ai/v1/api/1688/shop/infoGet 1688 shop information by shop URL or seller member ID: company, location, ratings and business type.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
This API returns profile data for a 1688 shop, including company name, location, service ratings and business type flags. It needs either a shopUrl (the shop homepage URL) or a memberId (the seller member ID).
is_factory or is_super_factory when you build a supplier list.member_id to a company_id and company name to match records in your own database.curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"memberId": "b2b-3945631662b7581"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
memberId | string | No | Seller member ID. Supply memberId or shopUrl. |
shopUrl | string | No | 1688 shop homepage URL. Supply shopUrl or memberId. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"chat_url": "",
"company_id": "36968811",
"company_name": "广州贝利塑料制品有限公司",
"contact_info": {},
"favorite_count": "295",
"is_factory": false,
"is_flagship_shop": false,
"is_industry_brand": false,
"is_super_factory": false,
"is_tp": true,
"location": {
"city": "广州市",
"province": "广东省",
"street": ""
},
"location_str": "广东省 广州市"
}
| Field | Meaning |
|---|---|
company_name / shop_name | Registered company name and shop name. Both hold the same value in this response. |
company_id / member_id | Identifiers for the company and the seller. member_id matches the value you can send as memberId. |
location.province / location.city / location.street | Province, city and street of the seller. street can be an empty string. |
location_str | Province and city joined in one string, ready to display. |
shop_ratings[].title | Name of the rating category, shown in Chinese. |
shop_ratings[].score | Score for that category, returned as a string such as 5.0. |
shop_ratings[].type | Machine-readable rating code, such as purchase_consultation, logistics or dispute_resolution. |
is_factory / is_super_factory / is_flagship_shop / is_industry_brand | Boolean flags for the shop's business type and status. |
is_tp / tp_year | is_tp flags a TP shop. tp_year is a string with a number of years, 9 in this response. |
favorite_count | Number of favorites for the shop, returned as a string. |
shopUrl or memberId. The example uses memberId with a value like b2b-3945631662b7581.chat_url, shop_logo, shop_url and contact_info. seller_id can be null.favorite_count, company_id and tp_year are returned as strings.$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/shop/info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memberId": "b2b-3945631662b7581"
}'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.
shopUrlstring1688 shop homepage URL. Supply shopUrl or memberId.
memberIdstringSeller member ID. Supply memberId or shopUrl.
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 Shop InfoCette 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/shop/info 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.
Aucun paramètre n’est requis. Facultatif : shopUrl (string) et memberId (string). 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 Shop Info 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.