# KeywordAudience

> Who searches for or reads about a keyword, by age, gender, place and interest.

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

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 |
|---|---|---|
| `keyword` | string | 키워드. |
| `age` | KeywordSegment[] \| null | 연령대별. |
| `gender` | KeywordSegment[] \| null | 성별. |
| `province` | KeywordSegment[] \| null | 성(省)별. |
| `city` | KeywordSegment[] \| null | By city: the largest only, so the shares need not add up to 1. |
| `city_tier` | KeywordSegment[] \| null | 도시 등급별. |
| `interest` | KeywordSegment[] \| null | By interest; the shares need not add up to 1. |
| `ext` | object | 플랫폼별 추가 필드. view=full일 때만 반환됩니다. |

### KeywordSegment

| Field | Type | Description |
|---|---|---|
| `label` | string | 그룹(플랫폼 표기 그대로). |
| `share` | number \| null | The group's share of the keyword's audience, 0 to 1. |
| `tgi` | number \| null | TGI: how strongly the group leans to the keyword; 100 is the platform average. |

## Endpoints that return a KeywordAudience

- [Douyin 지수: 키워드 오디언스](https://okdata.online/apis/douyin/index/keywords/audience/get/) (`douyin.index.keywords.audience.get`): $0.002 per call

## 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: `keyword`, `age`, `gender`, `province`, `city`, `city_tier`, `interest`
- standard: —
- full: `ext`
