Skip to main content
POST
Batch get the highest quality play URL of videos
批量获取视频的最高画质播放链接 计费 — 成功调用基准价 $0.3625(= provider 成本 × 1.45;最终扣费按你的套餐倍率浮动)。仅当上游响应体 code200 时计费。

示例

授权

Authorization
string
header
必填

AIsa API key. Get yours at https://aisa.one

请求体

application/json
aweme_ids
string
默认值:7512756548356492544,7448118827402972455,7126745726494821640

作品id列表,用逗号分隔,最多50个/Video id list, separated by commas, up to 50

region
string | null

可选,请求出口地区(ISO 国家代码,如 CN/US/HK)。抖音根据请求 IP 返回对应区域 CDN,国内用户传 'CN' 可获得国内 CDN 链接以加快下载速度 / Optional, ISO country code (e.g. CN). Pass 'CN' for users in mainland China to get China-region CDN URLs for faster download.

示例:

"CN"

响应

200 - application/json

Successful Response

code
integer
默认值:200

HTTP status code | HTTP状态码

request_id
string | null

Unique request identifier | 唯一请求标识符

message
string
默认值:Request successful. This request will incur a charge.

Response message (EN-US) | 响应消息 (English)

message_zh
string
默认值:请求成功,本次请求将被计费。

Response message (ZH-CN) | 响应消息 (中文)

support
string
默认值:Discord: https://discord.gg/aMEAS8Xsvz

Support message | 支持消息

time
string

The time the response was generated | 生成响应的时间

time_stamp
integer

The timestamp the response was generated | 生成响应的时间戳

time_zone
string
默认值:America/Los_Angeles

The timezone of the response time | 响应时间的时区

docs
string | null

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_message
string | null
默认值:This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.

Cache message (EN-US) | 缓存消息 (English)

cache_message_zh
string | null
默认值:本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。

Cache message (ZH-CN) | 缓存消息 (中文)

cache_url
string | null

The URL to access the cached result | 访问缓存结果的 URL

router
string
默认值:""

The endpoint that generated this response | 生成此响应的端点

params
any
默认值:{}

The parameters used in the request | 请求中使用的参数

data
any | null

The response data | 响应数据