justoneapi_x_douyin-search-video-v4 $0.01845 per call
Search Douyin videos by keyword. Searches Douyin (TikTok China) videos by keyword with sort, publish-time, duration, and page filters; later pages require the previous search ID. (Just One API · Douyin (TikTok China))
For AI agents: call justoneapi_x_douyin-search-video-v4
POST https://toll402.dev/v1/p/justoneapi.x.douyin-search-video-v4
{
"sortType": "_0",
"publishTime": "_0",
"duration": "_0",
"page": 1
}Answers 402 with x402 payment requirements; pay with any x402 client (@x402/fetch, x402 for Python, toll402-client, toll402-mcp) or send a prepaid-credits key as x-toll402-key (https://toll402.dev/credits). Paid per call via x402 (USDC on Base) or with a prepaid-credits key (x-toll402-key, card at /credits); charged only on success. Start at /llms.txt or connect the MCP server:
npx -y toll402-mcp · remote https://toll402.dev/mcp.Input schema
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "The search keyword."
},
"sortType": {
"type": "string",
"description": "Sorting criteria for search results. Available Values: - `_0`: General - `_1`: More likes - `_2`: Newest One of: _0, _1, _2.",
"enum": [
"_0",
"_1",
"_2"
],
"examples": [
"_0"
]
},
"publishTime": {
"type": "string",
"description": "Filter by video publish time range. Available Values: - `_0`: No Limit - `_1`: Last 24 Hours - `_7`: Last 7 Days - `_180`: Last 6 Months One of: _0, _1, _7, _180.",
"enum": [
"_0",
"_1",
"_7",
"_180"
],
"examples": [
"_0"
]
},
"duration": {
"type": "string",
"description": "Filter by video duration. Available Values: - `_0`: No Limit - `_1`: Under 1 Minute - `_2`: 1-5 Minutes - `_3`: Over 5 Minutes One of: _0, _1, _2, _3.",
"enum": [
"_0",
"_1",
"_2",
"_3"
],
"examples": [
"_0"
]
},
"page": {
"type": "integer",
"description": "Page number (starting from 1).",
"examples": [
1
]
},
"searchId": {
"type": "string",
"description": "Search ID; required for pages > 1. Use data.business_config.next_page.search_id from the previous response, and stop paging when data.business_config.has_more is 0."
}
},
"additionalProperties": true,
"required": [
"keyword"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}