curl --request POST \
--url https://api.aisa.one/v1/tasks/social.search_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "linkedin",
"query": "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.search_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、Reddit、Instagram(Reels)、Threads、Pinterest(Pin)、Rumble(视频)、LinkedIn、知乎(回答和文章,正文为摘要)或小红书(笔记)上与关键词匹配的公开帖子或视频,以及作者、正文、时间和互动数据时使用。
POST
https://api.aisa.one
/
v1
/
tasks
/
social.search_posts
curl --request POST \
--url https://api.aisa.one/v1/tasks/social.search_posts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "linkedin",
"query": "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.search_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。
搜索 Threads 上关于 NASA 的帖子
搜索知乎上关于 DeepSeek 的回答和文章
仅表内参数值有价格;未列出的值不会回退到基础价格。
执行时按
示例
以下请求可直接运行;请求面板中也可选择同样的示例。 搜索 LinkedIn 上关于 NASA 的帖子{
"input": {
"platform": "linkedin",
"query": "nasa",
"limit": 5
}
}
{
"input": {
"platform": "threads",
"query": "nasa",
"limit": 5
}
}
{
"input": {
"platform": "zhihu",
"query": "deepseek",
"limit": 5
}
}
计费
| 输入 | 计价单位 | 价格 (USD) |
|---|---|---|
| /input/platform = instagram | 每条实际交付结果 | 0.0014 |
| /input/platform = linkedin | 每条实际交付结果 | 0.0084 |
| /input/platform = pinterest | 每条实际交付结果 | 0.0019 |
| /input/platform = reddit | 每条实际交付结果 | 0.0014 |
| /input/platform = rumble | 每条实际交付结果 | 0.0014 |
| /input/platform = threads | 每条实际交付结果 | 0.0014 |
| /input/platform = tiktok | 每条实际交付结果 | 0.0014 |
| /input/platform = x | 每条实际交付结果 | 0.0014 |
| /input/platform = xiaohongshu | 每条实际交付结果 | 0.006 |
| /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。提示先核对结算时,应先查询原请求再决定是否重试;不能把待结算当作已退款。