Nexscope

TikTok Video Rankings

Rank TikTok videos by available performance measures to identify content worth reviewing for product and creator research.

CostRecent 22 credits / call
Try online
POST · https://api.nexscope.ai/kd/video/rankMCP · nexscope_data_kd_video_rank

What this API does

Rank TikTok videos by available performance measures to identify content worth reviewing for product and creator research. The request accepts region, dateRange, pageNumber, pageSize, language. Its documented result includes errcode, errmsg, video_id, video_title, views, digg_count, comment_count, share_count.

TikTok Video Rankings API use cases

Shortlist a market segment

To shortlist a market segment, a marketplace analyst submits region and dateRange to TikTok Video Rankings. The returned errcode, errmsg, video_id help identify categories or products worth further market research.

Compare ranked products or categories

A marketplace analyst uses TikTok Video Rankings with region and dateRange to compare ranked products or categories. The returned errcode, errmsg, video_id help compare candidates within the requested ranking scope.

Investigate candidates before sourcing

For this workflow, a marketplace analyst calls TikTok Video Rankings with region and dateRange to investigate candidates before sourcing. The result helps choose products to investigate before contacting suppliers.

TikTok Video Rankings API FAQ

What does the TikTok Video Rankings API return?

Rank TikTok videos by available performance measures to identify content worth reviewing for product and creator research. The documented output includes errcode, errmsg, video_id, video_title, views, digg_count, comment_count, share_count. It corresponds to the supplied region, dateRange, pageNumber, pageSize, language. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the TikTok Video Rankings API cost?

The current documented cost is Recent 22 credits / call. This is the same cost shown at the top of this page. If a range or estimate is displayed, the final charge depends on the request. Review your available credits and the pricing page before calling the API, and check API usage records for the actual charge.

How do I call the TikTok Video Rankings API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/kd/video/rank with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_data_kd_video_rank. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/kd/video/rank
MCP method
nexscope_data_kd_video_rank

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/kd/video/rank

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/kd/video/rank' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "currency": "USD",
  "dateRange": "last7Day",
  "pageNumber": 1,
  "pageSize": 10,
  "region": "US",
  "revenue_range": "1-100",
  "sortField": {
    "field": "revenue",
    "type": "DESC"
  }
}'

Code example

{
  "currency": "USD",
  "dateRange": "last7Day",
  "pageNumber": 1,
  "pageSize": 10,
  "region": "US",
  "revenue_range": "1-100",
  "sortField": {
    "field": "revenue",
    "type": "DESC"
  }
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ TikTok Intelligence KD
POSThttps://api.nexscope.ai/kd/video/rank

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/kd/video/rank
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
regionstringoptional
Region/market code, such as `US`
dateRangestringoptional
Time range, such as `last7Day`, `last30Day`
pageNumberintegeroptional
Page number, value 1-5
pageSizeintegeroptional
Quantity per page, value 5-100
languagestringoptional
Return language, for example `zh-CN`, `en-US`
currencystringoptional
Currency unit, such as `USD`
category_idstringoptional
Category ID filter
shop_idstringoptional
Store ID filter
creator_idstringoptional
Expert ID filtering
product_idstringoptional
Product ID filter
revenue_rangestringoptional
GMV ranges such as `1-100`, `>1000`, `<100`
followers_rangestringoptional
Filter by number of fans
ads_roasnumberoptional
Advertising ROAS filtering
sortFieldobjectoptional
GMV sort criteria, such as `{"field":"revenue","type":"DESC"}`
videoIdstringrequired
TikTok video ID, such as `7659161409279806734`, can be obtained from `video_id` in the list response

Response example

Platform response envelope. code 0 indicates success or acceptance; data contains the business result.

No response example is published for this API. Refer to the response fields below.

Response fields

Response field reference (39 fields)

NameTypeRequiredDescription
errcodeintegeroptional
Business status code, `200` indicates success
dataarrayoptional
List or detailed data
costTokenintegeroptional
The deduction token for this call is usually `14000`
errmsgstringoptional
Status message, `ok` on success
video_idstringoptional
Video ID, string format to avoid loss of precision for large integers
video_titlestringoptional
Video title/copywriting
viewsintegeroptional
Play volume
digg_countintegeroptional
Number of likes
comment_countintegeroptional
Number of comments
share_countintegeroptional
Number of shares
revenuenumberoptional
Total sales/GMV, returned by requested `currency`
revenue_growth_ratenumberoptional
Sales growth rate (%), can be positive or negative
adintegeroptional
Whether to use advertising/product video logo, 1=yes
ad_view_rationumberoptional
Advertisement playback proportion (%)
ad_revenue_rationumberoptional
Proportion of sales generated by advertising (%)
ads_roasnumberoptional
Advertising ROAS
belonged_creator_idstringoptional
Belonging expert ID
belonged_creator_handlestringoptional
User name of the expert
creator_debutstringoptional
Date of entry of the expert (`YYYY-MM-DD`)
video_idstringoptional
Video ID, string format to avoid loss of precision for large integers
video_titlestringoptional
Video title/copywriting
video_regionstringoptional
Video region, may be an empty string
belonged_creator_idstringoptional
Attribution expert ID
belonged_creator_handlestringoptional
Attribution expert username
viewsintegeroptional
Play volume
digg_countintegeroptional
Number of likes
comment_countintegeroptional
Number of comments
share_countintegeroptional
Number of shares
revenuenumberoptional
Total Sales/GMV
sales_volumnintegeroptional
Sales volume, field spelled `volumn`
video_gpmnumberoptional
Video GPM, or GMV per thousand plays
adintegeroptional
Whether to run ads, 1=with ads, 0=without ads
ads_viewsintegeroptional
Number of ad plays
ads_roasnumberoptional
Advertising ROAS
ad_cpanumberoptional
Advertising CPA
ad_view_rationumberoptional
Advertisement playback proportion (%)
ads_periodintegeroptional
Advertising period (days)
durationnumberoptional
Video duration (seconds)
product_numberintegeroptional
Number of video related products

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_data_kd_video_rank",
    "arguments": {
      "currency": "USD",
      "dateRange": "last7Day",
      "pageNumber": 1,
      "pageSize": 10,
      "region": "US",
      "revenue_range": "1-100",
      "sortField": {
        "field": "revenue",
        "type": "DESC"
      }
    }
  }
}

