# Topic

> 해시태그 또는 토픽 페이지와 그 수치.

Canonical page: https://okdata.online/docs/objects/topic/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | ID; pass it as is to the endpoints that take one. |
| `name` | string | 토픽 이름. |
| `url` | string \| null | 토픽 페이지 링크. |
| `description` | string \| null | What the topic page says it is about; null when it says nothing. |
| `metrics` | TopicMetrics | 조회 시점의 수치. |
| `ext` | object | 플랫폼별 추가 필드. view=full일 때만 반환됩니다. |

### TopicMetrics

| Field | Type | Description |
|---|---|---|
| `views` | integer \| null | 토픽 페이지 조회 수. |
| `posts` | integer \| null | 토픽 아래 게시물 수. |

## Endpoints that return a Topic

- [Xiaohongshu 토픽 상세](https://okdata.online/apis/xiaohongshu/topics/get/) (`xiaohongshu.topics.get`): $0.02 per call
- [Douyin hashtag search](https://okdata.online/apis/douyin/hashtags/search/) (`douyin.hashtags.search`): $0.02 per call · about 20 results per page
- [Weibo topic search](https://okdata.online/apis/weibo/topics/search/) (`weibo.topics.search`): $0.002 per call · about 20 results per page
- [Zhihu topic search](https://okdata.online/apis/zhihu/topics/search/) (`zhihu.topics.search`): $0.002 per call · about 20 results per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `name`, `url`, `description`, `metrics`
- standard: —
- full: `ext`
