Douyin Material Center Configuration
https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-configReturns configuration details and settings for the Douyin material center. Provides system parameters and feature availability for account asset workflows.
- 가격
- $0.001USD / 호출
- 메서드
- POST
- 응답
- JSON
- 매개변수
- 필수 0개 · 선택 사항 0개
Playground
[
{
"data": {
"city_code_list": [
{
"code": 110000,
"name": "北京"
},
{
"code": 310000,
"name": "上海"
},
{
"code": 440100,
"name": "广州"
},
"… 391 more items in the full response"
],
"hot_spot_tag_list": [
{
"code": [
1004,
1000,
1002,
"… 2 more items in the full response"
],
"name": "站内玩法"
},
{
"code": [
20001,
20006,
20000,
"… 4 more items in the full response"
],
"name": "话题互动"
},
{
"code": [
2007,
2000,
2011,
"… 10 more items in the full response"
],
"name": "娱乐"
},
"… 20 more items in the full response"
],
"hot_word_tag_list": [
{
"code": 333,
"name": "美食"
},
{
"code": 334,
"name": "旅行"
},
{
"code": 299,
"name": "泛生活"
},
"… 18 more items in the full response"
],
"province_list": [
{
"city_list": [
{
"code": 1817993,
"has_billboard": true,
"name": "安庆"
},
{
"code": 1816440,
"has_billboard": true,
"name": "蚌埠"
},
{
"code": 1816234,
"has_billboard": false,
"name": "亳州"
},
"… 13 more items in the full response"
],
"province": "安徽"
},
{
"city_list": [
{
"code": 1816670,
"has_billboard": true,
"name": "北京"
}
],
"province": "北京"
},
{
"city_list": [
{
"code": 1814906,
"has_billboard": true,
"name": "重庆"
}
],
"province": "重庆"
},
"… 28 more items in the full response"
],
"status_code": 0,
"status_msg": "",
"tag_list": [
{
"code": 333,
"name": "美食"
},
{
"code": 334,
"name": "旅行"
},
{
"code": 299,
"name": "泛生活"
},
"… 22 more items in the full response"
]
}
}
]예시
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
API README
Douyin Material Center Configuration API
Returns the lookup lists used by the Douyin creator material center: city codes, province and city lists, and tag codes for hot spots and hot words. It takes no input parameters. Send an empty JSON object as the request body.
Use cases
- Map numeric city codes to city names before you read material center billboard data.
- Build a province and city picker that shows only cities with a billboard.
- Translate hot word tag codes into names such as 美食 (food) or 旅行 (travel) in a trend dashboard.
- Cache the hot spot tag groups to filter hot spot results by category.
Request
curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-config" \
-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.
{
"city_code_list": [
{
"code": 110000,
"name": "北京"
}
],
"hot_spot_tag_list": [
{
"code": [
1004
],
"name": "站内玩法"
}
],
"hot_word_tag_list": [
{
"code": 333,
"name": "美食"
}
],
"province_list": [
{
"city_list": [
{
"code": 1817993,
"has_billboard": true,
"name": "安庆"
}
],
"province": "安徽"
}
],
"status_code": 0,
"status_msg": "",
"tag_list": [
{
"code": 333,
"name": "美食"
}
]
}
Response fields
| Field | Meaning |
|---|---|
city_code_list[].code / city_code_list[].name | Numeric code and name of a city, such as 110000 for 北京. This list is separate from the city codes in province_list. |
province_list[].province | Name of a province or municipality, such as 安徽. |
province_list[].city_list[].code / province_list[].city_list[].name | Numeric code and name of a city inside the province. |
province_list[].city_list[].has_billboard | true if the city has a billboard, false if it does not. |
hot_spot_tag_list[].name | Name of a hot spot tag group, such as 娱乐 (entertainment) or 话题互动. |
hot_spot_tag_list[].code | List of numeric codes that belong to the hot spot tag group. |
hot_word_tag_list[].code / hot_word_tag_list[].name | Numeric code and name of a hot word tag, such as 333 for 美食. |
tag_list[].code / tag_list[].name | Numeric code and name of a general tag. The sample entries match the hot word tags. |
status_code / status_msg | Result status of the call. status_code is 0 and status_msg is empty in the sample response. |
Notes
- This API needs no parameters. Send
{}as the body. - City codes in
city_code_list(for example110000) differ from those inprovince_list[].city_list[](for example1816670for 北京), so match codes within the same list. - Names are returned in Chinese.
- For ranked data, call Douyin Creator Material Center Billboard or Douyin Creator Hot Spot Billboard.
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/creator/creator-material-center-config" \
-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": {
"city_code_list": [
{
"code": 110000,
"name": "北京"
},
{
"code": 310000,
"name": "上海"
},
{
"code": 440100,
"name": "广州"
},
"… 391 more items in the full response"
],
"hot_spot_tag_list": [
{
"code": [
1004,
1000,
1002,
"… 2 more items in the full response"
],
"name": "站内玩法"
},
{
"code": [
20001,
20006,
20000,
"… 4 more items in the full response"
],
"name": "话题互动"
},
{
"code": [
2007,
2000,
2011,
"… 10 more items in the full response"
],
"name": "娱乐"
},
"… 20 more items in the full response"
],
"hot_word_tag_list": [
{
"code": 333,
"name": "美食"
},
{
"code": 334,
"name": "旅行"
},
{
"code": 299,
"name": "泛生活"
},
"… 18 more items in the full response"
],
"province_list": [
{
"city_list": [
{
"code": 1817993,
"has_billboard": true,
"name": "安庆"
},
{
"code": 1816440,
"has_billboard": true,
"name": "蚌埠"
},
{
"code": 1816234,
"has_billboard": false,
"name": "亳州"
},
"… 13 more items in the full response"
],
"province": "安徽"
},
{
"city_list": [
{
"code": 1816670,
"has_billboard": true,
"name": "北京"
}
],
"province": "北京"
},
{
"city_list": [
{
"code": 1814906,
"has_billboard": true,
"name": "重庆"
}
],
"province": "重庆"
},
"… 28 more items in the full response"
],
"status_code": 0,
"status_msg": "",
"tag_list": [
{
"code": 333,
"name": "美食"
},
{
"code": 334,
"name": "旅行"
},
{
"code": 299,
"name": "泛生活"
},
"… 22 more items in the full response"
]
}
}
]더 살펴보기
관련 API
| 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 Material Center Configuration API를 어떻게 사용하나요?
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/creator/creator-material-center-config에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
Douyin Material Center Configuration API 비용은 얼마인가요?
호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
Douyin Material Center Configuration API는 어떤 매개변수를 받나요?
Douyin Material Center Configuration은 입력 매개변수를 받지 않습니다. 빈 JSON 본문을 보내세요.
Douyin Material Center Configuration API는 무엇을 반환하나요?
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
Douyin 개발자 계정이나 API 키가 필요한가요?
아니요. Douyin Material Center Configuration은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.
