GET /v1/douyin/stored/profile
Douyin stored profile API: followers, likes and bio by sec_uid
Returns a Douyin profile we have stored: name, bio, follower, following, post and like counts, verified flag, and when we first and last read it. Send q as a sec_uid or a douyin.com/user/<sec_uid> URL. It reads our database only, so a profile we never stored is a 404 and never a crawl; the Douyin profile API reads it live.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/douyin/stored/profile?q=MS4wLjABAAAArDVBosPJF3eIWVEFp0szuJ-e1V_-rK0ieJeWwpE77E8' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/douyin/stored/profile",
params={
"q": "MS4wLjABAAAArDVBosPJF3eIWVEFp0szuJ-e1V_-rK0ieJeWwpE77E8",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
q required | query | string | A Douyin sec_uid, or the https://www.douyin.com/user/{sec_uid} profile URL. |
Example response
The example response of the API reference.
json
{
"data": {
"id": 1,
"profile_id": 46241840,
"sec_uid": "MS4wLjABAAAArDVBosPJF3eIWVEFp0szuJ-e1V_-rK0ieJeWwpE77E8",
"uid": "92823093519336",
"unique_id": "62334810861",
"full_name": "失败的魏",
"biography": "谢谢关注\n最喜欢的主播@魏辰宇 \n每天晚上11点直播\n素材来源于直播间\n希望兄弟们也可以找到属于自己的打法",
"profile_pic_url": "https://f005.backblazeb2.com/file/influencer-prod/production/crawler/douyin_account/1.webp",
"followers": 20751,
"following": 313,
"posts_count": 433,
"total_favorited": 1127721,
"favoriting_count": 370,
"is_verified": false,
"is_private": false,
"first_scraped_at": "2026-10-20T13:06:50.509201Z",
"last_scraped_at": "2026-11-25T18:55:57.216614Z",
"scrape_count": 868
},
"meta": {
"cost": "$0.0005",
"balance": "$326.8445",
"request_id": "req_bac2b5202444a8048d4547366979c5d9"
}
}How it works
A stored Douyin profile: name, bio, follower, following, post and like counts, and when we last read it. Strictly DB: a profile we never stored is a 404, never a crawl. Read a fresh one with /v1/douyin/user_profile.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The profile is not stored. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |