# Douyin Search Suggestions API

> Get Douyin search autocomplete suggestions for a keyword: the related queries users see while typing in the Douyin app.

Source: https://www.sandbase.ai/apis/douyin/search/search-suggest
API reference: https://www.sandbase.ai/apis/douyin/search/search-suggest/docs

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/search/search-suggest`
- Price: $0.01 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/search/search-suggest` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | no |  |

## FAQ

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

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

$0.01 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 Search Suggestions API accept?

No parameters are required. Optional: keyword (string). The Parameters table and the Playground on this page list every field.

### What does the Douyin Search Suggestions 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 Search Suggestions 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 Search Suggestions API

Pass a keyword and get the search suggestions Douyin shows in its search box.

#### Use cases

- Research long-tail keywords for Douyin SEO.
- Understand how users search for a topic.
- Generate keyword lists for content planning.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/search-suggest" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | No | Input keyword, e.g., "Artificial Intelligence" |

#### Example response

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

```json
{
  "sug_list": [
    {
      "content": "人工智能",
      "word_record": {
        "group_id": "6527568579963917582",
        "words_content": "人工智能",
        "words_position": 0,
        "words_source": "sug"
      }
    }
  ]
}
```

#### Related APIs

- [Douyin General Search](/model/douyin/search/general-search-v1): Search Douyin (Chinese TikTok) from the app's general search tab and get videos with descriptions, authors and play, like, comment and share counts.
- [Douyin Video Search (V1)](/model/douyin/search/video-search-v1): Search Douyin videos by keyword: descriptions, authors and play, like, comment and share counts, with sort, publish-time, duration and content-type filters.
- [Douyin Video Search](/model/douyin/search/video-search-v2): Search Douyin videos by keyword and get descriptions, authors and play, like, comment and share counts.
