# Temu 主页或对象详情 API (temu.profile)

- Canonical page: [https://everyinfra.com/temu-api/profile](https://everyinfra.com/temu-api/profile?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "temu", "action": "profile", "params": {...}}
- Price: $0.002389 per call ($2.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=temu&action=profile

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | profile 需要 url。接受完整商品链接、goods.html?goods_id=...、-g-ID.html 或纯数字商品 ID。有效 ID 也可能没有数据。 |
| product_url | not declared | no | not declared | url 的商品链接兼容输入，优先级低于 url；公开接口仍要求 url。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| product_id | 商品 ID。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| url | 该记录在原平台上的可访问链接。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| original_price | 原价。 |
| discount_pct | 折扣百分比。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| sold_count | 销量数值。 |
| sold_text | 销量展示文本（如 "10K+ sold"），是区间不是精确值。 |
| shop_name | 店铺名。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| keywords | platform-native meaning |
| description | 简介或描述，通常比 text 短。 |
| shipping | 配送说明。 |
| availability | 库存状态。 |
| in_stock | 是否有货。 |
| free_shipping | 是否包邮。 |
| is_trending | 是否为趋势商品。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| images | 商品主图（商品页图集），不含 A+ 详情图和描述区图片。 |
| video_url | 商品视频链接（如有）。 |
| specifications | 商品级完整属性表（键值对，如 Material: Plastic）；null 表示页面未提供。 |
| options | 选项名称、属性及其图片。仅供展示，不是平台 SKU 标识，也不含各选项的价格或库存。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "temu",
  "action": "profile",
  "params": {
    "url": "https://www.temu.com/goods.html?goods_id=601103236118964"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "temu",
        "action": "profile",
        "params": {
            "url": "https://www.temu.com/goods.html?goods_id=601103236118964",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "temu",
  "action": "profile",
  "results": {
    "product_id": "601103236118964",
    "title": "Phone Case - Luxury Clear Bumper Cases for Iphone ••• Pro Max 17 Air 16 15 14 Plus X Xs Max Xr 8 7 Plus Transparent Back Cover",
    "url": "https://www.temu.com/transparent-back-covers-for--for-iphone-models-including-the-pro-max-and-plus--g-601103236118964.html",
    "price": 1.02,
    "currency": "USD",
    "rating": 4.8,
    "review_count": 359,
    "category": "Cases, Holsters & Sleeves",
    "description": "Check out this Phone Case - Luxury Clear Bumper Cases for Iphone ••• Pro Max 17 Air 16 15 14 Plus X Xs Max Xr 8 7 Plus Transparent Back Cover on Temu. Shop * trends. * * like other cell phones & accessories products.",
    "in_stock": true,
    "image_url": "https://img.kwcdn.com/product/fancy/f63509ef-49e5-4f85-94b0-e7b7e4174e97.jpg",
    "images": [
      "https://img.kwcdn.com/product/fancy/f63509ef-49e5-4f85-94b0-e7b7e4174e97.jpg",
      "https://img.kwcdn.com/product/fancy/fecc168d-46c2-4f69-acae-b672c5c87fe6.jpg"
    ],
    "specifications": {
      "Material": "TPU"
    },
    "options": [
      {
        "name": "Option: Iphone 7 8 *3 transparent",
        "properties": {
          "Option": "Iphone 7 8 *3 transparent"
        },
        "image_url": "https://img.kwcdn.com/product/fancy/f63509ef-49e5-4f85-94b0-e7b7e4174e97.jpg"
      },
      {
        "name": "Option: Iphone 7 plus 8 plus transparent",
        "properties": {
          "Option": "Iphone 7 plus 8 plus transparent"
        },
        "image_url": "https://img.kwcdn.com/product/fancy/f63509ef-49e5-4f85-94b0-e7b7e4174e97.jpg"
      },
      {
        "name": "Option: Iphone x xs transparent",
        "properties": {
          "Option": "Iphone x xs transparent"
        },
        "image_url": "https://img.kwcdn.com/product/fancy/f63509ef-49e5-4f85-94b0-e7b7e4174e97.jpg"
      }
    ],
    "platform": "temu",
    "rating_scale": 5
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=temu
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
