Douyin Brand Hot Videos Time Scope
https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scopeReturns the queryable time scope for Douyin brand hot videos. Allows systems to check valid date ranges before querying related brand analytics endpoints.
- 料金
- $0.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
API README
Douyin Brand Hot Videos Time Scope API
Returns the date range you can query for Douyin brand hot videos. It needs no input. The response gives the first and last week of the range and the latest available day.
Use cases
- Read
latest_dayto set the default end date in a brand hot video report. - Limit a date picker to the range from
start_weektoend_week. - Check a requested date against the range before you call a brand analytics endpoint.
- Run the call on a schedule to see when the range moves forward.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"end_week": "20261101",
"latest_day": "20261101",
"start_week": "20260809"
}
Response fields
| Field | Meaning |
|---|---|
start_week | First date of the queryable range, written as YYYYMMDD (for example 20260809). |
end_week | Last date of the queryable range, written as YYYYMMDD. |
latest_day | Most recent day in the range, written as YYYYMMDD. |
BaseResp.StatusCode | Status code of the call. 0 means the call succeeded. |
BaseResp.StatusMessage | Status text. It is an empty string when the call succeeds. |
Notes
- Send an empty JSON object
{}as the body. The API has no request parameters. - All dates use the compact
YYYYMMDDformat with no separators. - For other valid date ranges in Douyin Index, call Douyin Index Valid Dates.
- To look up a brand before you query its data, call Douyin Brand Search Suggestions.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope" \
-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 | 価格 | レスポンス |
|---|---|---|
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
質問
FAQ
Douyin Brand Hot Videos Time Scope API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/index/brand-hot-videos-time-scope に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Douyin Brand Hot Videos Time Scope API の料金はいくらですか?
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Douyin Brand Hot Videos Time Scope API はどのパラメータを受け付けますか?
Douyin Brand Hot Videos Time Scope は入力パラメータを取りません。空の JSON ボディを送信してください。
Douyin Brand Hot Videos Time Scope API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
Douyin の開発者アカウントまたは API key は必要ですか?
いいえ。Douyin Brand Hot Videos Time Scope は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。
