# Douyin Hot Search API

> Search Douyin (TikTok China) content with optional keyword, category, video-type, ranking, pagination, engagement, and creator-follower filters. Use it to support trend discovery and campaign research.

Source: https://www.sandbase.ai/model/douyin/hot-search
API reference: https://www.sandbase.ai/model/douyin/hot-search/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/hot-search`
- Price: $0.04 per call
- Capabilities: api, douyin, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | no |  |
| `contentType` | string | no | ALL, FASHION, TECHNOLOGY, SCIENCE, PHOTOGRAPHY, FOOD, MOTHER_BABY, PARENTING, DRAMA, GAME, AUTOMOTIVE, ANIMAL, TRAVEL, DANCE, TRADITIONAL_CULTURE, ART, SPORTS, MUSIC, LIFE_RECORD, HOME_LIVING, LEISURE_ENTERTAINMENT, WORKPLACE, AGRICULTURE, CASUAL, ACG, MOVIE, TV_SERIES, VARIETY_SHOW, CELEBRITY, HUMANITIES_SOCIAL_SCIENCE, EDUCATION_CAMPUS, EMOTION, FINANCE, PUBLIC_WELFARE |
| `videoType` | string | no | ALL, XINGTU_VIDEO, NATURAL_VIDEO |
| `sortType` | string | no | COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE |
| `page` | integer | no |  |
| `likeCountMin` | integer | no |  |
| `likeCountMax` | integer | no |  |
| `commentCountMin` | integer | no |  |
| `commentCountMax` | integer | no |  |
| `shareCountMin` | integer | no |  |
| `shareCountMax` | integer | no |  |
| `interactionCountMin` | integer | no |  |
| `interactionCountMax` | integer | no |  |
| `followerCountMin` | integer | no |  |
| `followerCountMax` | integer | no |  |

## FAQ

### How do I use the Douyin Hot Search API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/hot-search 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 Hot Search API cost?

$0.04 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Douyin Hot Search API accept?

No parameters are required. Optional: keyword (string), contentType (one of ALL, FASHION, TECHNOLOGY, SCIENCE, PHOTOGRAPHY, FOOD, MOTHER_BABY, PARENTING, DRAMA, GAME, AUTOMOTIVE, ANIMAL, TRAVEL, DANCE, TRADITIONAL_CULTURE, ART, SPORTS, MUSIC, LIFE_RECORD, HOME_LIVING, LEISURE_ENTERTAINMENT, WORKPLACE, AGRICULTURE, CASUAL, ACG, MOVIE, TV_SERIES, VARIETY_SHOW, CELEBRITY, HUMANITIES_SOCIAL_SCIENCE, EDUCATION_CAMPUS, EMOTION, FINANCE, PUBLIC_WELFARE), videoType (one of ALL, XINGTU_VIDEO, NATURAL_VIDEO), sortType (one of COMPREHENSIVE, HIGH_INTERACTION, HIGH_LIKE, HIGH_COMMENT, HIGH_SHARE), page (integer) and likeCountMin (integer) and 9 more. The Parameters table and the Playground on this page list every field.

### What does the Douyin Hot Search API return?

A JSON response returned in the same HTTP request (synchronous).

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

No. Douyin Hot Search 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 Hot Search API

Search Douyin (TikTok China) content with optional keyword, category, video-type, ranking, pagination, engagement, and creator-follower filters. Use it to support trend discovery and campaign research.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "douyin/hot-search"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | No | Optional search keyword. |
| `contentType` | string | No | Top-level content type. Only one content type can be selected. |
| `videoType` | string | No | Video type filter. |
| `sortType` | string | No | Sorting criteria for hot content results. |
| `page` | integer | No | Page number (starting from 1). Page size is fixed at 10. |
| `likeCountMin` | integer | No | Minimum raw like count. |
| `likeCountMax` | integer | No | Maximum raw like count. |
| `commentCountMin` | integer | No | Minimum raw comment count. |
| `commentCountMax` | integer | No | Maximum raw comment count. |
| `shareCountMin` | integer | No | Minimum raw share count. |
| `shareCountMax` | integer | No | Maximum raw share count. |
| `interactionCountMin` | integer | No | Minimum raw interaction count. |
| `interactionCountMax` | integer | No | Maximum raw interaction count. |
| `followerCountMin` | integer | No | Minimum raw creator follower count. |
| `followerCountMax` | integer | No | Maximum raw creator follower count. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
