Douyin Index Video Search

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

Search Douyin Index videos by keyword with filters for post date, duration, category, and label type. Returns video metadata and performance metrics.

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

Try the model

Playground

Open playground
Input
Category ID (string), default "0"=all
Publish date filter, default 0=any
Duration filter, default 0=any
Video type (quality tag), default 0=any
Search keyword (required), e.g. "food"
OutputExample
Responseoutputs · 48 B · 7 lines
[
  {
    "data": {
      "data": []
    }
  }
]

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

query
string · required
category_id
string · optional
date_type
integer · optional
duration_type
integer · optional
label_type
integer · optional

Access

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

API README

Douyin Index Video Search API

Search the Douyin Index video catalog using query alongside optional filters like category_id, duration_type, date_type, and label_type. Returns video details and engagement indicators.

Use cases

  • Search Douyin videos matching specific keywords and categories.
  • Filter indexed video results by duration and post timeframe.
  • Track video engagement metrics such as like counts and performance flags.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/index/item-query" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "美食"}'

Parameters

NameTypeRequiredDescription
querystringYesSearch keyword (required), e.g. "food"
date_typeintegerNoPublish date filter, default 0=any
label_typeintegerNoVideo type (quality tag), default 0=any
category_idstringNoCategory ID (string), default "0"=all
duration_typeintegerNoDuration filter, default 0=any

Example response

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

{
  "data": [
    {
      "createTime": "2026-09-08 21:42:33",
      "duration": 22,
      "isHighFansRiseRate": 0,
      "isHighLikeRate": 0,
      "isHighPlayOverRate": 0,
      "likes": "242510",
      "nickname": "<user>",
      "title": "#腋来香 #腋问 #腋总会 #可爱 #美食 @DOU+小助手",
      "url": "https://www.douyin.com/video/7683159416120892148"
    }
  ]
}

Notes

  • Set date_type, label_type, and duration_type to 0 for default unfiltered results.
  • Pass category_id as a string, with "0" selecting all categories.

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-query
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-query" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "query": "sandbase",
  "date_type": 0,
  "label_type": 0,
  "category_id": "0",
  "duration_type": 0
}
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 Index Video Search API?

Send a POST request to https://api.sandbase.ai/v1/api/douyin/index/item-query 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 Index Video Search 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 Index Video Search API accept?

Required: query (string). Optional: category_id (string), date_type (integer), duration_type (integer) and label_type (integer). The Parameters table and the Playground on this page list every field.

What does the Douyin Index Video Search 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 Index Video Search 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.