Search Weibo posts by keyword and time range
justoneapi.x.weibo-search-all-v2Searches Weibo posts by keyword within a required day-and-hour time range, with page-based pagination, hot or time sorting, and filters for pictures, video, music, or links.
- Price
- $0.01476/success제공업체 원가
- Success rate
- —성공률 데이터가 아직 없습니다Last 30 days · 2 calls
- Latency p50
- ——
- Last verified
- 2026. 7. 28.Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.weibo-search-all-v2?q=%E7%A7%91%E6%8A%80&page=1&endDay=2026-07-27&endHour=23&hotSort=False&contains=ALL&startDay=2026-07-27&startHour=0Preview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
q | 문자열 | 필수 | Search Keywords. | 科技 |
page | 정수 | 선택 | Page number, starting with 1. | 1 |
endDay | 문자열 | 필수 | End Day (yyyy-MM-dd). | 2026-07-27 |
endHour | 정수 | 필수 | End Hour (0-23). | 23 |
hotSort | 불리언 | 선택 | Hot sort, true for hot sort, false for time sort. Default is false. | false |
contains | 문자열 | 선택 | Contains filter for the result set. Available Values: - `ALL`: All - `PICTURE`: Has Picture - `VIDEO`: Has Video - `MUSIC`: Has Music - `LINK`: Has Link One of: ALL, PICTURE, VIDEO, MUSIC, LINK. | ALL |
startDay | 문자열 | 필수 | Start Day (yyyy-MM-dd). | 2026-07-27 |
startHour | 정수 | 필수 | Start Hour (0-23). | 0 |
- 쿼리 파라미터
q문자열필수Search Keywords.
예시:
科技page정수선택Page number, starting with 1.
예시:
1endDay문자열필수End Day (yyyy-MM-dd).
예시:
2026-07-27endHour정수필수End Hour (0-23).
예시:
23hotSort불리언선택Hot sort, true for hot sort, false for time sort. Default is false.
예시:
falsecontains문자열선택Contains filter for the result set. Available Values: - `ALL`: All - `PICTURE`: Has Picture - `VIDEO`: Has Video - `MUSIC`: Has Music - `LINK`: Has Link One of: ALL, PICTURE, VIDEO, MUSIC, LINK.
예시:
ALLstartDay문자열필수Start Day (yyyy-MM-dd).
예시:
2026-07-27startHour정수필수Start Hour (0-23).
예시:
0
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.weibo-search-all-v2?q=%E7%A7%91%E6%8A%80&page=1&endDay=2026-07-27&endHour=23&hotSort=False&contains=ALL&startDay=2026-07-27&startHour=0' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.weibo-search-all-v2?q=%E7%A7%91%E6%8A%80&page=1&endDay=2026-07-27&endHour=23&hotSort=False&contains=ALL&startDay=2026-07-27&startHour=0",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.weibo-search-all-v2?q=%E7%A7%91%E6%8A%80&page=1&endDay=2026-07-27&endHour=23&hotSort=False&contains=ALL&startDay=2026-07-27&startHour=0", {
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.01476/success이며 서비스 수수료가 포함되어 있습니다.