# 抖音数据 API:商品、用户、视频与评论 | Douyin API A developer tools tool your agent can run on one prepaid apifare key. Page: https://apifare.com/tools/socialdatax/socialdatax-douyin-data-api ## What you need An apifare key with credits (sign up: POST https://apifare.com/v1/signup {"email": "..."}; new accounts get 500 free credits). No other account or key. ## Inputs - `operation` (string, required): 操作 / Operation (e.g. "search_videos") - `keyword` (string): 关键词 / Keyword (e.g. "露营") - `sort_type` (string): 排序 / Sort type (e.g. "general") - `publish_time_range` (string): 发布时间 / Publish time (e.g. "all") - `duration_range` (string): 时长 / Duration (e.g. "all") - `content_type` (string): 内容类型 / Content type (e.g. "all") The most relevant fields; the search result's input_schema lists all of them. ## Price 5 credits reserved per run, settled to the run's true cost, never more than 20 credits (1 credit = $0.01). Failed runs are refunded. Exact numbers: https://apifare.com/capabilities ## Run it 1. Find it: MCP search_apis, or GET https://apifare.com/v1/search?q=%E6%8A%96%E9%9F%B3%E6%95%B0%E6%8D%AE%20API%EF%BC%9A%E5%95%86%E5%93%81%E3%80%81%E7%94%A8%E6%88%B7%E3%80%81%E8%A7%86%E9%A2%91%E4%B8%8E%E8%AF%84%E8%AE%BA%20%7C%20Douyin%20API with Authorization: Bearer . Take the result named "抖音数据 API:商品、用户、视频与评论 | Douyin API"; it carries a proxy_route. 2. Run it: MCP proxy_call with that proxy_route and the input JSON (apifare-mcp over stdio), or POST the proxy_route over HTTP with the input JSON as the body and the same Authorization header. 3. On HTTP 402, relay the body's human_readable field to your human verbatim, wait, then retry the same call. Every other error and its fix: https://apifare.com/errors.md