Douyin Video Comparison Analysis

https://api.sandbase.ai/v1/api/douyin/index/item-analysis

Returns comparison analysis and metric trends for a Douyin video relative to benchmarks or similar content over a date range, based on the specified video ID.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
3 required · 0 optional
Production route

Try the model

Playground

Open playground
Input
End date YYYYMMDD
Video ID (Douyin aweme id, numeric string)
Start date YYYYMMDD
OutputExample
Responseoutputs · 6.8 KB · 313 lines
[
  {
    "data": {
      "BaseResp": {
        "StatusCode": 0,
        "StatusMessage": ""
      },
      "detail": {
        "comment_acc": {
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "16"
            },
            {
              "datetime": "20260709",
              "value": "73"
            },
            {
              "datetime": "20260710",
              "value": "90"
            }
          ]
        },
        "comment_avg": 12.86,
        "comments": {
          "comparison": {
            "author": {
              "avg": "1",
              "max": "95"
            },
            "category": {
              "avg": "2",
              "max": "68236"
            },
            "duration": {
              "avg": "1",
              "max": "205409"
            }
          },
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "16"
            },
            {
              "datetime": "20260709",
              "value": "57"
            },
            {
              "datetime": "20260710",
              "value": "17"
            }
          ]
        },
        "index": {
          "comparison": {
            "author": {
              "avg": "53",
              "max": "3421"
            },
            "category": {
              "avg": "33",
              "max": "3499391"
            },
            "duration": {
              "avg": "28",
              "max": "4172818"
            }
          },
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "401"
            },
            {
              "datetime": "20260709",
              "value": "2008"
            },
            {
              "datetime": "20260710",
              "value": "863"
            }
          ]
        },
        "like_acc": {
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "337"
            },
            {
              "datetime": "20260709",
              "value": "1649"
            },
            {
              "datetime": "20260710",
              "value": "2247"
            }
          ]
        },
        "like_avg": 321,
        "likes": {
          "comparison": {
            "author": {
              "avg": "38",
              "max": "2137"
            },
            "category": {
              "avg": "10",
              "max": "790890"
            },
            "duration": {
              "avg": "12",
              "max": "1485166"
            }
          },
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "337"
            },
            {
              "datetime": "20260709",
              "value": "1312"
            },
            {
              "datetime": "20260710",
              "value": "598"
            }
          ]
        },
        "share": {
          "comparison": {
            "author": {
              "avg": "5",
              "max": "619"
            },
            "category": {
              "avg": "6",
              "max": "1713993"
            },
            "duration": {
              "avg": "6",
              "max": "1907137"
            }
          },
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "47"
            },
            {
              "datetime": "20260709",
              "value": "249"
            },
            {
              "datetime": "20260710",
              "value": "78"
            }
          ]
        },
        "share_acc": {
          "trend": [
            {
              "datetime": "20260704",
              "value": "0"
            },
            {
              "datetime": "20260705",
              "value": "0"
            },
            {
              "datetime": "20260706",
              "value": "0"
            },
            {
              "datetime": "20260707",
              "value": "0"
            },
            {
              "datetime": "20260708",
              "value": "47"
            },
            {
              "datetime": "20260709",
              "value": "296"
            },
            {
              "datetime": "20260710",
              "value": "374"
            }
          ]
        },
        "share_avg": 53.43
      },
      "summary": {
        "comments": {
          "diff": "90",
          "value": "90"
        },
        "index": {
          "diff": "3272",
          "value": "3272"

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

end_date
string · required
item_id
string · required
start_date
string · required

Access

Provider
Douyin
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/douyin/index/item-analysis
Authentication
Bearer API key

API README

Douyin Video Comparison Analysis API

This endpoint retrieves comparative performance analysis and trends for a Douyin video identified by item_id. Queries require a date window defined by start_date and end_date.

Use cases

  • Benchmark video performance against similar content.
  • Track metric accumulation trends across a specified date range.
  • Evaluate engagement indicators for Douyin items over time.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-analysis" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"end_date": "20260710", "item_id": "7660090930283744575", "start_date": "20260704"}'

Parameters

NameTypeRequiredDescription
item_idstringYesVideo ID (Douyin aweme id, numeric string)
end_datestringYesEnd date YYYYMMDD
start_datestringYesStart date YYYYMMDD

Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

{
  "detail": {
    "comment_acc": {
      "trend": [
        {
          "datetime": "20260705",
          "value": "0"
        }
      ]
    }
  }
}

Notes

  • Pass item_id as a numeric Douyin aweme ID string.
  • Format start_date and end_date as YYYYMMDD strings.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/douyin/index/item-analysis
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-analysis" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "item_id": "7660090930283744575",
  "end_date": "20260710",
  "start_date": "20260704"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026
Douyin$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Douyin Video Comparison Analysis API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/index/item-analysis with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Douyin Video Comparison Analysis API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Douyin Video Comparison Analysis API accept?

Required: end_date (string), item_id (string) and start_date (string). The Parameters table and the Playground on this page list every field.

What does the Douyin Video Comparison Analysis API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Douyin developer account or API key?

No. Douyin Video Comparison Analysis runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Douyin API access separately.