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.
https://api.socialtoai.com/v1/user_profileRequest
A JSON body. These are the same for every action; the rest depends on the platform, below.
| Name | Type | Where | Required | What it is |
|---|---|---|---|---|
platform | string | body | Yes | The platform to read. One of the platforms this action is offered on. |
max_cost_credits | integer | body | No | The most this call may cost. Over it, the call is refused for free and the answer carries the quote. |
Idempotency-Key | string | header | No | 1 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.
| Platform | Price key | Credits | Required | Optional | Per page |
|---|---|---|---|---|---|
| TikTok | tiktok.user_profile | 2 | one of id, username | – | – |
instagram.user_profile | 2 | username | – | – | |
| X | x.user_profile | 1 | one of id, username | – | – |
reddit.user_profile | 2 | username | – | – | |
| YouTube | youtube.user_profile | 2 | one of id, username | – | – |
facebook.user_profile | 2 | one of id, username, url | – | – | |
linkedin.user_profile | 2 | one of username, url | – | – | |
| Threads | threads.user_profile | 2 | username | – | – |
| Telegram | telegram.user_profile | 2 | username | – | – |
| Xiaohongshu | xiaohongshu.user_profile | 12 | one of id, url | – | – |
| Douyin | douyin.user_profile | 2 | one of id, url | – | – |
weibo.user_profile | 2 | id | – | – | |
| WeChat Articles | wechat.user_profile | 12 | id | – | – |
| Bilibili | bilibili.user_profile | 2 | id | – | – |
| Zhihu | zhihu.user_profile | 2 | username | – | – |
| Kuaishou | kuaishou.user_profile | 12 | id | – | – |
| WeChat Channels | wechat_channels.user_profile | 12 | id | – | – |
Parameters
| Name | Type | What it is | Taken by |
|---|---|---|---|
id | string | TikTok user ID, a string of digits | TikTok, X, YouTube, Facebook, Xiaohongshu, Douyin, Weibo, WeChat Articles, Bilibili, Kuaishou and WeChat Channels |
username | string | TikTok handle, without the @ | TikTok, Instagram, X, Reddit, YouTube, Facebook, LinkedIn, Threads, Telegram and Zhihu |
url | string | Link to the page, written facebook.com/handle | Facebook, 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()){ "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: