# 得物 Dewu 商品价格概要 API (dewu.product_summary)

- Canonical page: [https://everyinfra.com/dewu-api/product_summary](https://everyinfra.com/dewu-api/product_summary?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "dewu", "action": "product_summary", "params": {...}}
- Price: $0.005556 per call ($5.56 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=dewu&action=product_summary

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 得物商品定位。product_summary 接受得物商品 SPU 数字 ID、受支持的 fast.dewu.com / m.dewu.com / www.dewu.com 商品链接，或能安全跳转到唯一 SPU 的 dw4.co 分享链接。返回商品级价格概要，不承诺逐尺码价格、库存或可售状态。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| spu_id | 得物商品 SPU 标识。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| original_title | 公开记录中存在时返回的原始商品标题。 |
| brand_id | 得物公开记录中的品牌标识。 |
| brand | 品牌名称。 |
| article_number | 品牌或制造商货号。 |
| category_id | 得物商品分类标识。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| price_min | 本次商品概要中的最低人民币价格；不是逐尺码报价。 |
| price_max | 本次商品概要中的最高人民币价格；不是逐尺码报价。 |
| official_retail_price | 商品级官方或建议零售价；不代表当前逐尺码成交价。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| images | 商品公开图片 URL 列表。 |
| size_labels | 商品页公开的独立尺码/规格标签集合；不与 SKU 数组按位置对应。 |
| sku_count | 本次记录中出现的唯一 SKU ID 数量；不表示库存数量。 |
| fetched_at | 公开记录的采集时间，ISO 8601 格式。 |
| scope | 固定为 product_summary，明确该响应不是完整商品详情。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |
| selected_sku_id | 输入分享链接明确选择且在返回 SKU 列表中验证存在的 SKU ID；不附带逐码价格、库存或可售推断。 |

## 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": "dewu",
  "action": "product_summary",
  "params": {
    "url": "https://www.dewu.com/product-detail.html?spuId=<SPU_ID>"
  }
}'
```

```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": "dewu",
        "action": "product_summary",
        "params": {
            "url": "https://www.dewu.com/product-detail.html?spuId=<SPU_ID>",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "dewu",
  "action": "product_summary",
  "results": {
    "spu_id": …,
    "url": …,
    "title": …,
    "original_title": …,
    "brand_id": …,
    "brand": …,
    "article_number": …,
    "category_id": …,
    "category": …,
    "price": …,
    "price_min": …,
    "price_max": …,
    "official_retail_price": …,
    "currency": …,
    "image_url": …,
    "images": …,
    "size_labels": …,
    "sku_count": …,
    "fetched_at": …,
    "scope": …,
    "platform": …,
    "selected_sku_id": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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