# Douyin Hashtag Suggestions API

> Returns a list of suggested Douyin hashtags and challenges matching a query keyword, including challenge IDs and view counts.

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

## Facts

- Provider: Douyin
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/douyin/search/challenge-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/challenge-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 Hashtag Suggestions API?

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

Retrieve autocomplete challenge and hashtag suggestions from Douyin based on a `keyword` input.

#### Use cases

- Autocomplete hashtag inputs in search and tag selection tools.
- Discover related Douyin challenges and their total view counts.
- Identify popular tags matching specific topic keywords.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | No | Search keyword, e.g., "game" |

#### Example response

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

```json
{
  "sug_list": [
    {
      "cha_name": "游戏",
      "group_id": "6596155186173973764",
      "tag": 0,
      "view_count": 739698965727
    }
  ]
}
```

#### Notes

- Query related challenges by providing search text in `keyword`.

#### Related APIs

- [Douyin Challenge Search](/model/douyin/search/challenge-search-v1): Returns Douyin challenge and hashtag search results matching a query.
- [Douyin Hashtag Challenge Search (V2)](/model/douyin/search/challenge-search-v2): Returns Douyin hashtag and challenge search results matching a query keyword.
- [Douyin Discussion Search](/model/douyin/search/discuss-search): Returns discussion and question-and-answer search results from Douyin.
