Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Douyin Account Metric Trends

API 문서
https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-trends-list

Returns metric trend records for a Douyin account over time, including new likes, works, comments, or shares broken down by hour or day.

가격
$0.001USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 2개

Playground

입력
User sec_id
Time window, 1 by hour 2 by day
Option, 2 New like 3 New work 4 New comment 5 New share
출력예시
응답outputs · 521 B · 29줄
[
  {
    "data": {
      "code": 0,
      "data": {
        "avg": 31046.3595505618,
        "trends": [
          {
            "datetime": 1783440000,
            "value": 1600
          },
          {
            "datetime": 1783526400,
            "value": 1057
          },
          {
            "datetime": 1783612800,
            "value": 1023
          },
          "… 86 more items in the full response"
        ]
      },
      "extra": {
        "now": 1791290506000
      },
      "message": ""
    }
  }
]

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Douyin Account Metric Trends API

Returns a time series of one metric for a Douyin account, plus the average value across the series. It needs the account's sec_uid. You can pick the metric with option and the interval with date_window.

Use cases

  • Chart daily new likes for a creator to see which days performed best.
  • Compare new works, comments, and shares for an account over the same period.
  • Switch to hourly values to find the times of day when an account gains the most engagement.
  • Use the average value as a baseline to flag days that rise far above normal.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-trends-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_uid": "MS4wLjABAAAAr52fXcfmzqOZJM_smap9Uuxtm16h8BupkCVaCt89BENq3E91mHCvtz5Z5TkXPHq_"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
sec_uidstringYesUser sec_id
date_windowintegerNoTime window, 1 by hour 2 by day
optionintegerNoOption, 2 New like 3 New work 4 New comment 5 New share

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "code": 0,
  "data": {
    "avg": 24082.404494382023,
    "trends": [
      {
        "datetime": 1785859200,
        "value": 28479
      }
    ]
  },
  "extra": {
    "now": 1793691105000
  },
  "message": ""
}

Response fields

FieldMeaning
data.trends[]List of data points in time order. Each item is one interval of the chosen metric.
data.trends[].datetimeStart time of the interval as a Unix timestamp in seconds.
data.trends[].valueMetric count for that interval. The metric depends on the option you send.
data.avgAverage of the metric across the returned interval values.
code / messagecode is 0 on success. message is an empty string when there is no error.

Notes

  • Get sec_uid from an account entry in Douyin Hot Account List or Douyin Hot Account Search.
  • option values: 2 new likes, 3 new works, 4 new comments, 5 new shares. date_window values: 1 by hour, 2 by day.
  • In the example response, consecutive datetime values differ by 86400, which matches one-day steps.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 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

가이드:Best Douyin API in 2026: Pricing Compared

질문

FAQ

Douyin Account Metric Trends API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/douyin/billboard/hot-account-trends-list에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Douyin Account Metric Trends API 비용은 얼마인가요?

호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Douyin Account Metric Trends API는 어떤 매개변수를 받나요?

필수: sec_uid (string). 선택: date_window (integer) 및 option (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Douyin Account Metric Trends API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Douyin 개발자 계정이나 API 키가 필요한가요?

아니요. Douyin Account Metric Trends은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Douyin API 액세스를 별도로 신청할 필요는 없습니다.