Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Weibo User Post Search

Dokumentasi API
https://api.sandbase.ai/v1/api/weibo/web-v2/search-user-posts

Returns posts from a specified Weibo user matching optional search keywords. Supports filtering by post types such as images, videos, and retweets, as well as date ranges.

Harga
$0.001USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib ยท 10 opsional
100 panggilan gratis / hari100 panggilan pertama per hari gratis (dibagi per organisasi) ยท Direset pada 00:00 UTC. Setelah itu, bayar per panggilan.

Playground

Input
User ID (required)
End timestamp (optional, Unix timestamp format)
Include music posts (default 1 include)
Include original posts (default 1 include)
Include image posts (default 1 include)
Include retweets (default 1 include)
Include text posts (default 1 include)
Include video posts (default 1 include)
Page number, starts from 1 (default 1)
Search keyword (optional, empty string means search all content)
Start timestamp (optional, Unix timestamp format)
OutputSiap

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

Weibo User Post Search API

Returns posts from one Weibo user's timeline that match optional keywords. It needs the user's uid and accepts filters for post type and a Unix timestamp date range.

Use cases

  • Find every post where a Weibo creator mentions a brand or product name.
  • Pull only the video or image posts from one account for content review.
  • Collect an account's posts for a set time window by passing starttime and endtime.
  • Check whether a user has posted about a topic by testing if data.total is above zero.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/search-user-posts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "8431518763"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
uidstringYesUser ID (required)
endtimestringNoEnd timestamp (optional, Unix timestamp format)
hasmusicintegerNoInclude music posts (default 1 include)
hasoriintegerNoInclude original posts (default 1 include)
haspicintegerNoInclude image posts (default 1 include)
hasretintegerNoInclude retweets (default 1 include)
hastextintegerNoInclude text posts (default 1 include)
hasvideointegerNoInclude video posts (default 1 include)
pageintegerNoPage number, starts from 1 (default 1)
qstringNoSearch keyword (optional, empty string means search all content)
starttimestringNoStart timestamp (optional, Unix timestamp format)

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "list": [],
    "total": 0
  },
  "ok": 1
}

Response fields

FieldMeaning
okStatus flag for the call. A value of 1 means the request went through.
data.listList of matching posts for the requested page. It is an empty list when nothing matches, as in the sample call.
data.totalCount of posts that match the query and filters. It is 0 in the sample response, which has no matches.

Notes

  • Get the uid from a user lookup such as Weibo User Search or Weibo User Basic Information.
  • Use page to move through results. It starts at 1.
  • An empty data.list with data.total of 0 means no posts matched the current q, type flags and time range.
  • To list an account's posts without a keyword search, use Weibo User Posts.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON
Weibo$0.001 per panggilanJSON

Panduan:Best Weibo API in 2026: Pricing Compared

Pertanyaan

FAQ

Bagaimana cara menggunakan API Weibo User Post Search?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/weibo/web-v2/search-user-posts 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.

Berapa biaya API Weibo User Post Search?

$0.001 per panggilan. Setiap organisasi mendapat 100 panggilan gratis per hari UTC, dibagi di seluruh API SandBase yang memenuhi syarat termasuk yang ini; setelah itu setiap panggilan ditagihkan dengan harga ini dari saldo SandBase Anda. Tidak ada langganan.

Parameter apa yang diterima API Weibo User Post Search?

Wajib: uid (string). Opsional: endtime (any), hasmusic (integer), hasori (integer), haspic (integer), hasret (integer) dan hastext (integer) dan 4 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Weibo User Post Search?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Weibo?

Tidak. Weibo User Post Search 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.