Douyin Video
Retrieve video with the Douyin API. Input fields and response shapes depend on the selected implementation. Use it in a video discovery or content monitoring workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.01 / callPublished pricing
- Sellers / APIs
- 2 / 44
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Douyin Video
Prepare your request, then continue with your agent.
Selected price
$0.01 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
cache_messagestringcache_message_zhstringcache_urlstringcodeintegerdatanulldocsstringmessagestringmessage_zhstringparamsobjectrequest_idstringrouterstringsupportstringtimestringtime_stampintegertime_zonestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
cache_message?: string;
cache_message_zh?: string;
cache_url?: string;
code?: number;
data?: null;
docs?: string;
message?: string;
message_zh?: string;
params?: Record<string, unknown>;
request_id?: string;
router?: string;
support?: string;
time?: string;
time_stamp?: number;
time_zone?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Douyin Video Search · POST · View API reference | $0.012 / call | —Select to load statistics | —successP50— | |
| Douyin Video Comments · POST · View API reference | $0.0012 / call | —Select to load statistics | —successP50— | |
| Get comment replies data of specified video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Series Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video data by sharing link · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get kol Video Performance V1 · GET · View API reference | $0.02 / call | —Select to load statistics | —successP50— | |
| Anime Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get live video data of specified user by sec_uid · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Fetch video search V5 · POST · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Get user collection data · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Author Homepage Videos · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Extract single video id · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Fetch video search V3 · POST · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Get user mix video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Food Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Fetch video search V1 · POST · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Get single video comments data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Gets the live stream data of the specified user by room_id V2 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user live video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
Current Fetch video search V2 · POST · View API reference | $0.01 / call | — | —successP50— | |
| Get user homepage video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Douyin video channel data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user like video data · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Knowledge Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Batch get the highest quality play URL of videos · POST · View API reference | $0.25 / call | —Select to load statistics | —successP50— | |
| Get Author Spread Videos · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Get single video data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get kol Rec Videos V1 · GET · View API reference | $0.02 / call | —Select to load statistics | —successP50— | |
| Get the highest quality play URL of the video · GET · View API reference | $0.005 / call | —Select to load statistics | —successP50— | |
| Get Author Homepage Videos V1 · GET · View API reference | $0.02 / call | —Select to load statistics | —successP50— | |
| Fetch video search V4 · POST · View API reference | $0.01 / call | —Select to load statistics | —successP50— | |
| Batch Get Video Information · POST · View API reference | $0.05 / call | —Select to load statistics | —successP50— | |
| Extract list video id · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get user collection video data · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get kol Convert Video Display V1 · GET · View API reference | $0.02 / call | —Select to load statistics | —successP50— | |
| Game Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get single video danmaku data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Author Video Distribution · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Get video list of specified hashtag · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video audience profile · POST · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get Author Recommended Videos V2 · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Music Video · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| 获取创作者转化视频/商品明细/Get Author Convert Videos or Products · GET · View API reference | $0.002 / call | —Select to load statistics | —successP50— | |
| Get single video data V2 · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.01
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $1
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_video_search_v2- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
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"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
keyword | JSON request bodybody | string | No | 关键词 / Keyword |
cursor | JSON request bodybody | integer | No | 偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response |
sort_type | JSON request bodybody | string | No | 排序方式:0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest |
publish_time | JSON request bodybody | string | No | 发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year |
filter_duration | JSON request bodybody | string | No | 视频时长过滤: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 | JSON request bodybody | string | No | 内容类型:0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article |
search_id | JSON request bodybody | string | No | 搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response |
backtrace | JSON request bodybody | string | No | 翻页回溯标识,用于翻页,从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Response template · not a real response · Configured HTTP 200; actual status is unverified. Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Douyin Video
Retrieve video with the Douyin API. Input fields and response shapes depend on the selected implementation. Use it in a video discovery or content monitoring workflow. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
anyapi · Douyin Video Search: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=aaa08efe-9a3a-4035-b87c-ec08099e3a44 · $0.012 / call
anyapi · Douyin Video Comments: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=dbd67237-eaf9-490f-82ce-d1057558eab3 · $0.0012 / call
tikhub · Get comment replies data of specified video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=014f63b7-1d1e-464e-92a0-3dd2ef112a40 · $0.001 / call
tikhub · Series Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=0520fc81-0438-4cd2-97e7-9cd519e5b181 · $0.001 / call
tikhub · Get single video data by sharing link: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=0c7240e9-8b5d-4d1b-a0a5-981eeca295a6 · $0.001 / call
tikhub · Get kol Video Performance V1: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=0d999649-06b4-42c2-bc55-d6f8cb3e9c39 · $0.02 / call
tikhub · Anime Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=14ef4441-c93e-4dde-8ead-b22b77db0ecc · $0.001 / call
tikhub · Get live video data of specified user by sec_uid: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=1aad7fba-50b6-49db-9c15-924a78924fee · $0.001 / call
tikhub · Fetch video search V5: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=1b02f649-8b8e-4e38-b256-a84979b3a420 · $0.01 / call
tikhub · Get user collection data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=1f1f2f9e-0c4d-4c14-a722-dd52f4bd058c · $0.001 / call
tikhub · Get Author Homepage Videos: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=200a0248-5e34-4d1d-8d30-699165888d5f · $0.002 / call
tikhub · Extract single video id: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=28457232-7ebb-4c8b-ab92-4f207ba38d32 · $0.001 / call
tikhub · Fetch video search V3: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=2a48255e-1992-4f82-81e7-26bd8aada66e · $0.01 / call
tikhub · Get user mix video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=333c8216-f429-4ba6-af5a-0bbaef0ea4a9 · $0.001 / call
tikhub · Food Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=3c10ac62-6fae-463b-9009-2b512a5d35d8 · $0.001 / call
tikhub · Fetch video search V1: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=42f5f269-73cd-4b5f-be06-5f1f672d490a · $0.01 / call
tikhub · Get single video comments data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=471714ec-ee3d-4038-8915-c11c3fcda83f · $0.001 / call
tikhub · Gets the live stream data of the specified user by room_id V2: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=583ae39c-2873-4dca-963c-19c12e9fae32 · $0.001 / call
tikhub · Get user live video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=5c399301-5a6f-4e53-8382-e557643a7ad6 · $0.001 / call
tikhub · Fetch video search V2: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=6d4e3251-0c03-4afb-b7ae-71f6c2c1c73f · $0.01 / call
tikhub · Get user homepage video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=7816cd6d-ff6a-463a-8a18-dd37eb1dcf4e · $0.001 / call
tikhub · Douyin video channel data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=787e487f-fc56-4922-b2a0-b3bebf6af149 · $0.001 / call
tikhub · Get user like video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=7e36b556-cc8f-464b-8769-438b28d9010f · $0.001 / call
tikhub · Knowledge Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=83c02d9f-9d81-410a-b9a0-dd27b56c5c8f · $0.001 / call
tikhub · Batch get the highest quality play URL of videos: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=877a24ec-67b6-4769-926f-e72a5197902b · $0.25 / call
tikhub · Get Author Spread Videos: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=912d9143-6d32-4ddc-813c-34b8121b558c · $0.002 / call
tikhub · Get single video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=9d59e439-5b89-4ac3-bc62-b4ddfbae27e4 · $0.001 / call
tikhub · Get kol Rec Videos V1: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=a6f003ab-0f05-4b08-9a99-420dc40d7bfd · $0.02 / call
tikhub · Get the highest quality play URL of the video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=aac917f5-9a82-4cf6-8966-0591993fe425 · $0.005 / call
tikhub · Get Author Homepage Videos V1: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=ae106a78-e1d5-422d-845e-14d7946c46f9 · $0.02 / call
tikhub · Fetch video search V4: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=b4ac1061-6297-47f9-ae03-1ba3d6130804 · $0.01 / call
tikhub · Batch Get Video Information: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=b614b77d-845b-41f0-a7f1-a73ca34f7511 · $0.05 / call
tikhub · Extract list video id: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=b792397f-6472-49bd-9abe-1a14257c308f · $0.001 / call
tikhub · Get user collection video data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=b877990c-e8cf-4d6a-ba6a-4fcf5d1fb0fe · $0.001 / call
tikhub · Get kol Convert Video Display V1: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=b9fa20eb-f1e5-444b-8386-eeed61e102c4 · $0.02 / call
tikhub · Game Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=be7547ea-1d03-4fdc-90e3-6a482b532864 · $0.001 / call
tikhub · Get single video danmaku data: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=c74a81c5-b8f8-4ac5-a110-85495f5727c0 · $0.001 / call
tikhub · Get Author Video Distribution: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=cfdc9d5b-487e-4594-8884-0cc2e56978f5 · $0.002 / call
tikhub · Get video list of specified hashtag: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=d9645424-6e69-4001-aca7-8871112ebf22 · $0.001 / call
tikhub · Get video audience profile: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=db3120b9-a178-483c-939f-86ba13e11794 · $0.001 / call
tikhub · Get Author Recommended Videos V2: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=ddc247eb-2991-422f-a094-067114a58888 · $0.002 / call
tikhub · Music Video: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=e8f1f236-aa9e-4b7c-b0bb-97df1a549552 · $0.001 / call
tikhub · 获取创作者转化视频/商品明细/Get Author Convert Videos or Products: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=ed04b67f-2459-4420-ac4f-27c270bde3f8 · $0.002 / call
tikhub · Get single video data V2: https://openany.si/markets/apis/capabilities/douyin-video-07cdcaca?offering=f9b0badc-6c26-4d50-8c84-fe1505e2f53f · $0.001 / call
## Selected API contract
Documentation: https://openany.si/apis/6d4e3251-0c03-4afb-b7ae-71f6c2c1c73f
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_video_search_v2
Price: $0.01 / call
Provider: tikhub
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```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"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Fetch video search V2",
"endpoint": "https://api.openany.si/v1/agent-apis/tikhub/api/v1/douyin/search/fetch_video_search_v2",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "关键词 / Keyword",
"location": "body",
"name": "keyword",
"nullable": false,
"pointer": "/keyword",
"required": false,
"type": "string"
},
{
"description": "偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response",
"location": "body",
"name": "cursor",
"nullable": false,
"pointer": "/cursor",
"required": false,
"type": "integer"
},
{
"description": "排序方式:0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest",
"location": "body",
"name": "sort_type",
"nullable": false,
"pointer": "/sort_type",
"required": false,
"type": "string"
},
{
"description": "发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year",
"location": "body",
"name": "publish_time",
"nullable": false,
"pointer": "/publish_time",
"required": false,
"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",
"location": "body",
"name": "filter_duration",
"nullable": false,
"pointer": "/filter_duration",
"required": false,
"type": "string"
},
{
"description": "内容类型:0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article",
"location": "body",
"name": "content_type",
"nullable": false,
"pointer": "/content_type",
"required": false,
"type": "string"
},
{
"description": "搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response",
"location": "body",
"name": "search_id",
"nullable": false,
"pointer": "/search_id",
"required": false,
"type": "string"
},
{
"description": "翻页回溯标识,用于翻页,从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response",
"location": "body",
"name": "backtrace",
"nullable": false,
"pointer": "/backtrace",
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "10000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Schema template (HTTP assumed)",
"request": {
"body": {
"backtrace": "",
"content_type": "0",
"cursor": 0,
"filter_duration": "0",
"keyword": "机器人",
"publish_time": "0",
"search_id": "",
"sort_type": "0"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"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
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Schema template (HTTP assumed)
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 8
Review these request fields before running. Keep the published provider and request method unchanged.
keyword- 关键词 / Keyword
cursor- 偏移游标,用于翻页,从上一次请求返回的响应中获取 / Offset cursor for pagination, obtained from the last response
sort_type- 排序方式:0=综合排序 1=最多点赞 2=最新发布 / Sort type: 0=Comprehensive, 1=Most Likes, 2=Latest
publish_time- 发布时间筛选:0=不限 1=最近一天 7=最近一周 180=最近半年 / Publish time filter: 0=Unlimited, 1=Last day, 7=Last week, 180=Last half year
filter_duration- 视频时长过滤: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- 内容类型:0=不限 1=视频 2=图片 3=文章 / Content type: 0=All, 1=Video, 2=Picture, 3=Article
search_id- 搜索ID,用于翻页,从上一次请求返回的响应中获取 / Search ID for pagination, obtained from the last response
backtrace- 翻页回溯标识,用于翻页,从上一次请求返回的响应中获取 / Backtrace for pagination, obtained from the last response
Terminal · cURLcurl \ '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" }'Check the response
Response template · not a real response · Configured HTTP 200; actual status is unverified.
Response template · not a real response{ "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" }