# Douyin User Search (Search) API

> Returns a list of Douyin users matching search keywords. Supports filtering by fan count and user type with cursor-based pagination.

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

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `cursor` | integer | no |  |
| `douyin_user_fans` | string | no |  |
| `douyin_user_type` | string | no |  |
| `keyword` | string | no |  |
| `search_id` | string | no |  |

## FAQ

### How do I use the Douyin User Search (Search) API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/search/user-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 User Search (Search) 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 User Search (Search) API accept?

No parameters are required. Optional: cursor (integer), douyin_user_fans (string), douyin_user_type (string), keyword (string) and search_id (string). The Parameters table and the Playground on this page list every field.

### What does the Douyin User Search (Search) 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 User Search (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 User Search (Search) API

Search for Douyin accounts by entering a query term in `keyword`. Results can be refined using `douyin_user_fans` and `douyin_user_type`.

#### Use cases

- Discover Douyin creators by niche keywords.
- Filter account search results by fan count brackets.
- Identify verified or specific categories of Douyin users.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `cursor` | integer | No | Pagination cursor (0 for first page) |
| `keyword` | string | No | Search keyword, e.g., "AI" |
| `search_id` | string | No | Search session ID for pagination |
| `douyin_user_fans` | string | No | Fan count filter |
| `douyin_user_type` | string | No | User type filter |

#### Example response

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

```json
{
  "user_list": [
    {
      "dynamic_patch": {
        "origin_type": 4
      }
    }
  ]
}
```

#### Notes

- Use `cursor` starting at 0 for the first page of results.
- Pass `search_id` to maintain the search session across paginated requests.

#### 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 Hashtag Suggestions](/model/douyin/search/challenge-suggest): Returns a list of suggested Douyin hashtags and challenges matching a query keyword, including challenge IDs and view counts.
