# TikTok Video Comment Keywords API

> Returns extracted keywords and topics from user comments on a TikTok video. Queries are filtered by the unique video identifier.

Source: https://www.sandbase.ai/apis/tiktok/analytics/comment-keywords
API reference: https://www.sandbase.ai/apis/tiktok/analytics/comment-keywords/docs

## Facts

- Provider: TikTok
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, tiktok
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `item_id` | string | yes |  |

## FAQ

### How do I use the TikTok Video Comment Keywords API?

Send a POST request to https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the TikTok Video Comment Keywords API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the TikTok Video Comment Keywords API accept?

Required: item_id (string). The Parameters table and the Playground on this page list every field.

### What does the TikTok Video Comment Keywords API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a TikTok developer account or API key?

No. TikTok Video Comment Keywords runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for TikTok API access separately.

## README

### TikTok Video Comment Keywords API

Analyze audience feedback by inspecting frequent keywords from video comments using `item_id`.

#### Use cases

- Identify common viewer topics across video comments.
- Extract audience feedback to refine video content strategy.
- Track recurring phrases mentioned by viewers.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "7350810998023949599"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `item_id` | string | Yes | Video ID, required parameter, can be obtained from video sharing links or TikTok Studio |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "key_words": {
    "comment_key_words": [
      {
        "key_word": "pretty sure"
      }
    ]
  }
}
```

#### Notes

- Find the required `item_id` in TikTok Studio or inside video sharing links.

#### Related APIs

- [TikTok Creator Info and Milestones](/model/tiktok/analytics/creator-info-and-milestones): Returns creator details and milestone history for a specified TikTok account.
- [Detect fake views in video](/model/tiktok/analytics/detect-fake-views): Check whether a TikTok video has fake views.
- [TikTok Video Metrics](/model/tiktok/analytics/video-metrics): Retrieve detailed analytics for TikTok videos, including total views, likes, comments, favorites, and 14-day daily performance trends using a video identifier.
