TikTok Ads Get Top Contents Item Detail

2.07 credits/call
ae_tiktok_ads_get_top_contents_item_detail

获取热门视频榜单中单个视频的详细数据,适用于分析视频表现、作者信息和受欢迎原因。 输入要求: - `item_id`:视频 ID,通常取自热门视频榜单条目中的 `itemInfo.itemID`。 - `period_end_timestamp`:必填,目标榜单周期结束时间的 10 位 Unix 秒级时间戳。请勿传 `0`,否则可能返回空结果;如果视频来自某次榜单查询,建议沿用该查询使用的时间戳。 - `period_dimension`:可选周期维度,支持 `1`、`3` 或 `5`,默认 `3`。维度为 `1` 时应使用周日 00:00 UTC 的时间戳;维度为 `3` 或 `5` 时可使用任意已过去日期的时间戳。 - `country_code`:可选国家/地区代码,默认 `US`;建议与视频所属榜单查询保持一致。 - `cookie`:可选的自定义 Cookie 字符串。 返回数据位于成功响应的 `data` 中,核心内容包括 `entityInfo`: - `itemInfo`:视频 ID、标题、创建时间、封面和视频地址、作者/创作者 ID 等基础信息。 - `itemMetrics`:视频播放量、互动率、六秒观看率及相应的累计指标。 - `itemAuthorInfo` 与 `itemAuthorMetrics`:作者资料和粉丝数等指标。 - `contentTags`:内容分类标签。 - `commentInfos`:热门评论及其文本、点赞数、创建时间和用户信息。

VideoSocialResearch
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

The fixed fee is 2.07 credits per call. Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYes请求体对象,包含视频 ID、榜单周期结束时间戳,以及可选的周期维度、国家/地区代码和 Cookie,用于获取热门视频的详细数据。—
request_body.cookiestringNo自定义Cookie字符串(可选)/Custom Cookie string (optional)—
request_body.item_idstringYes视频ID/Video item ID—
request_body.country_codestringNo该视频所属榜单的国家/地区代码,需与榜单查询一致/Country code of the rankingUS
request_body.period_dimensionintegerNo榜单周期:1/3/5 /Period dimension3
request_body.period_end_timestampintegerYes调用方需根据目标榜单日期自行生成结束时间戳(10位 Unix 秒级),例如 1785024000;请勿传 0,否则会返回空结果/The caller must generate this 10-digit Unix timestamp in seconds from the target ranking date, for example 1785024000; do not pass 0 because it returns an empty result—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tiktok_ads_get_top_contents_item_detail' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "country_code": "TH",
      "item_id": "7356427221789101320",
      "period_dimension": 3,
      "period_end_timestamp": 1794096000
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "BaseResp": {
      "StatusCode": 0,
      "StatusMessage": ""
    }
  },
  "docs": "https://api.tikhub.io/#/TikTok-Ads-API/get_top_contents_item_detail_api_v1_tiktok_ads_get_top_contents_item_detail_post",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功,本次请求将被计费。",
  "params": {}
}

This example shows part of the response. Copied content is valid JSON.