curl --request POST \
--url https://api.aisa.one/v1/tasks/social.get_post \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "x",
"url": "https://x.com/NASA/status/2125691860706333095"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"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.get_post",
"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
Get 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, Pinterest, Telegram (a public channel’s post), Truth Social, Rumble, Snapchat (Spotlight), Douyin, Kuaishou, Bilibili, Xiaohongshu (a note), Weibo or Zhihu (an answer or column article) and need its text, author, media and engagement counts (views, likes, comments, shares). Douyin, Xiaohongshu and Zhihu do not show view counts; Weibo shows them for videos only.
POST
https://api.aisa.one
/
v1
/
tasks
/
social.get_post
curl --request POST \
--url https://api.aisa.one/v1/tasks/social.get_post \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "x",
"url": "https://x.com/NASA/status/2125691860706333095"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"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.get_post",
"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.
A Microsoft company post on LinkedIn
A Bilibili video by its BV id URL
A Weibo post by its weibo.com URL
Only the listed values are priced; other values do not fall back to the catalog base price.
Successful delivery is charged; a normal empty result is not charged.
Obtain an input-specific quote by sending the same request with
Examples
Each request below runs as written; the request panel offers the same examples. A post by NASA on X{
"input": {
"platform": "x",
"url": "https://x.com/NASA/status/2125691860706333095"
}
}
{
"input": {
"platform": "linkedin",
"url": "https://www.linkedin.com/posts/microsoft_msignite-activity-7529683750469681152-seh_"
}
}
{
"input": {
"platform": "bilibili",
"url": "https://www.bilibili.com/video/BV1M1421t7hT"
}
}
{
"input": {
"platform": "weibo",
"url": "https://weibo.com/1722594714/RpkFitVsb"
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| /input/platform = bilibili | Per successful request | 0.002 |
| /input/platform = bluesky | Per successful request | 0.028 |
| /input/platform = douyin | Per successful request | 0.002 |
| /input/platform = facebook | Per successful request | 0.028 |
| /input/platform = instagram | Per successful request | 0.028 |
| /input/platform = kuaishou | Per successful request | 0.004 |
| /input/platform = linkedin | Per successful request | 0.028 |
| /input/platform = pinterest | Per successful request | 0.028 |
| /input/platform = reddit | Per successful request | 0.028 |
| /input/platform = rumble | Per successful request | 0.028 |
| /input/platform = snapchat | Per successful request | 0.028 |
| /input/platform = telegram | Per successful request | 0.028 |
| /input/platform = threads | Per successful request | 0.028 |
| /input/platform = tiktok | Per successful request | 0.028 |
| /input/platform = truthsocial | Per successful request | 0.056 |
| /input/platform = weibo | Per successful request | 0.002 |
| /input/platform = x | Per successful request | 0.028 |
| /input/platform = xiaohongshu | Per successful request | 0.0443 |
| /input/platform = youtube | Per successful request | 0.028 |
| /input/platform = zhihu | Per successful request | 0.002 |
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.