curl --request POST \
--url https://api.aisa.one/v1/tasks/social.list_profile_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "x",
"handle": "NASA",
"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>"
},
"comments": 123,
"content_type": "post",
"duration_seconds": 123,
"hashtags": [
"<string>"
],
"is_sponsored": true,
"language": "<string>",
"likes": 123,
"location": {
"city": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"raw": "<string>",
"region": "<string>"
},
"media": [
{
"duration_seconds": 123,
"height": 123,
"thumbnail_url": "<string>",
"type": "image",
"url": "<string>",
"width": 123
}
],
"mentions": [
"<string>"
],
"music_title": "<string>",
"platform": "tiktok",
"post_id": "<string>",
"published_at": "<string>",
"saves": 123,
"shares": 123,
"text": "<string>",
"title": "<string>",
"url": "<string>",
"views": 123,
"extras": {}
}
]
},
"status": "found",
"task": "social.list_profile_posts",
"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、Instagram、Threads、Bluesky、Truth Social、Twitch(视频)、Telegram(公开频道的帖子)、Snapchat(Spotlight 视频)、Facebook(主页的帖子)、LinkedIn(公司主页的帖子)、Rumble(频道的视频)或知乎(用户的回答,用 url token)上的 handle,或抖音、微博、小红书主页 URL,需要账号最近的帖子或视频,以及正文、时间和互动数据时使用。
POST
https://api.aisa.one
/
v1
/
tasks
/
social.list_profile_posts
curl --request POST \
--url https://api.aisa.one/v1/tasks/social.list_profile_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "x",
"handle": "NASA",
"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>"
},
"comments": 123,
"content_type": "post",
"duration_seconds": 123,
"hashtags": [
"<string>"
],
"is_sponsored": true,
"language": "<string>",
"likes": 123,
"location": {
"city": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"raw": "<string>",
"region": "<string>"
},
"media": [
{
"duration_seconds": 123,
"height": 123,
"thumbnail_url": "<string>",
"type": "image",
"url": "<string>",
"width": 123
}
],
"mentions": [
"<string>"
],
"music_title": "<string>",
"platform": "tiktok",
"post_id": "<string>",
"published_at": "<string>",
"saves": 123,
"shares": 123,
"text": "<string>",
"title": "<string>",
"url": "<string>",
"views": 123,
"extras": {}
}
]
},
"status": "found",
"task": "social.list_profile_posts",
"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。
Pavel Durov 公开 Telegram 频道的最新帖子
用主页 URL 获取微博账号的最新帖子
仅表内参数值有价格;未列出的值不会回退到基础价格。
执行时按
示例
以下请求可直接运行;请求面板中也可选择同样的示例。 NASA 在 X 上的最新帖子{
"input": {
"platform": "x",
"handle": "NASA",
"limit": 5
}
}
{
"input": {
"platform": "telegram",
"handle": "durov",
"limit": 5
}
}
{
"input": {
"platform": "weibo",
"url": "https://weibo.com/u/1722594714",
"limit": 5
}
}
计费
| 输入 | 计价单位 | 价格 (USD) |
|---|---|---|
| /input/platform = bluesky | 每条实际交付结果 | 0.0014 |
| /input/platform = douyin | 每条实际交付结果 | 0.0002 |
| /input/platform = facebook | 每条实际交付结果 | 0.0094 |
| /input/platform = instagram | 每条实际交付结果 | 0.0024 |
| /input/platform = linkedin | 每条实际交付结果 | 0.0047 |
| /input/platform = rumble | 每条实际交付结果 | 0.0014 |
| /input/platform = snapchat | 每条实际交付结果 | 0.002 |
| /input/platform = telegram | 每条实际交付结果 | 0.0014 |
| /input/platform = threads | 每条实际交付结果 | 0.0019 |
| /input/platform = tiktok | 每条实际交付结果 | 0.0014 |
| /input/platform = truthsocial | 每条实际交付结果 | 0.0028 |
| /input/platform = twitch | 每条实际交付结果 | 0.0014 |
| /input/platform = weibo | 每条实际交付结果 | 0.0002 |
| /input/platform = x | 每条实际交付结果 | 0.0014 |
| /input/platform = xiaohongshu | 每条实际交付结果 | 0.0045 |
| /input/platform = youtube | 每条实际交付结果 | 0.0014 |
| /input/platform = zhihu | 每条实际交付结果 | 0.0002 |
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。提示先核对结算时,应先查询原请求再决定是否重试;不能把待结算当作已退款。