Search a Weibo user's posts by keyword and dates
tikhub.x.weibo-web-v2-search-user-postsWeibo: search user posts (web_v2)
- Price
- $0.001/successZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 8 calls
- Latency p50
- 826 msp95 1.2 s
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-search-user-posts?uid=7277477906&page=1&hasori=1&haspic=1&hasret=1&endtime=1772294400&hastext=1&hasmusic=1&hasvideo=1&starttime=1772294400Preview- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
q | Zeichenkette | Optional | Search keyword | |
uid | Zeichenkette | Erforderlich | User ID | 7277477906 |
page | Ganzzahl | Optional | Page number | 1 |
hasori | Ganzzahl | Optional | Include original posts, 1=include, 0=exclude | 1 |
haspic | Ganzzahl | Optional | Include image posts, 1=include, 0=exclude | 1 |
hasret | Ganzzahl | Optional | Include retweets, 1=include, 0=exclude | 1 |
endtime | other | Optional | End timestamp | 1772294400 |
hastext | Ganzzahl | Optional | Include text posts, 1=include, 0=exclude | 1 |
hasmusic | Ganzzahl | Optional | Include music posts, 1=include, 0=exclude | 1 |
hasvideo | Ganzzahl | Optional | Include video posts, 1=include, 0=exclude | 1 |
starttime | other | Optional | Start timestamp | 1772294400 |
- Abfrageparameter
qZeichenketteOptionalSearch keyword
uidZeichenketteErforderlichUser ID
Beispiel:
7277477906pageGanzzahlOptionalPage number
Beispiel:
1hasoriGanzzahlOptionalInclude original posts, 1=include, 0=exclude
Beispiel:
1haspicGanzzahlOptionalInclude image posts, 1=include, 0=exclude
Beispiel:
1hasretGanzzahlOptionalInclude retweets, 1=include, 0=exclude
Beispiel:
1endtimeotherOptionalEnd timestamp
Beispiel:
1772294400hastextGanzzahlOptionalInclude text posts, 1=include, 0=exclude
Beispiel:
1hasmusicGanzzahlOptionalInclude music posts, 1=include, 0=exclude
Beispiel:
1hasvideoGanzzahlOptionalInclude video posts, 1=include, 0=exclude
Beispiel:
1starttimeotherOptionalStart timestamp
Beispiel:
1772294400
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-search-user-posts?uid=7277477906&page=1&hasori=1&haspic=1&hasret=1&endtime=1772294400&hastext=1&hasmusic=1&hasvideo=1&starttime=1772294400' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-search-user-posts?uid=7277477906&page=1&hasori=1&haspic=1&hasret=1&endtime=1772294400&hastext=1&hasmusic=1&hasvideo=1&starttime=1772294400",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.weibo-web-v2-search-user-posts?uid=7277477906&page=1&hasori=1&haspic=1&hasret=1&endtime=1772294400&hastext=1&hasmusic=1&hasvideo=1&starttime=1772294400", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.001/success einschließlich Servicegebühr abgerechnet.