anyapi_tiktok_search_videos $0.0015 per call
TikTok Keyword Search. Search TikTok by keyword and get matching videos (caption, views, likes, comments, shares) as normalized JSON. (AnyAPI · TikTok)
For AI agents: call anyapi_tiktok_search_videos
POST https://toll402.dev/v1/p/anyapi.tiktok.search.videos
{
"datePosted": 0,
"query": "cooking",
"sortBy": 0
}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": {
"cursor": {
"type": "string",
"description": "Pagination cursor from a previous response."
},
"datePosted": {
"type": "integer",
"description": "Time frame filter. Use a canonical JSON integer that is nonnegative; common values are 0 for any time, 1 for the past 24 hours, 7 for the past week, and 30 for the past month. Legacy numeric strings remain accepted.",
"default": 0,
"examples": [
0
]
},
"query": {
"type": "string",
"description": "The keyword to search TikTok for.",
"examples": [
"cooking"
]
},
"sortBy": {
"type": "integer",
"description": "Sort order. Use the canonical JSON integer 0 for relevance, 1 for most liked, or 2 for newest first; legacy numeric strings remain accepted.",
"default": 0,
"enum": [
0,
1,
2,
"0",
"1",
"2"
],
"examples": [
0
]
}
},
"additionalProperties": true,
"required": [
"query"
]
}
MCP
{"mcpServers":{"toll402":{"command":"npx","args":["-y","toll402-mcp"],"env":{"TOLL402_WALLET_KEY":"0x..."}}}}