API DocsdouyinDataFetch author diagnosis
Fetch author diagnosis
What this API is for
- Get Douyin creator account diagnosis data and optimization suggestions
- Automatically analyze account performance for the past 7 days
- Provide assessment and improvement suggestions for key metrics
- Help creators understand account health and optimize content strategy
- **This API requires valid Douyin Creator Platform Cookie**
- **Use POST method, Cookie transmitted in request body, more secure**
- **No need to specify time range, system automatically fetches data for past 7 days**
POST
/openapi/api/v1/douyin/creator_v2/fetch_author_diagnosisPrice: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
- cookie: User's Douyin Creator Platform Cookie (required)
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| cookie | body / string | Yes |
| Your_Cookie_Here |
Request body example
{
"cookie": "Your_Cookie_Here"
}Request examples
curl -X POST "https://api.trmesh.com/openapi/api/v1/douyin/creator_v2/fetch_author_diagnosis" \ -H "Authorization: Bearer sdc_your_project_token"
Response fields
- Account diagnosis data including five core dimensions:
- **1. Engagement Index (Interact)**:
- **OwnValue**: Account's own engagement index value (comprehensive score of views, likes, comments, shares)
- **SimilarCount**: Total number of similar creators
- **AuthorRank**: Ranking percentile in account's historical data (0-1, higher means better current performance)
- **SimilarRank**: Ranking percentile among similar creators (0-1, higher means better ranking)
- **SimilarValue**: Average engagement index value of similar creators
- **Interpretation**: AuthorRank=0.26 means current engagement exceeds 26% of own history
- **Interpretation**: SimilarRank=0.52 means ranking exceeds 52% of similar creators
- **2. Net Fan Growth (NewFans)**:
- **OwnValue**: Net increase in followers during the period (new followers - unfollowers)
- **SimilarCount**: Total number of similar creators
- **AuthorRank**: Ranking percentile in account's historical fan growth data
- **SimilarRank**: Fan growth ranking percentile among similar creators
- **SimilarValue**: Average net fan growth of similar creators
- **Interpretation**: OwnValue=2 means net gain of 2 followers in this period
- **3. Video Views (PlayCnt)**:
- **OwnValue**: Total number of times works were viewed during the period
- **SimilarCount**: Total number of similar creators
- **AuthorRank**: Ranking percentile in account's historical view count
- **SimilarRank**: View count ranking percentile among similar creators
- **SimilarValue**: Average view count of similar creators
- **Interpretation**: OwnValue=192 means total views of 192 in this period
- **4. Video Completion Rate (PlayFinishRatio)**:
- **OwnValue**: Proportion of complete playbacks (decimal between 0-1)
- **SimilarCount**: Total number of similar creators
- **AuthorRank**: Ranking percentile in account's historical completion rate
- **SimilarRank**: Completion rate ranking percentile among similar creators
- **SimilarValue**: Average completion rate of similar creators
- **Interpretation**: OwnValue=0.15 means 15% completion rate
- **Tip**: Focus on first 3 seconds to improve retention
- **5. Publishing Activity (PublishActivation)**:
- **OwnValue**: Number of works published during the period
- **SimilarCount**: Total number of similar creators
- **AuthorRank**: Ranking percentile in account's historical publishing data
- **SimilarRank**: Publishing activity ranking percentile among similar creators
- **SimilarValue**: Average number of submissions by similar creators
- **Interpretation**: OwnValue=2 means published 2 works in this period
| Field | Type | Notes | Example |
|---|---|---|---|
| OwnValue | unknown |
| |
| SimilarCount | unknown |
| |
| AuthorRank | unknown |
| |
| SimilarRank | unknown |
| |
| SimilarValue | unknown |
| |
| Interpretation | unknown |
| |
| Tip | 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