Baidu Realtime Hot Search
https://api.sandbase.ai/v1/api/baidu/realtime-hot-searchFetch the real-time hot search rankings from the Baidu Top board. Returns the current top trending search terms with scores and metadata. Items are ordered by descending hot_score. No filtering is available; the full ranked list is returned in a single page.
- 料金
- $0.03USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
API README
Baidu Realtime Hot Search API
Fetch the real-time hot search rankings from the Baidu Top board. Returns the current top trending search terms with scores and metadata. Items are ordered by descending hot_score. No filtering is available; the full ranked list is returned in a single page.
Request
curl -X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "baidu/realtime-hot-search"}'
The result is returned in outputs[0].data.
Parameters
| Name | Type | Required | Description |
|---|
Pricing
Flat $0.03 per call. Failed calls are not charged.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/baidu/realtime-hot-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. 認証
SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
3. パラメータ
このAPIのパラメータスキーマは公開されていません。
4. レスポンス
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
関連 APIs
| API | 価格 | レスポンス |
|---|---|---|
Baidu | $0.03 / 回 | JSON |
Baidu | $0.03 / 回 | JSON |
Baidu | $0.03 / 回 | JSON |
Baidu | $0.01 / 回 | JSON |
Baidu | $0.03 / 回 | JSON |
Baidu | $0.015 / 回 | JSON |
質問
FAQ
Baidu Realtime Hot Search API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/baidu/realtime-hot-search に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Baidu Realtime Hot Search API の料金はいくらですか?
1回あたり $0.03、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Baidu Realtime Hot Search API はどのパラメータを受け付けますか?
Baidu Realtime Hot Search は入力パラメータを取りません。空の JSON ボディを送信してください。
Baidu Realtime Hot Search API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
Baidu の開発者アカウントまたは API key は必要ですか?
いいえ。Baidu Realtime Hot Search は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Baidu の API アクセスを別途申請する必要はありません。
