# Douyin Hot Account Fan Portrait API

> Returns fan portrait metrics and demographic distribution data for a Douyin account using its secure user ID and portrait option filter.

Source: https://www.sandbase.ai/model/douyin/billboard/hot-account-fans-portrait-list
API reference: https://www.sandbase.ai/model/douyin/billboard/hot-account-fans-portrait-list/docs

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `sec_uid` | string | yes |  |
| `option` | integer | no |  |

## FAQ

### How do I use the Douyin Hot Account Fan Portrait API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-portrait-list 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 Account Fan Portrait 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 Hot Account Fan Portrait API accept?

Required: sec_uid (string). Optional: option (integer). The Parameters table and the Playground on this page list every field.

### What does the Douyin Hot Account Fan Portrait 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 Hot Account Fan Portrait 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 Account Fan Portrait API

Retrieve audience demographic distribution and portrait metrics for a specific Douyin account using `sec_uid` and an optional `option` setting.

#### Use cases

- Analyze demographic breakdowns of a Douyin creator audience.
- Evaluate audience alignment for influencer partnership selection.
- Track fan base characteristics across trending Douyin accounts.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-fans-portrait-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `sec_uid` | string | Yes | User sec_id |
| `option` | integer | No | Option |

#### Example response

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

```json
{
  "data": {
    "portrait": {
      "portrait_data": [
        {
          "name": "2000~2999",
          "value": 0.24706867671691793
        }
      ]
    }
  }
}
```

#### Notes

- Requires the target creator secure user ID passed in `sec_uid`.
- Accepts an optional integer in `option` to configure portrait categories.

#### Related APIs

- [Douyin Billboard City List](/model/douyin/billboard/city-list): Returns the list of Chinese cities supported by Douyin billboard rankings.
- [Douyin Billboard Vertical Content Tags](/model/douyin/billboard/content-tag): Returns a list of vertical content tags available on the Douyin billboard platform.
- [Douyin Fan Interest Account List](/model/douyin/billboard/hot-account-fans-interest-account-list): Returns a list of 20 accounts that followers of a target creator are interested in on Douyin.
