curl --request POST \
--url https://api.aisa.one/v1/tasks/social.list_comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "tiktok",
"url": "https://www.tiktok.com/@nasa/video/7710449624397450509",
"limit": 5
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"items": [
{
"author": {
"display_name": "<string>",
"handle": "<string>",
"platform": "tiktok",
"url": "<string>",
"user_id": "<string>"
},
"comment_id": "<string>",
"language": "<string>",
"likes": 123,
"parent_id": "<string>",
"platform": "tiktok",
"post_id": "<string>",
"published_at": "<string>",
"replies_count": 123,
"text": "<string>",
"extras": {}
}
]
},
"status": "found",
"task": "social.list_comments",
"version": 2
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}社媒
获取帖子或视频的评论列表
已知 TikTok、YouTube、X、Reddit、Instagram、Facebook、LinkedIn、Threads、Bluesky、Rumble、Snapchat(Spotlight)、抖音、哔哩哔哩或微博上公开帖子或视频的 URL,需要它的热门评论(X、Threads 和 Bluesky 上是回复),以及作者、正文、时间和点赞数时使用。
POST
https://api.aisa.one
/
v1
/
tasks
/
social.list_comments
curl --request POST \
--url https://api.aisa.one/v1/tasks/social.list_comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "tiktok",
"url": "https://www.tiktok.com/@nasa/video/7710449624397450509",
"limit": 5
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"items": [
{
"author": {
"display_name": "<string>",
"handle": "<string>",
"platform": "tiktok",
"url": "<string>",
"user_id": "<string>"
},
"comment_id": "<string>",
"language": "<string>",
"likes": 123,
"parent_id": "<string>",
"platform": "tiktok",
"post_id": "<string>",
"published_at": "<string>",
"replies_count": 123,
"text": "<string>",
"extras": {}
}
]
},
"status": "found",
"task": "social.list_comments",
"version": 2
}{
"error": {
"code": "invalid_request",
"message": "<string>",
"request_id": "<string>",
"retry_hint": "never",
"retryable": true,
"param": "<string>",
"problems": [
"<string>"
],
"similar_tasks": [
"<string>"
],
"task_id": "<string>"
}
}上方请求和响应面板使用此 API 发布的 Schema。条件必填和参数组合限制属于请求契约;组合筛选条件或账号身份前,请查看完整 Schema。
Microsoft LinkedIn 动态的评论
微博帖子的评论
仅表内参数值有价格;未列出的值不会回退到基础价格。
执行时按
示例
以下请求可直接运行;请求面板中也可选择同样的示例。 NASA TikTok 视频的评论{
"input": {
"platform": "tiktok",
"url": "https://www.tiktok.com/@nasa/video/7710449624397450509",
"limit": 5
}
}
{
"input": {
"platform": "linkedin",
"url": "https://www.linkedin.com/posts/microsoft_msignite-activity-7529683750469681152-seh_",
"limit": 5
}
}
{
"input": {
"platform": "weibo",
"url": "https://weibo.com/1722594714/RpkFitVsb",
"limit": 5
}
}
计费
| 输入 | 计价单位 | 价格 (USD) |
|---|---|---|
| /input/platform = bilibili | 每条实际交付结果 | 0.0001 |
| /input/platform = bluesky | 每条实际交付结果 | 0.0014 |
| /input/platform = douyin | 每条实际交付结果 | 0.0001 |
| /input/platform = facebook | 每条实际交付结果 | 0.0028 |
| /input/platform = instagram | 每条实际交付结果 | 0.0056 |
| /input/platform = linkedin | 每条实际交付结果 | 0.0032 |
| /input/platform = reddit | 每条实际交付结果 | 0.021 |
| /input/platform = rumble | 每条实际交付结果 | 0.0015 |
| /input/platform = snapchat | 每条实际交付结果 | 0.0019 |
| /input/platform = threads | 每条实际交付结果 | 0.0022 |
| /input/platform = tiktok | 每条实际交付结果 | 0.0017 |
| /input/platform = weibo | 每条实际交付结果 | 0.0001 |
| /input/platform = x | 每条实际交付结果 | 0.0014 |
| /input/platform = youtube | 每条实际交付结果 | 0.0014 |
ceil(/input/limit / 1) 个单位预扣,最多 20 个单位。
按实际交付数量结算,上限为预扣数量;未使用的预扣金额释放。
成功交付才收费;正常查空不收费。
发送相同请求并带上 X-AISA-Cost-Mode: quote,获取与输入对应的报价;报价不执行任务,也不预扣资金。实际执行时预扣预计请求费用,按上述规则结算。用 X-AISA-Max-Price-USD 设置价格上限。
执行任务时使用 Idempotency-Key。错误时查看 error.code、error.request_id、error.retryable 和 error.retry_hint。提示先核对结算时,应先查询原请求再决定是否重试;不能把待结算当作已退款。