Douyin Content Guide Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/content-valid-dateReturns the valid date ranges supported by the Douyin content guide index. Helps clients determine allowable date intervals before requesting trend and guide statistics.
- 料金
- $0.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
API README
Douyin Content Guide Valid Dates API
Returns the latest valid dates for the Douyin content guide index. It needs no input. The response gives one date for day, week and month data, plus the earliest week available.
Use cases
- Set the maximum selectable date in a date picker for a Douyin content guide dashboard.
- Check the latest
day,weekormonthvalue before you request content trend data. - Limit weekly queries to the range between
earliest_weekandweek. - Pick the most recent valid date for a scheduled report job.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/content-valid-date" \
-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.
{
"day": "20261101",
"earliest_week": "20260809",
"month": "20261031",
"week": "20261101"
}
Response fields
| Field | Meaning |
|---|---|
day | Latest valid date for daily data, as a YYYYMMDD string. |
week | Latest valid date for weekly data, as a YYYYMMDD string. |
earliest_week | Earliest valid date for weekly data. Use it as the lower bound of a weekly range. |
month | Latest valid date for monthly data, as a YYYYMMDD string. The value in the example is the last day of a month. |
Notes
- Send an empty JSON object
{}. The API has no request parameters. - All dates are strings in
YYYYMMDDformat. - Only the weekly data has an earliest date in this response. The response shows no earliest date for
dayormonth. - For valid dates of other Douyin Index data types, call Douyin Index Valid Dates.
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/content-valid-date" \
-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の保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"data": {
"day": "20260818",
"earliest_week": "20260524",
"month": "20260731",
"week": "20260816"
}
}
]さらに探索
関連 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 Content Guide Valid Dates API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/index/content-valid-date に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Douyin Content Guide Valid Dates API の料金はいくらですか?
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Douyin Content Guide Valid Dates API はどのパラメータを受け付けますか?
Douyin Content Guide Valid Dates は入力パラメータを取りません。空の JSON ボディを送信してください。
Douyin Content Guide Valid Dates API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
Douyin の開発者アカウントまたは API key は必要ですか?
いいえ。Douyin Content Guide Valid Dates は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。
