querystringआवश्यक
Search keyword (e.g. 'wireless earbuds', 'kitchen gadgets').
https://api.sandbase.ai/v1/api/temu/search-productsFull-text search over Temu's product catalog by keyword.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
Full-text search over Temu's product catalog by keyword.
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "temu/search-products", "limit": 10, "query": "wireless earbuds", "locale": "en", "offset": 0, "price_max": 50.0, "price_min": 5.0}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword (e.g. 'wireless earbuds', 'kitchen gadgets'). |
limit | integer | No | Number of results to return per page. |
locale | string | No | Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). Controls language of titles and currency of prices. |
offset | integer | No | Offset for pagination. Advance by limit for the next page. |
price_max | number | No | Maximum price in USD. Only products with a price <= this value are returned. |
price_min | number | No | Minimum price in USD. Only products with a price >= this value are returned. |
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/search-products" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 10,
"query": "wireless earbuds",
"locale": "en",
"offset": 0,
"price_max": 50,
"price_min": 5
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
querystringआवश्यकSearch keyword (e.g. 'wireless earbuds', 'kitchen gadgets').
limitintegerNumber of results to return per page.
डिफ़ॉल्ट: 48
localestringLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es'). Controls language of titles and currency of prices.
डिफ़ॉल्ट: "en"
offsetintegerOffset for pagination. Advance by `limit` for the next page.
डिफ़ॉल्ट: 0
price_maxnumberMaximum price in USD. Only products with a price <= this value are returned.
price_minnumberMinimum price in USD. Only products with a price >= this value are returned.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Temu Search 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/search-products पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.03 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
आवश्यक: query (string)। वैकल्पिक: limit (integer), locale (string), offset (integer), price_max (number) और price_min (number)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)।
नहीं। Temu Search Products SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Temu API access के लिए आवेदन करने की आवश्यकता नहीं है।