product_idsstringआवश्यक
JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
https://api.sandbase.ai/v1/api/temu/batch-get-productsBatch fetch product data for multiple product IDs in one call (up to 40). For each product ID, returns both raw API data and a flat normalized DTO. Each product result carries its own status field so single failures don't break the batch. Products are looked up via Temu's catalog search by goods_id.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Batch fetch product data for multiple product IDs in one call (up to 40). For each product ID, returns both raw API data and a flat normalized DTO. Each product result carries its own status field so single failures don't break the batch. Products are looked up via Temu's catalog search by goods_id.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "temu/batch-get-products", "locale": "en", "include_dto": true, "include_raw": true, "product_ids": "[\"605731197670167\"]"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
product_ids | string | Yes | JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'. |
include_dto | boolean | No | If true, include the flat normalized DTO per product. |
include_raw | boolean | No | If true, include the raw API response data per product. |
locale | string | No | Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). |
Flat $0.03 per call. Failed calls are not charged.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/temu/batch-get-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"locale": "en",
"include_dto": true,
"include_raw": true,
"product_ids": "[\"605731197670167\"]"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
product_idsstringआवश्यकJSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
localestringLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').
डिफ़ॉल्ट: "en"
include_dtobooleanIf true, include the flat normalized DTO per product.
डिफ़ॉल्ट: true
include_rawbooleanIf true, include the raw API response data per product.
डिफ़ॉल्ट: true
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Temu Batch Productsयह API Temu | $0.03 प्रति कॉल | JSON |
Temu | $0.03 प्रति कॉल | JSON |
Temu | $0.03 प्रति कॉल | JSON |
Temu | $0.03 प्रति कॉल | JSON |
Temu | $0.03 प्रति कॉल | JSON |
Temu | $0.03 प्रति कॉल | JSON |
प्रश्न
https://api.sandbase.ai/v1/api/temu/batch-get-products पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.03 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: product_ids (string)। वैकल्पिक: locale (string), include_dto (boolean) और include_raw (boolean)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Temu Batch Products SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Temu API access के लिए आवेदन करने की आवश्यकता नहीं है।