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>"
}
}Social
Search social posts
Use when you need public posts or videos on TikTok, YouTube, X, Reddit, Instagram (Reels), Threads, Pinterest (pins), Rumble (videos), LinkedIn, Zhihu (answers and articles, with snippets) or Xiaohongshu (notes) that match a keyword query, with author, text, time and engagement counts.
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>"
}
}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.
Threads posts about NASA
Zhihu answers and articles about DeepSeek
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. LinkedIn posts about NASA{
"input": {
"platform": "linkedin",
"query": "nasa",
"limit": 5
}
}
{
"input": {
"platform": "threads",
"query": "nasa",
"limit": 5
}
}
{
"input": {
"platform": "zhihu",
"query": "deepseek",
"limit": 5
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| /input/platform = instagram | Per delivered item | 0.0014 |
| /input/platform = linkedin | Per delivered item | 0.0084 |
| /input/platform = pinterest | Per delivered item | 0.0019 |
| /input/platform = reddit | Per delivered item | 0.0014 |
| /input/platform = rumble | Per delivered item | 0.0014 |
| /input/platform = threads | Per delivered item | 0.0014 |
| /input/platform = tiktok | Per delivered item | 0.0014 |
| /input/platform = x | Per delivered item | 0.0014 |
| /input/platform = xiaohongshu | Per delivered item | 0.006 |
| /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.