curl --request POST \
--url https://api.aisa.one/v1/tasks/social.resolve_id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "facebook",
"handle": "NASA"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"account_type": "personal",
"avatar_url": "<string>",
"bio": "<string>",
"category": "<string>",
"created_at": "<string>",
"display_name": "<string>",
"engagement_rate": 123,
"external_url": "<string>",
"followers": 123,
"following": 123,
"handle": "<string>",
"language": "<string>",
"last_posted_at": "<string>",
"likes_count": 123,
"location": {
"city": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"raw": "<string>",
"region": "<string>"
},
"platform": "tiktok",
"posts_count": 123,
"private": true,
"url": "<string>",
"user_id": "<string>",
"verified": true,
"extras": {}
},
"status": "found",
"task": "social.resolve_id",
"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
Resolve a social account id
Use when you have one of a handle, a platform user id or (on YouTube) a channel URL and need the others: user id, handle and profile URL. Also on Threads, Bluesky, Truth Social and Twitch (by handle), Facebook (by handle, numeric id or page URL), LinkedIn company pages (by handle or URL), Douyin (by profile URL), Weibo (by uid or profile URL) and Zhihu (by url token or profile URL).
POST
https://api.aisa.one
/
v1
/
tasks
/
social.resolve_id
curl --request POST \
--url https://api.aisa.one/v1/tasks/social.resolve_id \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"input": {
"platform": "facebook",
"handle": "NASA"
}
}
'{
"meta": {
"approximate_fields": [
"<string>"
],
"delivered": true,
"missing_fields": {}
},
"result": {
"account_type": "personal",
"avatar_url": "<string>",
"bio": "<string>",
"category": "<string>",
"created_at": "<string>",
"display_name": "<string>",
"engagement_rate": 123,
"external_url": "<string>",
"followers": 123,
"following": 123,
"handle": "<string>",
"language": "<string>",
"last_posted_at": "<string>",
"likes_count": 123,
"location": {
"city": "<string>",
"country": "<string>",
"latitude": 123,
"longitude": 123,
"raw": "<string>",
"region": "<string>"
},
"platform": "tiktok",
"posts_count": 123,
"private": true,
"url": "<string>",
"user_id": "<string>",
"verified": true,
"extras": {}
},
"status": "found",
"task": "social.resolve_id",
"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.
Microsoft on LinkedIn by company page URL
A Weibo account by profile 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. NASA on Facebook by handle{
"input": {
"platform": "facebook",
"handle": "NASA"
}
}
{
"input": {
"platform": "linkedin",
"url": "https://www.linkedin.com/company/microsoft/"
}
}
{
"input": {
"platform": "weibo",
"url": "https://weibo.com/u/1722594714"
}
}
Billing
| Input | Price unit | Price (USD) |
|---|---|---|
| /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 = linkedin | 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 = twitch | Per successful request | 0.028 |
| /input/platform = weibo | Per successful request | 0.002 |
| /input/platform = x | Per successful request | 0.028 |
| /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.