SocialToAIStart freeConsole

user_profile

POST /v1/user_profile is the user profile action: one account: bio and counts. It is offered on 17 platforms (TikTok, Instagram, X, Reddit, YouTube, Facebook and 11 more), and the platform is a parameter of the request. One call costs 1 to 12 credits, depending on the platform; a call that fails costs nothing.

POSThttps://api.socialtoai.com/v1/user_profile

Request

A JSON body. These are the same for every action; the rest depends on the platform, below.

NameTypeWhereRequiredWhat it is
platformstringbodyYesThe platform to read. One of the platforms this action is offered on.
max_cost_creditsintegerbodyNoThe most this call may cost. Over it, the call is refused for free and the answer carries the quote.
Idempotency-KeystringheaderNo1 to 255 visible ASCII characters. The same key with the same parameters returns the first result again and is not charged twice.

Platforms and credits

Each platform takes its own parameters. Its own page has the full parameter and field tables and a request you can change.

PlatformPrice keyCreditsRequiredOptionalPer page
TikToktiktok.user_profile2one of id, username––
Instagraminstagram.user_profile2username––
Xx.user_profile1one of id, username––
Redditreddit.user_profile2username––
YouTubeyoutube.user_profile2one of id, username––
Facebookfacebook.user_profile2one of id, username, url––
LinkedInlinkedin.user_profile2one of username, url––
Threadsthreads.user_profile2username––
Telegramtelegram.user_profile2username––
Xiaohongshuxiaohongshu.user_profile12one of id, url––
Douyindouyin.user_profile2one of id, url––
Weiboweibo.user_profile2id––
WeChat Articleswechat.user_profile12id––
Bilibilibilibili.user_profile2id––
Zhihuzhihu.user_profile2username––
Kuaishoukuaishou.user_profile12id––
WeChat Channelswechat_channels.user_profile12id––

Parameters

NameTypeWhat it isTaken by
idstringTikTok user ID, a string of digitsTikTok, X, YouTube, Facebook, Xiaohongshu, Douyin, Weibo, WeChat Articles, Bilibili, Kuaishou and WeChat Channels
usernamestringTikTok handle, without the @TikTok, Instagram, X, Reddit, YouTube, Facebook, LinkedIn, Threads, Telegram and Zhihu
urlstringLink to the page, written facebook.com/handleFacebook, LinkedIn, Xiaohongshu and Douyin

Example

TikTok: One account: name, bio, followers, following and post count.

curl https://api.socialtoai.com/v1/user_profile \  -H "Authorization: Bearer $SOCIALTOAI_KEY" \  -H "Content-Type: application/json" \  -d '{    "platform": "tiktok",    "id": "6767146744805213190"  }'
import osimport requestsresponse = requests.post(    "https://api.socialtoai.com/v1/user_profile",    headers={"Authorization": f"Bearer {os.environ['SOCIALTOAI_KEY']}"},    json={        "platform": "tiktok",        "id": "6767146744805213190",    },)print(response.json())
Response200 OK2 credits
{  "request_id": "req_00000000-0000-4000-8000-000000000001",  "schema_version": "v1",  "fetched_at": "2026-10-12T19:16:32.000Z",  "action": "user_profile",  "platform": "tiktok",  "status": "ok",  "items": [    {      "platform": "tiktok",      "id": "…",      "ref": "…",      "approx": [],      "type": "account",      "username": "…",      "name": "…",      "url": "https://example.com/…",      "bio": "…",      "verified": true,      "followers": 605660,      "following": 92,      "posts_count": 364    }  ],  "unavailable": [],  "warnings": [],  "applied_params": {    "id": "6767146744805213190"  },  "cost_credits": 2,  "billing": {    "cost_credits": 2,    "balance_credits": 98,    "today_spend_credits": 2,    "daily_limit_credits": null,    "daily_remaining_credits": null,    "display": "This call: 2 credits. Balance: 98 credits."  },  "replayed": false}

Sample data: names, links and text are replaced by placeholders.

What comes back

The envelope with account items. One call returns one item.

A failed call costs 0 credits and says why: see Errors.

Last updated: