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/success제공업체 원가
- Success rate
- 100%Last 30 days · 8 calls
- Latency p50
- 826 msp95 1.2 s
- Last verified
- 2026. 7. 28.Verified 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
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
q | 문자열 | 선택 | Search keyword | |
uid | 문자열 | 필수 | User ID | 7277477906 |
page | 정수 | 선택 | Page number | 1 |
hasori | 정수 | 선택 | Include original posts, 1=include, 0=exclude | 1 |
haspic | 정수 | 선택 | Include image posts, 1=include, 0=exclude | 1 |
hasret | 정수 | 선택 | Include retweets, 1=include, 0=exclude | 1 |
endtime | other | 선택 | End timestamp | 1772294400 |
hastext | 정수 | 선택 | Include text posts, 1=include, 0=exclude | 1 |
hasmusic | 정수 | 선택 | Include music posts, 1=include, 0=exclude | 1 |
hasvideo | 정수 | 선택 | Include video posts, 1=include, 0=exclude | 1 |
starttime | other | 선택 | Start timestamp | 1772294400 |
- 쿼리 파라미터
q문자열선택Search keyword
uid문자열필수User ID
예시:
7277477906page정수선택Page number
예시:
1hasori정수선택Include original posts, 1=include, 0=exclude
예시:
1haspic정수선택Include image posts, 1=include, 0=exclude
예시:
1hasret정수선택Include retweets, 1=include, 0=exclude
예시:
1endtimeother선택End timestamp
예시:
1772294400hastext정수선택Include text posts, 1=include, 0=exclude
예시:
1hasmusic정수선택Include music posts, 1=include, 0=exclude
예시:
1hasvideo정수선택Include video posts, 1=include, 0=exclude
예시:
1starttimeother선택Start timestamp
예시:
1772294400
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Preview
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());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.001/success이며 서비스 수수료가 포함되어 있습니다.