walmart
International · e-commerce · En ligne — Cette page présente ses endpoints, la commande de connexion et un exemple de recherche.
Endpoint
Tous les accès à walmart. REST et MCP sont deux interfaces pour les mêmes outils.
| Élément | Valeur |
|---|---|
| MCP(Streamable HTTP) | https://claudebaby.cn/mcp/walmart |
| MCP(SSE) | https://claudebaby.cn/sse/walmart |
| MCP(stdio) | claudebaby-mcp --platform walmart |
| Récupération via REST | POST https://claudebaby.cn/v1/ecommerce/walmart/tools/{tool} |
| Liste des endpoints REST | https://claudebaby.cn/v1/ecommerce/walmart/tools |
Les points de connexion MCP ont le même format que ceux des autres plateformes en lignede même format : même hôte et même /mcp/ préfixe ; seul le dernier segment correspond à walmart. Remplacez ce dernier segment par le nom d’une autre plateforme pour obtenir son endpoint.
Méthodes de connexion
Choisissez l’une des trois méthodes. L’authentification, la mesure et le cache sont gérés dans le cloud ; aucune clé amont n’est stockée localement.
# Claude Code : connexion en une commande
claude mcp add --transport http claudebaby-walmart https://claudebaby.cn/mcp/walmart \
--header "Authorization: Bearer $CB_KEY"
# Une fois connecté, lancez /mcp dans la session pour voir les outils{
"mcpServers": {
"claudebaby-walmart": {
"type": "http",
"url": "https://claudebaby.cn/mcp/walmart",
"headers": { "Authorization": "Bearer <votre clé API>" }
}
}
}# stdio local : aucune clé sur la machine, les données passent par la passerelle cloud
uv tool install --from "git+https://github.com/lingling1989r/claudebaby.git#subdirectory=mcps" claudebaby-mcp
CLAUDEBABY_API_KEY=cb_live_xxx claudebaby-mcp --platform walmartLes clés sont émises dans la console et affichées en clair une seule fois. Si le solde est insuffisant, le service renvoie insufficient_balance(HTTP 402)。
Liste des endpoints
Le nom de l’outil correspond au dernier segment du chemin REST. Les mêmes outils sont accessibles via MCP et renvoient le même envelope.
Total 12 endpoints.
| Endpoint | Paramètres | Description |
|---|---|---|
| walmart_category_tree | node_id:string | Browse the Walmart category tree (US site only). |
| walmart_category_search_from_name | name*:string | Find Walmart categories by name and get their node ids. |
| walmart_category_report_by_node_id | node_id*:string | Real-time top-100 best sellers of a Walmart category. |
| walmart_product_search_from_name | name*:string · page:integer | Search Walmart products by name; up to 20 per page. |
| walmart_product_detail_by_product_id | product_id*:string | Full detail record of a single Walmart product. |
| walmart_product_trend_by_product_id | product_id*:string · trend_type:string · start_date:string · end_date:string | Historical trend of a Walmart product (sales volume / amount and more). |
| walmart_product_variation_sales_by_product_id | product_id*:string · start_date:string · end_date:string · page:integer | Child-item sales breakdown of a Walmart product. |
| walmart_product_traffic_terms | product_id*:string · page:integer | Keywords a Walmart product has recently been exposed under. |
| walmart_keyword_list | rank_min*:integer · rank_max*:integer · page:integer | Real-time hot keyword list for Walmart, by monthly search volume. |
| walmart_keyword_detail | keyword*:string | Detail record of one Walmart hot keyword. |
| walmart_keyword_extends | keyword*:string · page:integer | Extended keywords derived from a Walmart hot keyword. |
| walmart_keyword_search_results | keyword*:string · page:integer | Natural-position product list for a Walmart hot keyword. |
Exemple de recherche : anker
L’exemple utilise anker comme terme de recherche pour appeler walmart walmart_category_search_from_name. Le terme est placé dans le véritable paramètre de l’outil ; les autres champs obligatoires sont des espaces réservés. Remplacez <…> par vos valeurs. Les paramètres et leur description figurent dans la liste des endpoints ci-dessus ou sur https://claudebaby.cn/v1/ecommerce/walmart/tools.
export CB_KEY=cb_live_xxx
curl -s -X POST https://claudebaby.cn/v1/ecommerce/walmart/tools/walmart_category_search_from_name \
-H "Authorization: Bearer $CB_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "anker"}'{
"ok": true,
"data": {
"…": Réponse de "walmart_category_search_from_name ; les champs varient selon l’outil"
},
"meta": {
"platform": "walmart",
"domain": "ecommerce",
"tool": "walmart_category_search_from_name",
"request_id": "req_…",
"credits": "<Crédits consommés pour cet appel ; voir /pricing.json>"
}
}Exécutez la requête pour voir la réponse réelle (facturation selon l’endpoint et la route) — l’exemple ci-dessus data format de réponse, pas un exemple de données inventées. Pour tester dans le navigateur, utilisez Détails de l’API et saisissez votre clé.
Facturation
Choisissez une recharge ou un forfait ; les crédits sont réservés avant chaque collecte payante et un solde insuffisant bloque la requête.
Une requête e-commerce standard coûte 1 crédit. Le badge ×N signifie N crédits par exécution. Les sous-appels et pages sont facturés séparément. Réservation avant exécution, débit en cas de succès, libération en cas d’échec ; les délais dépassés attendent vérification.
| Type d’appel | Route | Crédits de base | Coefficient | Crédits / appel | Prix de base / appel | Appels avec 30 crédits d’essai |
|---|---|---|---|---|---|---|
| instagram / user.posts | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| tiktok / user.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| xiaohongshu / search.notes | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| facebook / page.posts | Étendue | 1 | ×113 | 113 | ¥2.26 | 0 |
| linkedin / user.profile | Secours | 1 | ×131 | 131 | ¥2.62 | 0 |
| amazon / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
Tous les coefficients et états tarifaires
| Type d’appel | Route | Crédits de base | Coefficient | Crédits / appel | Prix de base / appel | Appels avec 30 crédits d’essai |
|---|---|---|---|---|---|---|
| bilibili / search.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| bilibili / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| bilibili / user.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| bilibili / video.comments | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| bilibili / video.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| douyin / post.comments | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| douyin / post.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| douyin / search.videos | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| douyin / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| gongzhonghao / account.articles | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| gongzhonghao / account.profile | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| gongzhonghao / article.comments | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| gongzhonghao / article.detail | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| instagram / post.detail | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| instagram / search.users | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| instagram / user.posts | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| instagram / user.profile | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| kuaishou / search.videos | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| kuaishou / user.profile | Standard | 1 | ×5 | 5 | ¥0.10 | 6 |
| lemon8 / post.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| lemon8 / search.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| lemon8 / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| linkedin / company.profile | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| linkedin / post.detail | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| linkedin / user.profile | Standard | 1 | ×18 | 18 | ¥0.36 | 1 |
| threads / user.posts | Standard | 1 | ×5 | 5 | ¥0.10 | 6 |
| tiktok / post.comments | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| tiktok / post.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| tiktok / user.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| tiktok / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| toutiao / article.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| toutiao / post.comments | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| toutiao / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| toutiao / video.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| weibo / hot.list | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| weibo / post.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| weibo / search.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| weibo / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| x / post.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| x / search.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| x / user.posts | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| x / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| xiaohongshu / note.detail | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| xiaohongshu / search.notes | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| xiaohongshu / user.notes | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| xiaohongshu / user.profile | Standard | 1 | ×23 | 23 | ¥0.46 | 1 |
| xigua / search.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| xigua / user.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| youtube / channel.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| youtube / channel.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| youtube / search.videos | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| youtube / video.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| zhihu / answer.detail | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| zhihu / hot.list | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| zhihu / question.answers | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| zhihu / user.profile | Standard | 1 | ×3 | 3 | ¥0.06 | 10 |
| facebook / page.profile | Étendue | 1 | ×113 | 113 | ¥2.26 | 0 |
| facebook / page.posts | Étendue | 1 | ×113 | 113 | ¥2.26 | 0 |
| facebook / post.detail | Étendue | 1 | ×113 | 113 | ¥2.26 | 0 |
| linkedin / user.profile | Secours | 1 | ×131 | 131 | ¥2.62 | 0 |
| linkedin / company.profile | Secours | 1 | ×131 | 131 | ¥2.62 | 0 |
| linkedin / post.detail | Secours | 1 | ×131 | 131 | ¥2.62 | 0 |
| amazon / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / category.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / category.report | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / category.report_history | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / category.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / category.keywords | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.search_from_name | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.reviews | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.customers_say | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.variations | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.traffic_terms | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / product.keyword_ranking | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / keyword.list | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / keyword.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / keyword.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / keyword.extends | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| amazon / keyword.search_results | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / category.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / category.report | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / product.search_from_name | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / product.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / product.variations | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / product.traffic_terms | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / keyword.list | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / keyword.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / keyword.extends | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| walmart / keyword.search_results | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / category.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / category.report | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / category.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / product.search_from_name | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / product.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / keyword.list | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / keyword.search_results | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| shopee / shop.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / category.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / category.report | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / product.search_from_name | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| temu / product.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / category.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / category.report | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / category.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / product.search_from_name | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / product.trend | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / shop.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| tiktokshop / shop.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| 1688 / category.tree | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| 1688 / product.search | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| 1688 / product.detail | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| 1688 / product.variations | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| 1688 / product.similar_sourcing | Standard | 1 | ×1 | 1 | ¥0.02 | 30 |
| reddit / posts.search | Standard | — | — | Tarif à confirmer | — | — |
| reddit / comments.search | Standard | — | — | Tarif à confirmer | — | — |
| reddit / comments.thread | Standard | — | — | Tarif à confirmer | — | — |
Les points d’accès sans tarif vérifié sont temporairement indisponibles. Le tarif de secours inclut le budget de coût de la tentative principale échouée. Consultez le registre réel.
Débit par appel = crédits par exécution × exécutions. 1 crédit = ¥0,02. Le tarif de chaque endpoint dépend de son niveau ; consultez les /pricing.json (prix par plateforme inclus).