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/07/28Verified 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 です。サービス料を含みます。