# Dewu Product price summary API (dewu.product_summary)

- Canonical page: [https://everyinfra.com/en/dewu-api/product_summary](https://everyinfra.com/en/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 | For product_summary, provide one positive numeric Dewu SPU, a supported Dewu product URL, or one dw4.co share link that safely resolves to a unique SPU. The result is a product-level summary and does not promise per-size price, stock, or buyability. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| spu_id | platform-native meaning |
| url | Link to the record on the platform. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| original_title | platform-native meaning |
| brand_id | platform-native meaning |
| brand | platform-native meaning |
| article_number | platform-native meaning |
| category_id | platform-native meaning |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| price | Price as a number without a currency symbol; see currency. |
| price_min | platform-native meaning |
| price_max | platform-native meaning |
| official_retail_price | platform-native meaning |
| currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| images | Array of image links in the platform's display order; absent when there are no images. |
| size_labels | platform-native meaning |
| sku_count | platform-native meaning |
| fetched_at | platform-native meaning |
| scope | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| selected_sku_id | platform-native meaning |

## 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
