{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"12000","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"07cdcaca-d07c-4196-af8b-6dcd85dffe6c","catalogType":"api","categories":["social-media","search-research"],"dataPlatform":"douyin","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"دوين","ja":"Douyin","zh":"抖音"},"dataProduct":"douyin-video","description":"Get Douyin Video data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by anyapi, pass parameters such as duration, publishedWithin, query, and retrieve structured data including continuation flag, returned backtrace field, returned next cursor field, returned search id field, and returned videos field for content research and account lookup, and integration reference.","descriptionTranslations":{"ar":"استخدم البحث عن فيديوهات Douyin API عبر OpenAny، مع تقديم query بصيغة طلب POST الموثقة، لدعم أبحاث المحتوى والبحث عن الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から Douyin 動画検索 API を利用し、POST リクエスト形式で query を指定して、コンテンツ調査とアカウント照会に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 抖音视频搜索 API，按所选实现的 POST 请求格式提供 query，用于内容研究和账户查询。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"aaa08efe-9a3a-4035-b87c-ec08099e3a44","includedContentHtml":"","inputs":[{"description":"Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.","location":"query","minimum":"0","name":"max_items","nullable":false,"required":false,"type":"integer"},{"description":"Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.","location":"query","name":"summary","nullable":false,"required":false,"type":"boolean"},{"description":"Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.","location":"query","name":"jq","nullable":false,"required":false,"type":"string"},{"description":"Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.","location":"query","name":"max_cost_usd","nullable":false,"required":false,"type":"string"},{"description":"Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.","location":"header","max_length":255,"min_length":1,"name":"Idempotency-Key","nullable":false,"required":false,"type":"string"},{"description":"Search public Douyin videos by keyword with sorting, time, duration, and content filters.","json_schema":{"additionalProperties":false,"example":{"duration":"0","publishedWithin":0,"query":"机器人","sort":"relevance"},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"backtrace":{"description":"Backtrace token returned by the previous page.","type":"string"},"cursor":{"description":"Pagination cursor: pass the previous response's nextCursor; omit for the first page. A raw integer cursor is still accepted.","minimum":0,"type":["string","integer"]},"duration":{"default":"0","description":"Duration filter in minutes: any, under 1, 1 to 5, or over 5.","enum":["0","0-1","1-5","5-10000"],"type":"string"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.","minimum":1,"type":"integer"},"publishedWithin":{"default":0,"description":"Publication window in days. Use the canonical JSON integer 0 for any time, 1 for one day, 7 for seven days, or 180 for 180 days; legacy numeric strings remain accepted.","enum":[0,1,7,180,"0","1","7","180"],"type":["integer","string"]},"query":{"description":"Keyword to search for.","minLength":1,"type":"string"},"searchId":{"description":"Search ID returned by the previous page.","type":"string"},"sort":{"default":"relevance","description":"Sort order: relevance (Douyin's comprehensive ranking), most-liked, date-posted.","enum":["relevance","most-liked","date-posted"],"type":"string"},"source":{"description":"Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":["query"],"title":"Douyin video search input","type":"object","x-anyapi-compat-values":{"sort":{"0":"relevance","1":"most-liked","2":"date-posted"}}},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"","method":"POST","name":"Douyin Video Search","nameTranslations":{"ar":"البحث عن فيديوهات Douyin","ja":"Douyin 動画検索","zh":"抖音视频搜索"},"overviewHtml":"\u003ch2\u003eDouyin Video Search API\u003c/h2\u003e\n\u003cp\u003eSearch for public Douyin videos by keyword with sorting, time, duration, and content filters. Provide query in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003equery: fields, max_items, summary, jq, max_cost_usd; body: body\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eanyapi · Douyin Video Search\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eContent research and account lookup\u003c/strong\u003e: Keep source records connected to their content and account identifiers.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.hasMore\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eContinuation flag\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.backtrace\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned backtrace field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.nextCursor\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned next cursor field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.searchId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned search id field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.videos\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned videos field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.found\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned found field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/anyapi/v1/run/douyin.search_videos\u0026#39; \\\n  -X POST \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-raw \u0026#39;{\n  \u0026#34;duration\u0026#34;: \u0026#34;0\u0026#34;,\n  \u0026#34;publishedWithin\u0026#34;: 0,\n  \u0026#34;query\u0026#34;: \u0026#34;机器人\u0026#34;,\n  \u0026#34;sort\u0026#34;: \u0026#34;relevance\u0026#34;\n}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/aaa08efe-9a3a-4035-b87c-ec08099e3a44\"\u003ePublished Douyin Video Search API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide query in body (string). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eWhat type does max_items use?\u003c/h3\u003e\n\u003cp\u003emax_items uses the JSON type integer in query. Preserve that type; strings, numbers, booleans and arrays are not interchangeable.\u003c/p\u003e\n\u003ch3\u003eHow should I structure the JSON body?\u003c/h3\u003e\n\u003cp\u003eSend the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.\u003c/p\u003e\n\u003ch3\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/web/web-search-google-maps-for-local-businesses-and-places\"\u003eSearch Google Maps for local businesses and places\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/amazon/amazon-product\"\u003eAmazon Product\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/email/email-verifier\"\u003eEmail Verifier\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/douyin/douyin-video-07cdcaca?offering=aaa08efe-9a3a-4035-b87c-ec08099e3a44","providerId":"anyapi","publicPath":"/v1/agent-apis/anyapi/v1/run/douyin.search_videos","requestContentType":"application/json","revision":8,"samples":[{"http_status":200,"name":"Official example (output fragment; HTTP assumed)","request":{"body":{"duration":"0","publishedWithin":0,"query":"机器人","sort":"relevance"},"headers":{},"path":{},"query":{}},"response_body":{"output":{"data":{"backtrace":"eyJyZXFJZCI6ImV4YW1wbGUtc2VhcmNoLXRyYWNlLTEyMyJ9","hasMore":true,"nextCursor":"20","searchId":"6890123457812345678","videos":[{"authorImage":"https://p3-pc.douyinpic.com/img/aweme-avatar/example_robotwatcher_avatar~c5_300x300.jpeg","authorNickname":"机器人观察员","authorUniqueId":"robot_watcher_cn","authorUserId":"51923847610283746","authorVerified":true,"caption":"国产人形机器人最新进展,已经能对话又能干活了 #机器人 #科技前沿","comments":8900,"createdUtc":1758211200,"durationMs":58000,"height":1920,"id":"7449028193746501234","image":"https://p3-pc.douyinpic.com/img/tos-cn-i-0813/example_humanoid_cover~tplv-dy-resize-origshort-autoq-75.jpeg","likes":246000,"region":"CN","saves":41000,"shares":15200,"url":"https://www.douyin.com/video/7449028193746501234","videoUrl":"https://v3-web.douyinvod.com/example_token_a1b2c3/video/tos/cn/tos-cn-ve-15/exampleHumanoidVideoId/?a=6383\u0026ch=0\u0026cr=0\u0026dr=0\u0026lr=all\u0026cd=0%7C0%7C0%7C3","views":3820000,"width":1080},{"authorImage":"https://p3-pc.douyinpic.com/img/aweme-avatar/example_geeklab_avatar~c5_300x300.jpeg","authorNickname":"极客实验室","authorUniqueId":"geek_lab_official","authorUserId":"40381927465102938","authorVerified":true,"caption":"机器人舞蹈大赛总决赛现场,这个转圈太丝滑了","comments":3400,"createdUtc":1757952000,"durationMs":73000,"height":1920,"id":"7448611029384756123","image":"https://p3-pc.douyinpic.com/img/tos-cn-i-0813/example_robotdance_cover~tplv-dy-resize-origshort-autoq-75.jpeg","likes":98000,"region":"CN","saves":12800,"shares":6200,"url":"https://www.douyin.com/video/7448611029384756123","videoUrl":"https://v3-web.douyinvod.com/example_token_d4e5f6/video/tos/cn/tos-cn-ve-15/exampleRobotDanceVideoId/?a=6383\u0026ch=0\u0026cr=0\u0026dr=0\u0026lr=all\u0026cd=0%7C0%7C0%7C3","views":1560000,"width":1080},{"authorImage":"https://p3-pc.douyinpic.com/img/aweme-avatar/example_homegadgets_avatar~c5_300x300.jpeg","authorNickname":"居家好物研究所","authorUniqueId":"home_gadgets_lab","authorUserId":"29384756102938475","authorVerified":false,"caption":"扫地机器人买贵的还是买便宜的?三款实测对比","comments":2700,"createdUtc":1757520000,"durationMs":214000,"height":1920,"id":"7447903384756019283","image":"https://p3-pc.douyinpic.com/img/tos-cn-i-0813/example_vacuumrobot_cover~tplv-dy-resize-origshort-autoq-75.jpeg","likes":61000,"region":"CN","saves":22000,"shares":3100,"url":"https://www.douyin.com/video/7447903384756019283","videoUrl":"https://v3-web.douyinvod.com/example_token_g7h8i9/video/tos/cn/tos-cn-ve-15/exampleVacuumRobotVideoId/?a=6383\u0026ch=0\u0026cr=0\u0026dr=0\u0026lr=all\u0026cd=0%7C0%7C0%7C3","views":987000,"width":1080}]},"found":true}}}],"seoDescription":"Get Douyin Video data via REST or MCP. Pay per call, no subscription or cookies. Compare anyapi and TikHub. Ideal for content research and account lookup.","updatedAt":"2026-12-03T02:53:18.825Z","usageInstructionsHtml":""}}