API DocstiktokContentGet Video Audience Analysis Data
Get Video Audience Analysis Data
What this API is for
- Retrieve audience profile statistics for a specified TikTok video, including gender distribution, age distribution, and regional distribution.
- Useful for accurately understanding the characteristics of the video audience to guide content creation, product selection, and marketing strategy optimization.
- Supports trend analysis across different time intervals (daily/weekly/monthly)
POST
/openapi/api/v1/tiktok/creator/get_video_audience_statsPrice:Price unavailable · Actual charges depend on free quota and account discounts
Authentication
All API requests require a Bearer project token in the Authorization header
Authorization header
Authorization: Bearer YOUR_API_TOKENRequest parameters
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| cookie | body / string | No |
| |
| proxy | body / string | null | No |
| |
| start_date | body / string | No |
| |
| item_id | body / string | Yes |
|
Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/tiktok/creator/get_video_audience_stats" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- segments:
- time_selector: Time filtering parameters (period, granularity, start_timestamp, end_timestamp)
- filter: Query conditions (creator_id, item_id)
- timed_profile: Audience profile statistics
- start_timestamp: Start timestamp
- end_timestamp: End timestamp
- stats:
- follower_genders: Gender distribution
- key: Gender ("female" or "male")
- value: Proportion (string, range 0-1)
- follower_ages: Age group distribution
- key: Age group (e.g., "18-24", "25-34")
- value: Proportion (string, range 0-1)
- follower_regions: Regional distribution
- key: Country code (e.g., "US")
- value: Proportion (string, range 0-1)
- profile_type: Profile type, fixed value 2 (Audience Profile)
| Field | Type | Notes | Example |
|---|---|---|---|
| time_selector | unknown |
| |
| filter | unknown |
| |
| timed_profile | unknown |
| |
| start_timestamp | unknown |
| |
| end_timestamp | unknown |
| |
| follower_genders | unknown |
| |
| key | unknown |
| |
| value | unknown |
| |
| follower_ages | unknown |
| |
| follower_regions | unknown |
| |
| profile_type | unknown |
|
Common response envelope
Common fields for response status, request identifiers and data
| Field | Type | Notes | Example |
|---|---|---|---|
| code | integer |
| |
| request_id | string | null |
| |
| message | string |
| |
| message_zh | string |
| |
| support | string |
| |
| time | string |
| |
| time_stamp | integer |
| |
| time_zone | string |
| |
| docs | string | null |
| |
| cache_message | string | null |
| |
| cache_message_zh | string | null |
| |
| cache_url | string | null |
| |
| router | string |
| |
| params | unknown |
| |
| data | unknown | null |
|
Errors and limits
The docs cover not only success responses, but also auth failures, rate limits, and data-service errors
| Code | Meaning | Notes |
|---|---|---|
| 200 | Success | The request completed and returned the standard response envelope. |
| 401 | Unauthorized | The token is missing, invalid, or no longer active. |
| 429 | Rate limited | The request exceeded token, user, or plan-level throughput limits. |
| 502 | Service unavailable | The gateway could not obtain a healthy result. Retry in a moment. |
Next steps
New to the API? Read the guide or explore examples