# Fetch video search V2

Get Douyin Video data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by TikHub, pass parameters such as backtrace, content_type, cursor, and retrieve structured data including business status code, business payload, response message, returned params field, and request identifier for content research and account lookup, and integration reference.

Documentation: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=6d4e3251-0c03-4afb-b7ae-71f6c2c1c73f
API ID: 6d4e3251-0c03-4afb-b7ae-71f6c2c1c73f
Provider: tikhub
Contract revision: 5
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_video_search_v2
Page update time: 2026-12-03T02:53:21.564Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.01 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract. Price update time: not supplied.
Contract update time: 2026-12-03T02:53:19.643Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "10000",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Fetch video search V2 request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "type": "object",
      "properties": {
        "keyword": {
          "type": "string",
          "description": "关键词 / Keyword"
        },
        "cursor": {
          "type": "integer",
          "description": "偏移游标，用于翻页，从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response"
        },
        "sort_type": {
          "type": "string",
          "description": "排序方式：0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest"
        },
        "publish_time": {
          "type": "string",
          "description": "发布时间筛选：0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year"
        },
        "filter_duration": {
          "type": "string",
          "description": "视频时长过滤：0=不限 0-1=一分钟以内 1-5=一到五分钟 5-10000=五分钟以上 / Video duration filter: 0=Unlimited, 0-1=Within 1 minute, 1-5=1 to 5 minutes, 5-10000=More than 5 minutes"
        },
        "content_type": {
          "type": "string",
          "description": "内容类型：0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article"
        },
        "search_id": {
          "type": "string",
          "description": "搜索ID，用于翻页，从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response"
        },
        "backtrace": {
          "type": "string",
          "description": "翻页回溯标识，用于翻页，从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response"
        }
      }
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "cache_message": {
      "type": "string"
    },
    "cache_message_zh": {
      "type": "string"
    },
    "cache_url": {
      "type": "string"
    },
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "null"
    },
    "docs": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "message_zh": {
      "type": "string"
    },
    "params": {
      "type": "object",
      "properties": {}
    },
    "request_id": {
      "type": "string"
    },
    "router": {
      "type": "string"
    },
    "support": {
      "type": "string"
    },
    "time": {
      "type": "string"
    },
    "time_stamp": {
      "type": "integer"
    },
    "time_zone": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template (HTTP assumed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_video_search_v2' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "backtrace": "",
  "content_type": "0",
  "cursor": 0,
  "filter_duration": "0",
  "keyword": "机器人",
  "publish_time": "0",
  "search_id": "",
  "sort_type": "0"
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Configured HTTP 200; actual status is unverified.
```json
{
  "cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
  "cache_message_zh": "本次响应已缓存，可通过下方 URL 直接查看，有效期 24 小时，访问缓存链接无额外费用。缓存仅用于请求溯源，不影响接口数据的时效性，也不会再次通过接口返回。",
  "cache_url": "<cache_url>",
  "code": 200,
  "data": null,
  "docs": "<docs>",
  "message": "Request successful. This request will incur a charge.",
  "message_zh": "请求成功，本次请求将被计费。",
  "params": {},
  "request_id": "<request_id>",
  "router": "",
  "support": "Discord: https://discord.gg/aMEAS8Xsvz",
  "time": "<time>",
  "time_stamp": 0,
  "time_zone": "America/Los_Angeles"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Available implementations
- anyapi: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=aaa08efe-9a3a-4035-b87c-ec08099e3a44
- anyapi: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=dbd67237-eaf9-490f-82ce-d1057558eab3
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=014f63b7-1d1e-464e-92a0-3dd2ef112a40
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=0520fc81-0438-4cd2-97e7-9cd519e5b181
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=0c7240e9-8b5d-4d1b-a0a5-981eeca295a6
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=0d999649-06b4-42c2-bc55-d6f8cb3e9c39
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=14ef4441-c93e-4dde-8ead-b22b77db0ecc
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=1aad7fba-50b6-49db-9c15-924a78924fee
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=1b02f649-8b8e-4e38-b256-a84979b3a420
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=1f1f2f9e-0c4d-4c14-a722-dd52f4bd058c
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=200a0248-5e34-4d1d-8d30-699165888d5f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=28457232-7ebb-4c8b-ab92-4f207ba38d32
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=2a48255e-1992-4f82-81e7-26bd8aada66e
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=333c8216-f429-4ba6-af5a-0bbaef0ea4a9
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=3c10ac62-6fae-463b-9009-2b512a5d35d8
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=42f5f269-73cd-4b5f-be06-5f1f672d490a
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=471714ec-ee3d-4038-8915-c11c3fcda83f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=583ae39c-2873-4dca-963c-19c12e9fae32
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=5c399301-5a6f-4e53-8382-e557643a7ad6
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=6d4e3251-0c03-4afb-b7ae-71f6c2c1c73f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=7816cd6d-ff6a-463a-8a18-dd37eb1dcf4e
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=787e487f-fc56-4922-b2a0-b3bebf6af149
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=7e36b556-cc8f-464b-8769-438b28d9010f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=83c02d9f-9d81-410a-b9a0-dd27b56c5c8f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=877a24ec-67b6-4769-926f-e72a5197902b
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=912d9143-6d32-4ddc-813c-34b8121b558c
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=9d59e439-5b89-4ac3-bc62-b4ddfbae27e4
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=a6f003ab-0f05-4b08-9a99-420dc40d7bfd
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=aac917f5-9a82-4cf6-8966-0591993fe425
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=ae106a78-e1d5-422d-845e-14d7946c46f9
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=b4ac1061-6297-47f9-ae03-1ba3d6130804
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=b614b77d-845b-41f0-a7f1-a73ca34f7511
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=b792397f-6472-49bd-9abe-1a14257c308f
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=b877990c-e8cf-4d6a-ba6a-4fcf5d1fb0fe
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=b9fa20eb-f1e5-444b-8386-eeed61e102c4
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=be7547ea-1d03-4fdc-90e3-6a482b532864
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=c74a81c5-b8f8-4ac5-a110-85495f5727c0
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=cfdc9d5b-487e-4594-8884-0cc2e56978f5
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=d9645424-6e69-4001-aca7-8871112ebf22
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=db3120b9-a178-483c-939f-86ba13e11794
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=ddc247eb-2991-422f-a094-067114a58888
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=e8f1f236-aa9e-4b7c-b0bb-97df1a549552
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=ed04b67f-2459-4420-ac4f-27c270bde3f8
- tikhub: https://openany.si/market/apis/douyin/douyin-video-07cdcaca/?offering=f9b0badc-6c26-4d50-8c84-fe1505e2f53f

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
