---
title: "Product Trend"
method: GET
path: "/api/products/{pid}/trend"
---

# Product Trend

`GET /api/products/{pid}/trend`

## Request

- Base URL: `https://smartcrawler.io` (the document declares no server; this is the origin it was published from)
- URL: `https://smartcrawler.io/api/products/{pid}/trend`
- Auth: none declared

单品趋势分析 —— 销售/收入/价格/评分/评论 + SKU 促销明细。

## Path parameters

- `pid` integer, required

## Query parameters

- `granularity` string
- `date_from` string, nullable
- `date_to` string, nullable
- `promo_search` string, nullable
- `promo_type` string, nullable
- `promo_sku` string, nullable
- `promo_date_from` string, nullable
- `promo_date_to` string, nullable
- `promo_page` integer
- `promo_page_size` integer

## Headers

- `X-Workspace-ID` string, nullable
- `authorization` string
- `X-API-Key` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent.md) · [All operations](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/llms.txt) · [OpenAPI document](https://skmtc.dev/smartcrawler/apis/smart-crawler-ai-agent/revisions/a0eb313934e4?raw)
