API DocstiktokDataDetect fake views in video
Detect fake views in video
What this API is for
- Analyze TikTok video traffic data using advanced algorithms to precisely detect potential fake views and unnatural engagement
- Evaluate content authenticity and traffic quality based on TikTok's Traffic Pool theory
- Provide comprehensive fraud risk analysis with in-depth assessment across 8 dimensions and 20+ metrics
- Deliver professional traffic quality reports and optimization recommendations for creators, MCN agencies, and content managers
GET
/openapi/api/v1/tiktok/analytics/detect_fake_viewsPrice: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
- item_id: Video ID, required parameter, can be extracted from video URL (e.g., 7460937381265411370 from https://www.tiktok.com/@tiktok/video/7460937381265411370)
- content_category: Content category, optional parameter, affects engagement rate benchmarks, options include:
- default: Default category for general content
- entertainment: Entertainment content, expected to have higher engagement
- education: Educational content, expected to have moderate engagement and higher save rates
- product: Product content, expected to have lower engagement but higher conversion
- verified_large: Large verified accounts, expected to have appropriately lower engagement rates
| Name | Location / type | Required | Notes | Example |
|---|---|---|---|---|
| item_id | query / string | Yes |
| 7460937381265411370 |
| content_category | query / string | No |
|
Request examples
curl -X GET "https://api.trmesh.com/openapi/api/v1/tiktok/analytics/detect_fake_views" \ -H "Authorization: Bearer sdc_your_project_token" \ -H "Accept: application/json"
Response fields
- video_metrics: Core video metrics
- total_views: Total number of views
- total_likes: Total number of likes
- total_comments: Total number of comments
- total_favorites: Total number of saves
- total_shares: Total number of shares
- engagement_rates: Engagement rate metrics, higher is better
- like_ratio: Like rate, normal range 1-10%, may be lower for large accounts
- comment_ratio: Comment rate, normal range 0.1-0.5%, excellent if above 1%
- favorite_ratio: Save rate, normal range 0.05-0.8%
- share_ratio: Share rate, normal range 0.05-0.5%, excellent if above 1%
- creator_metrics: Creator account health indicators
- account_age_days: Account age in days, longer is more credible
- follower_count: Number of followers, affects expected view count
- verified: Whether account is verified, verified accounts have higher credibility
- trust_score: Account trust score (0-100), higher is more trustworthy
- content_metrics: Content quality indicators
- content_type: Content type (video, image, etc.)
- created_by_ai: Whether AI-generated, AI-generated content may have specific traffic patterns
- high_quality_upload: Whether high-quality upload, high-quality uploads are more credible
- fake_view_analysis: Comprehensive fake traffic analysis
- fake_score: Fake view score (0-100), lower is better:
- 0-20: Very low risk, natural traffic patterns
- 20-40: Low risk, may have minor anomalies but not problematic
- 40-60: Medium risk, anomalies worth attention
- 60-80: High risk, obvious fake traffic characteristics
- 80-100: Very high risk, almost certainly fake traffic
- confidence_level: Risk level, categorized as "Minimal", "Low", "Medium", "High"
- estimated_fake_views: Estimated fake views, calculated based on fake traffic model
- fake_view_percentage: Fake view percentage, proportion of fake views to total views
- is_suspicious: Whether suspicious, comprehensive judgment if attention is needed
- main_detection_reason: Main detection reason, most significant anomaly feature
- component_scores: Dimensional anomaly scores, each 0-100, lower is better:
- engagement_score: Engagement anomaly score
- distribution_score: Distribution anomaly score
- consistency_score: Consistency anomaly score
- creator_credibility_score: Creator credibility anomaly score
- content_authenticity_score: Content authenticity anomaly score
- follower_correlation_score: Follower correlation anomaly score
- racing_mechanism_score: Racing mechanism anomaly score
- fan_growth_score: Fan growth anomaly score
- traffic_pool: Traffic pool analysis (TikTok racing mechanism)
- current_tier: Current traffic pool level (1-8), higher means more traffic
- current_tier_name: Current traffic pool name
- expected_tier: Expected traffic pool level, based on organic traffic prediction
- expected_tier_name: Expected traffic pool name
- current_views_range: Current traffic pool expected view range
- expected_views_range: Expected traffic pool view range
- estimated_organic_views: Estimated organic views, real views after deducting fake ones
- suspicious_features: List of suspicious features, specific detected anomalies
- recommendations: Recommended actions
- action: Recommended action type, possible values include:
- no_action: No action needed, healthy content
- monitor: Continuous monitoring, minor anomalies present
- scheduled_review: Schedule review, anomalies worth attention
- immediate_review: Immediate review, serious anomalies present
- risk_level: Risk level ("low", "medium", "high", "critical")
- potential_revenue_impact: Potential revenue impact
- suggested_steps: Suggested steps, specific action recommendations
- mcn_report: (Optional) MCN business impact analysis report, applicable for business accounts
- summary: Summary information
- business_impact: Business impact assessment
- revenue_impact: Revenue impact assessment
- brand_safety_impact: Brand safety impact
- platform_relationship: Platform relationship impact
- contract_impact: Contract impact assessment
- recommended_actions: Recommended action list
- historical_context: Historical background data
| Field | Type | Notes | Example |
|---|---|---|---|
| video_metrics | unknown |
| |
| total_views | unknown |
| |
| total_likes | unknown |
| |
| total_comments | unknown |
| |
| total_favorites | unknown |
| |
| total_shares | unknown |
| |
| engagement_rates | unknown |
| |
| like_ratio | unknown |
| |
| comment_ratio | unknown |
| |
| favorite_ratio | unknown |
| |
| share_ratio | unknown |
| |
| creator_metrics | unknown |
| |
| account_age_days | unknown |
| |
| follower_count | unknown |
| |
| verified | unknown |
| |
| trust_score | unknown |
| |
| content_metrics | unknown |
| |
| content_type | unknown |
| |
| created_by_ai | unknown |
| |
| high_quality_upload | unknown |
| |
| fake_view_analysis | unknown |
| |
| fake_score | unknown |
| |
| confidence_level | unknown |
| |
| estimated_fake_views | unknown |
| |
| fake_view_percentage | unknown |
| |
| is_suspicious | unknown |
| |
| main_detection_reason | unknown |
| |
| component_scores | unknown |
| |
| engagement_score | unknown |
| |
| distribution_score | unknown |
| |
| consistency_score | unknown |
| |
| creator_credibility_score | unknown |
| |
| content_authenticity_score | unknown |
| |
| follower_correlation_score | unknown |
| |
| racing_mechanism_score | unknown |
| |
| fan_growth_score | unknown |
| |
| traffic_pool | unknown |
| |
| current_tier | unknown |
| |
| current_tier_name | unknown |
| |
| expected_tier | unknown |
| |
| expected_tier_name | unknown |
| |
| current_views_range | unknown |
| |
| expected_views_range | unknown |
| |
| estimated_organic_views | unknown |
| |
| suspicious_features | unknown |
| |
| recommendations | unknown |
| |
| action | unknown |
| |
| no_action | unknown |
| |
| monitor | unknown |
| |
| scheduled_review | unknown |
| |
| immediate_review | unknown |
| |
| risk_level | unknown |
| |
| potential_revenue_impact | unknown |
| |
| suggested_steps | unknown |
| |
| mcn_report | unknown |
| |
| summary | unknown |
| |
| business_impact | unknown |
| |
| revenue_impact | unknown |
| |
| brand_safety_impact | unknown |
| |
| platform_relationship | unknown |
| |
| contract_impact | unknown |
| |
| recommended_actions | unknown |
| |
| historical_context | 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