Douyin Relation Analysis Valid Dates
https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relationReturns the valid date range available for relation analysis on Douyin. Use this endpoint to discover supported timeframes before requesting relationship metrics.
- Cena
- $0.001USD / wywołanie
- Metoda
- POST
- Odpowiedź
- JSON
- Parametry
- 0 wymaganych · 0 opcjonalnych
Playground
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "20260816"
}
}
]Przykłady
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
README API
Douyin Relation Analysis Valid Dates API
Returns the latest valid dates for Douyin relation analysis. It takes no input, so you send an empty JSON object.
Use cases
- Read the latest allowed end date before you build a date picker for relation word queries.
- Check
industry_relative_words_end_datebefore you request industry relation words, so your end date is in range. - Run the call at the start of a pipeline job to confirm the date you plan to use is not past the latest valid date.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
-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": ""
},
"datetime": "20261101",
"industry_relative_words_end_date": "20261101"
}
Response fields
| Field | Meaning |
|---|---|
datetime | Latest valid date for relation analysis, as a YYYYMMDD string. The sample value is 20261101. |
industry_relative_words_end_date | Latest valid end date for industry relation words, as a YYYYMMDD string. The sample value is 20261101. |
BaseResp.StatusCode | Status code of the call. 0 in the sample response. |
BaseResp.StatusMessage | Status text of the call. It is an empty string in the sample response. |
Notes
- The request has no parameters. Send
{}as the body. - Dates come back as
YYYYMMDDstrings with no separators. - Use the returned dates as the upper bound when you call Douyin Relation Word Analysis.
- For valid dates of other 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.
Zacznij tworzyć
Wyślij pierwsze żądanie
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Uwierzytelnianie
Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
3. Parametry
Nie opublikowano schematu parametrów dla tego API.
4. Odpowiedź
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"data": {
"BaseResp": {
"StatusCode": 0,
"StatusMessage": ""
},
"datetime": "20260809",
"industry_relative_words_end_date": "20260816"
}
}
]Odkryj więcej
Powiązane APIs
| API | Cena | Odpowiedź |
|---|---|---|
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
FAQ
Jak używać API Douyin Relation Analysis Valid Dates?
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/index/valid-date-for-relation z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
Ile kosztuje API Douyin Relation Analysis Valid Dates?
$0.001 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Jakie parametry przyjmuje API Douyin Relation Analysis Valid Dates?
Douyin Relation Analysis Valid Dates nie przyjmuje żadnych parametrów wejściowych; wyślij pustą treść JSON.
Co zwraca API Douyin Relation Analysis Valid Dates?
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Czy potrzebuję konta deweloperskiego Douyin lub klucza API?
Nie. Douyin Relation Analysis Valid Dates działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.
