core_user_idany
User core ID (pick one with sec_uid)
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcodeReturns a QR code for a Douyin Xingtu creator profile. Look up the profile QR code by providing either a user core ID or sec_uid.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns a link to a QR code image for a Douyin Xingtu creator profile. Pass either core_user_id or sec_uid to identify the creator.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"core_user_id": "1113181577281568"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
core_user_id | string | No | User core ID (pick one with sec_uid) |
sec_uid | string | No | User sec_uid (pick one with core_user_id) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": "ęå"
},
"qrcode": "https://p3.douyinpic.com/img/aweme-qrcode/TSQBWe7703844895601002240~c5_720x720.pā¦"
}
| Field | Meaning |
|---|---|
qrcode | URL of the QR code image (a PNG file) for the creator profile. Download or embed this URL to show the code. |
base_resp.status_code | Result code of the call. A value of 0 means the lookup succeeded. |
base_resp.status_message | Text message that goes with the status code. It reads ęå (success) in the sample response. |
core_user_id or sec_uid. The request schema marks both as optional strings and describes them as pick one.core_user_id set to 1113181577281568.sec_uid into a Xingtu author ID, call Douyin XingTu kolId by sec_user_id (V2).$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"core_user_id": "1113181577281568"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
core_user_idanyUser core ID (pick one with sec_uid)
sec_uidanyUser sec_uid (pick one with core_user_id)
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.002 per panggilan | JSON |
Douyin | $0.01 per panggilan | JSON |
Douyin | $0.003 per panggilan | JSON |
Douyin | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/douyin/xingtu-v2/user-profile-qrcode dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.002 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: core_user_id (any) dan sec_uid (any). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Douyin Xingtu User Profile QR Code berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Douyin secara terpisah.