uidstringwajib
Weibo User ID (UID).
https://api.sandbase.ai/v1/api/weibo/followersGet a page of accounts followed by a Weibo user identified by UID. Use it to examine the account's outgoing follow network or continue through its following list.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
Returns one page of the accounts that a Weibo user follows. It needs the user's numeric uid and takes an optional page number.
followers_count and description for each followed account to find large or relevant accounts.follow_me and bi_followers_count.curl -X POST "https://api.sandbase.ai/v1/api/weibo/followers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"uid": "2803301701"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | Weibo User ID (UID). |
page | integer | No | Page number, starting with 1. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"fill_material": 0,
"has_filtered_attentions": false,
"has_filtered_fans": false,
"next_cursor": 20,
"ok": 1,
"previous_cursor": 0,
"screenName": "人民日报",
"show_related_topic": false,
"show_unread": false,
"sort_type": 0,
"total_number": 419,
"type": 0
}
| Field | Meaning |
|---|---|
screenName | Display name of the user whose following list you requested. |
total_number | Total number of accounts in the following list. The sample shows 419. |
next_cursor / previous_cursor | Position markers for the next and previous page. The sample shows 20 for next_cursor and 0 for previous_cursor. |
users[] | The followed accounts on this page. Each item is one account profile. |
users[].created_at | Date and time the followed account was created, as text such as Wed Jan 23 12:51:13 +0800 2013. |
users[].description | Bio text of the followed account. It can be an empty string. |
users[].followers_count / users[].followers_count_str | Number of followers of the followed account. The _str field is the shortened display text, for example 519万. |
users[].friends_count | Number of accounts the followed account itself follows. |
users[].bi_followers_count | Count of mutual follow relationships for the followed account. |
users[].domain / users[].gender | Custom URL domain name and gender code of the followed account. These fields are missing or empty on some accounts. |
users[].avatar_hd / users[].avatar_large / users[].cover_image | Image URLs for the avatar and the profile cover. The avatar URLs carry an Expires parameter. |
page starting at 1 to move through the list. Check next_cursor and total_number to see how much is left.gender and cover_image, are not present on every account. Handle missing keys.$0.014286 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/weibo/followers" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"uid": "2803301701",
"page": 1
}'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.
uidstringwajibWeibo User ID (UID).
pageintegerPage number, starting with 1.
Default: 1
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 |
|---|---|---|
Weibo User FollowersAPI ini Weibo | $0.014286 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Weibo | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/weibo/followers 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.014286 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: uid (string). Opsional: page (integer). 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. Weibo User Followers 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 Weibo secara terpisah.