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>"
}
}Social
List comments on a social post
Use when you have the URL of a public post or video on TikTok, YouTube, X, Reddit, Instagram, Facebook, LinkedIn, Threads, Bluesky, Rumble, Snapchat (Spotlight), Douyin, Bilibili or Weibo and need its top comments (replies on X, Threads and Bluesky) with author, text, time and like counts.
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>"
}
}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.
Comments on a Microsoft LinkedIn post
Comments on a Weibo post
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. Comments on a NASA TikTok video{
"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
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| /input/platform = bilibili | Per delivered item | 0.0001 |
| /input/platform = bluesky | Per delivered item | 0.0014 |
| /input/platform = douyin | Per delivered item | 0.0001 |
| /input/platform = facebook | Per delivered item | 0.0028 |
| /input/platform = instagram | Per delivered item | 0.0056 |
| /input/platform = linkedin | Per delivered item | 0.0032 |
| /input/platform = reddit | Per delivered item | 0.021 |
| /input/platform = rumble | Per delivered item | 0.0015 |
| /input/platform = snapchat | Per delivered item | 0.0019 |
| /input/platform = threads | Per delivered item | 0.0022 |
| /input/platform = tiktok | Per delivered item | 0.0017 |
| /input/platform = weibo | Per delivered item | 0.0001 |
| /input/platform = x | Per delivered item | 0.0014 |
| /input/platform = youtube | Per delivered item | 0.0014 |
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.