Skip to main content
POST
TikTok Top-content details

Authorizations

Authorization
string
header
required

A Mouter API key or OAuth access token.

Headers

Idempotency-Key
string

Reuse the key with the same credential and input when retrying the same submission.

Required string length: 1 - 128

Body

application/json
period_end_timestamp
integer
required

Ranking period end as a ten-digit Unix timestamp in seconds. Reuse the list period when requesting its detail.

Required range: 1000000000 <= x <= 9999999999
video_id
string
required

Exact itemID from the selected ranking; not an advertising ID.

Pattern: ^[0-9]+$
period_dimension
enum<integer>
default:3

Ranking type: 1 weekly, 3 daily, 5 long-period. These are not last-N-day filters.

Available options:
1,
3,
5
country_code
string
default:US

Ranking country code. Uncovered countries can return an empty ranking.

Pattern: ^[A-Z]{2}$

Response

Existing task returned for an idempotent retry. An available result matches the output schema shown here.

code
integer
required
message
string
required
Allowed value: ""
data
object
required
request_id
string | null
required