# XingtuCreatorPost

> 星圖達人的一條影片，以及星圖給出的資料。

網頁版：https://okdata.online/zh/docs/objects/xingtu_creator_post/

所有平台同一種結構。平台沒有的欄位為 null，meta.unavailable 會說明原因。用 fields= 只取需要的欄位。

| 欄位 | 型別 | 說明 |
|---|---|---|
| `id` | string | 影片 ID，抖音影片介面可直接使用。 |
| `url` | string \| null | 影片連結。 |
| `title` | string \| null | 影片文案。 |
| `published_at` | string \| null | 釋出時間。 |
| `duration` | number \| null | 時長（秒）。 |
| `metrics` | XingtuPostMetrics | 影片資料。 |
| `ext` | object | 平台特有欄位，只在 view=full 時返回。 |

### XingtuPostMetrics

| 欄位 | 型別 | 說明 |
|---|---|---|
| `views` | integer \| null | 播放數。 |
| `likes` | integer \| null | 點贊數。 |
| `comments` | integer \| null | 評論數。 |
| `completion_rate` | number \| null | 完播率，0 到 1。 |
| `engagement_rate` | number \| null | 互動率，0 到 1。 |

## 返回 XingtuCreatorPost 的介面

- [抖音星圖達人作品表現](https://okdata.online/zh/apis/douyin/xingtu/creators/videos/list/) (`douyin.xingtu.creators.videos.list`): $0.004/次 · 每頁約 20 條影片

## 各 view 返回的欄位

每一級 view 都包含上一級的欄位。`view=compact` 最精簡；`full` 會在 `ext` 里加上平台特有欄位。

- compact：`id`, `url`, `title`, `published_at`, `metrics`
- standard：`duration`
- full：`ext`
