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>"
}
}Social
List a profile's posts
Use when you know a handle on TikTok, YouTube, X, Instagram, Threads, Bluesky, Truth Social, Twitch (videos), Telegram (a public channel’s posts), Snapchat (Spotlight videos), Facebook (a page’s posts), LinkedIn (a company page’s posts), Rumble (a channel’s videos) or Zhihu (a member’s answers, by url token), or a Douyin, Weibo or Xiaohongshu profile URL, and need the account’s latest posts or videos with text, time and engagement counts.
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>"
}
}The request and response panels use the schemas published by this API. Conditional requirements and allowed combinations are part of the request schema. Check the complete schema before combining filters or identities.
Recent posts of Pavel Durov’s public Telegram channel
Recent posts of a Weibo account by profile URL
Only the listed values are priced; other values do not fall back to the catalog base price.
Execution reserves for
Examples
Each request below runs as written; the request panel offers the same examples. Recent posts by NASA on 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
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| /input/platform = bluesky | Per delivered item | 0.0014 |
| /input/platform = douyin | Per delivered item | 0.0002 |
| /input/platform = facebook | Per delivered item | 0.0094 |
| /input/platform = instagram | Per delivered item | 0.0024 |
| /input/platform = linkedin | Per delivered item | 0.0047 |
| /input/platform = rumble | Per delivered item | 0.0014 |
| /input/platform = snapchat | Per delivered item | 0.002 |
| /input/platform = telegram | Per delivered item | 0.0014 |
| /input/platform = threads | Per delivered item | 0.0019 |
| /input/platform = tiktok | Per delivered item | 0.0014 |
| /input/platform = truthsocial | Per delivered item | 0.0028 |
| /input/platform = twitch | Per delivered item | 0.0014 |
| /input/platform = weibo | Per delivered item | 0.0002 |
| /input/platform = x | Per delivered item | 0.0014 |
| /input/platform = xiaohongshu | Per delivered item | 0.0045 |
| /input/platform = youtube | Per delivered item | 0.0014 |
| /input/platform = zhihu | Per delivered item | 0.0002 |
ceil(/input/limit / 1) units, up to 20 units.
Settlement uses delivered units, capped at reserved units; unused reservation is released.
Successful delivery is charged; a normal empty result is not charged.
Obtain an input-specific quote by sending the same request with X-AISA-Cost-Mode: quote; quoting neither executes the Task nor reserves funds. Execution reserves the estimated request charge and settles under the rules above. Use X-AISA-Max-Price-USD to cap the price.
Use an Idempotency-Key when executing a Task. For errors, inspect error.code, error.request_id, error.retryable and error.retry_hint. A reconciliation hint requires checking the existing request before retrying; do not assume a pending settlement is a refund.