# Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) API

> Returns trending comment tokens and keywords for a Douyin creator. Queries metrics by author ID with options to exclude emojis and adjust token count.

Source: https://www.sandbase.ai/apis/douyin/xingtu-v2/author-hot-comment-tokens
API reference: https://www.sandbase.ai/apis/douyin/xingtu-v2/author-hot-comment-tokens/docs

## Facts

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

## Call it

`POST https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `author_id` | string | yes |  |
| `num` | integer | no |  |
| `without_emoji` | boolean | no |  |

## FAQ

### How do I use the Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens 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 Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) 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 Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) API accept?

Required: author_id (string). Optional: num (integer) and without_emoji (boolean). The Parameters table and the Playground on this page list every field.

### What does the Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) 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 Douyin developer account or API key?

No. Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) 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 Douyin API access separately.

## README

### Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) API

Retrieve top comment keywords and hot rates for a Douyin author by supplying `author_id`. You can configure the result size with `num` and filter out emojis using `without_emoji`.

#### Use cases

- Analyze popular topics and discussion themes in an author's comment section.
- Assess audience sentiment and trending keywords across creator posts.
- Benchmark audience engagement topics across multiple Xingtu creators.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"author_id": "7146074596666507300"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `author_id` | string | Yes | Creator/author ID |
| `num` | integer | No | Number of hot tokens, default 10 |
| `without_emoji` | boolean | No | Whether to exclude emoji, default True |

#### Example response

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

```json
{
  "hot_comment_tokens": [
    {
      "hot_rate": 1335
    }
  ]
}
```

#### Notes

- `num` defaults to 10 tokens.
- `without_emoji` defaults to true.

#### Related APIs

- [Douyin Xingtu Author Audience Distribution](/model/douyin/xingtu-v2/author-audience-distribution): Returns audience profile distribution metrics for a specified Xingtu creator based on creator ID and link type, with selectable platform source and channel opt…
- [Douyin Xingtu Author Base Info](/model/douyin/xingtu-v2/author-base-info): Returns basic creator profile data from Douyin Xingtu by author identifier, with options to include recommendation details and linkage information.
- [Douyin Xingtu Author Business Card Info](/model/douyin/xingtu-v2/author-business-card-info): Returns business card details for a Douyin Xingtu creator based on the specified author ID.
