temu
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 à temu. REST et MCP sont deux interfaces pour les mêmes outils.
| Élément | Valeur |
|---|---|
| MCP(Streamable HTTP) | https://claudebaby.cn/mcp/temu |
| MCP(SSE) | https://claudebaby.cn/sse/temu |
| MCP(stdio) | claudebaby-mcp --platform temu |
| Récupération via REST | POST https://claudebaby.cn/v1/ecommerce/temu/tools/{tool} |
| Liste des endpoints REST | https://claudebaby.cn/v1/ecommerce/temu/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 à temu. 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-temu https://claudebaby.cn/mcp/temu \
--header "Authorization: Bearer $CB_KEY"
# Une fois connecté, lancez /mcp dans la session pour voir les outils{
"mcpServers": {
"claudebaby-temu": {
"type": "http",
"url": "https://claudebaby.cn/mcp/temu",
"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 temuLes 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 7 endpoints.
| Endpoint | Paramètres | Description |
|---|---|---|
| temu_category_tree | site:string · node_id:string | Browse the Temu category tree for one site. |
| temu_category_search_from_name | name*:string · site:string | Find Temu categories by name and get their node ids. |
| temu_category_request | node_id*:string · page:integer · site:string | Best-selling products under a Temu category. |
| temu_product_search | node_id:string · brand:string · seller_name:string · price_min:string · price_max:string · sales_min:string · sales_max:string · star_min:string · star_max:string · comment_count_min:string · comment_count_max:string · site:string · page:integer | Search Temu products with filters, sorted by monthly sales. |
| temu_product_search_from_name | name*:string · site:string · page:integer | Search Temu products by name; 20 per page. |
| temu_product_request | product_id*:string · site:string | Full detail record of a single Temu product. |
| temu_product_trend | product_id*:string · start_date:string · end_date:string · site:string | Historical trend of a Temu product (sales / price / comments / star). |
Exemple de recherche : anker
L’exemple utilise anker comme terme de recherche pour appeler temu temu_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/temu/tools.
export CB_KEY=cb_live_xxx
curl -s -X POST https://claudebaby.cn/v1/ecommerce/temu/tools/temu_category_search_from_name \
-H "Authorization: Bearer $CB_KEY" \
-H "Content-Type: application/json" \
-d '{"name": "anker"}'{
"ok": true,
"data": {
"…": Réponse de "temu_category_search_from_name ; les champs varient selon l’outil"
},
"meta": {
"platform": "temu",
"domain": "ecommerce",
"tool": "temu_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).