What can you do with this API?

Data explained and practical use cases

AI Guide

Question

What data can TikTok Video Rankings provide, and how might I use it?

AI answer

This API ranks TikTok videos for a selected market and date range. Its documented fields let you review audience activity, attributed sales, and available advertising measures for videos that appear in the result.

Data categoryDocumented fieldsWhat the values mean
Video and creatorvideo_id, video_title, belonged_creator_id, belonged_creator_handleIdentifies the video, its title or copy, and its attributed creator.
Audience activityviews, digg_count, comment_count, share_countReported plays, likes, comments, and shares.
Sales performancerevenue, revenue_growth_rate, sales_volumn, video_gpmReported GMV, sales growth, units sold, and GMV per thousand plays. Monetary values follow the requested currency where specified.
Advertisingad, ad_view_ratio, ad_revenue_ratio, ads_views, ads_roas, ad_cpaIndicates reported ad use and available measures of ad plays, share of plays or sales, return on ad spend, and acquisition cost.
Video contextduration, product_number, video_regionVideo length, number of related products, and reported region; video_region may be empty.
  • Filter by a product or shop ID to find ranked videos associated with it, then review their views and attributed GMV.
    • Prompt example: “I am researching TikTok marketplace data. Could you filter by a product or shop ID to find ranked videos associated with it, then review their views and attributed GMV? Show matching records and source links where the API provides them; ask me for any required identifier or filter.”
  • Compare creators’ videos using engagement counts and video_gpm to find examples worth watching.
    • Prompt example: “I am researching TikTok marketplace data. Could you compare creators’ videos using engagement counts and video_gpm to find examples worth watching? Show the returned values behind the comparison, and mark missing data.”
  • Review videos marked as using ads and compare their available ad play share and ROAS.
    • Prompt example: “I am researching TikTok marketplace data. Could you review videos marked as using ads and compare their available ad play share and ROAS? Show the returned values behind the comparison, and mark missing data.”
  • Sort by revenue within a selected date range to research videos with higher reported sales.
    • Prompt example: “I am researching TikTok marketplace data. Could you sort by revenue within a selected date range to research videos with higher reported sales? Show the returned values behind the comparison, and mark missing data.”

The fields are documented as optional, and the supplied response example contains no video records. These measures describe returned videos; they do not establish why a video performed as it did.

Data Example

Sample request and response

Related APIs