Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Temu Batch Products

Tài liệu API
https://api.sandbase.ai/v1/api/temu/batch-get-products

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.

Giá
$0.03USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 3 tùy chọn

Phòng thử nghiệm

Đầu vào
JSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
Locale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').
If true, include the flat normalized DTO per product.
If true, include the raw API response data per product.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Temu Batch Products API

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.

Request

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.

Parameters

NameTypeRequiredDescription
product_idsstringYesJSON array of numeric product ID strings (up to 40). Example: '["605731197670167","605714873454696"]'.
include_dtobooleanNoIf true, include the flat normalized DTO per product.
include_rawbooleanNoIf true, include the raw API response data per product.
localestringNoLocale/language code for localized results (e.g. 'en', 'it', 'de', 'fr', 'es').

Pricing

Flat $0.03 per call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Temu$0.03 mỗi lần gọiJSON
Temu$0.03 mỗi lần gọiJSON
Temu$0.03 mỗi lần gọiJSON
Temu$0.03 mỗi lần gọiJSON
Temu$0.03 mỗi lần gọiJSON
Temu$0.03 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Temu Batch Products?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/temu/batch-get-products với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Temu Batch Products có giá bao nhiêu?

$0.03 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Temu Batch Products chấp nhận những tham số nào?

Bắt buộc: product_ids (string). Tùy chọn: locale (string), include_dto (boolean) và include_raw (boolean). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Temu Batch Products trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ).

Tôi có cần tài khoản nhà phát triển hoặc API key của Temu không?

Không. Temu Batch Products chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Temu.