跳转到主要内容
GET
List TikTok profile videos
请求示例待验证。 此接口的请求示例尚未在生产环境验证。静态示例用于说明请求格式,请替换为自己的参数。正式调用前,可用免费的报价模式(X-AISA-Cost-Mode: quote)查看预估费用。

请求规范

  • 方法与路径: GET /apis/v1/tiktok/profiles/{handle}/videos
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/tiktok/profiles/{handle}/videos
  • handle: path; 必填
  • cursor: query; 可选
  • hostMedia: query; 可选
  • includePinned: query; 可选
  • region: query; 可选
  • sortBy: query; 可选
  • trim: query; 可选
  • userId: query; 可选
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

按实际用量收费。 默认请求预估费用:$0.686 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

请求约束与用量说明

  • Some numeric ids inside `details` are larger than 2^53 (9007199254740992) and may not be exact: digits beyond that precision can differ from the real id. When you need an exact id, use the top-level string ids (such as `id`) or the matching `*_str` string fields (for example `details.music.id_str`).

翻页

  • 把 aisa_pagination.next_cursor 作为 cursor(查询参数)传入即可获取下一页;aisa_pagination.has_more 为 false 时停止。
  • 响应头 X-AISA-Has-More 与 X-AISA-Next-Cursor 返回相同的值。

响应时间

  • 通常 10 秒内返回。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路径参数

handle
string
必填

TikTok handle whose videos should be listed.

Required string length: 1 - 4096

查询参数

cursor
string

Pagination cursor returned by a previous response.

Required string length: 1 - 16384
hostMedia
boolean

When enabled, include downloadable media links when available. Media availability can affect the quoted maximum price.

includePinned
boolean

Whether to include videos pinned to the top of the profile. Default: true. Set false to leave pinned videos out; pages can then come back shorter or empty, so keep following hasMore and cursor. Send the same value on every page.

region
string

Optional ISO 3166-1 country code for the request.

Required string length: 1 - 4096
sortBy
enum<string>

Optional sort order for the returned TikTok videos.

可用选项:
latest,
popular
Required string length: 1 - 4096
trim
boolean

Optional flag for a smaller response with fewer fields.

userId
string

Optional TikTok user id to speed up the request.

Required string length: 1 - 4096

响应

TikTok videos for the requested profile.

Standard success response envelope.

data
object
必填

Endpoint-specific response payload.

meta
object
必填

Metadata describing the request and billing outcome.

aisa_pagination
object

AIsa pagination. Pass next_cursor as cursor to fetch the next page; has_more is false on the last page.