TikTok Video Search & Industry Filter
Pricing
Pay per usage
Go to Apify Store
TikTok Video Search & Industry Filter
Search TikTok videos by keyword, region, and date, then apply Industry and product-promotion filters.
TikTok Video Search & Industry Filter
Pricing
Pay per usage
Search TikTok videos by keyword, region, and date, then apply Industry and product-promotion filters.
You can access the TikTok Video Search & Industry Filter programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
{ "openapi": "3.0.1", "info": { "version": "0.0", "x-build-id": "GDdF7mOgiwoubLzDf" }, "servers": [ { "url": "https://api.apify.com/v2" } ], "paths": { "/acts/jaysun~tiktok-video-filter/run-sync-get-dataset-items": { "post": { "operationId": "run-sync-get-dataset-items-jaysun-tiktok-video-filter", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } }, "/acts/jaysun~tiktok-video-filter/runs": { "post": { "operationId": "runs-sync-jaysun-tiktok-video-filter", "x-openai-isConsequential": false, "summary": "Executes an Actor and returns information about the initiated run in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/runsResponseSchema" } } } } } } }, "/acts/jaysun~tiktok-video-filter/run-sync": { "post": { "operationId": "run-sync-jaysun-tiktok-video-filter", "x-openai-isConsequential": false, "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.", "tags": [ "Run Actor" ], "requestBody": { "required": true, "content": { "application/json": { "schema": { "$ref": "#/components/schemas/inputSchema" } } } }, "parameters": [ { "name": "token", "in": "query", "required": true, "schema": { "type": "string" }, "description": "Enter your Apify token here" } ], "responses": { "200": { "description": "OK" } } } } }, "components": { "schemas": { "inputSchema": { "type": "object", "required": [ "keywords" ], "properties": { "keywords": { "title": "搜索关键词", "minItems": 1, "uniqueItems": true, "type": "array", "description": "要在 TikTok 中搜索的一个或多个关键词。底层 Actor 的 keywords 参数会直接使用这些值。", "items": { "type": "string", "minLength": 1 } }, "countryCode": { "title": "目标搜索地区代码", "pattern": "^[A-Za-z]{2}$", "type": "string", "description": "ISO 3166-1 alpha-2 两位地区代码,例如 US、GB、JP。将映射到底层 Actor 的 location 参数;TikTok 仍主要按请求 IP 决定结果,因此它不是严格的发布国家过滤。", "default": "US" }, "timeRange": { "title": "发布时间范围", "enum": [ "ALL_TIME", "PAST_24_HOURS", "PAST_WEEK", "PAST_MONTH", "LAST_3_MONTHS", "LAST_6_MONTHS" ], "type": "string", "description": "TikTok 搜索的发布时间范围。将映射到底层 Actor 的 dateRange 参数;具体边界遵循 TikTok 搜索语义。", "default": "PAST_WEEK" }, "sortBy": { "title": "排序字段", "enum": [ "publishedAt", "bookmarkCount", "likeCount", "playCount", "shareCount" ], "type": "string", "description": "选择过滤后结果的排序指标。发布时间倒序和点赞量倒序会同时映射到底层 Actor;其他选项在最多 maxSourceItems 条源数据中进行本地排序。", "default": "publishedAt" }, "sortOrder": { "title": "排序方向", "enum": [ "ASC", "DESC" ], "type": "string", "description": "ASC 为从小到大或从旧到新;DESC 为从大到小或从新到旧。缺失排序值始终排在最后。", "default": "DESC" }, "industryId": { "title": "Industry 行业", "enum": [ "", "10000000000", "11000000000", "12000000000", "14000000000", "15000000000", "17000000000", "18000000000", "19000000000", "21000000000", "22000000000", "23000000000", "25000000000", "27000000000", "28000000000", "29000000000" ], "type": "string", "description": "参考 data_xplorer/tiktok-trends 的 Industry ID。普通视频搜索不支持该 ID,因此本 Actor 使用描述和 Hashtag 关键词进行二次过滤。", "default": "" }, "additionalIndustryKeywords": { "title": "补充行业关键词", "uniqueItems": true, "type": "array", "description": "可选。添加适合目标市场或语言的行业词,以降低默认英文映射的漏判。", "items": { "type": "string", "minLength": 1 }, "default": [] }, "excludeProductRecommendations": { "title": "屏蔽产品推荐视频", "type": "boolean", "description": "开启后,过滤含商品锚点、TikTok Shop、联盟营销、导购词、折扣码或价格组合信号的疑似带货视频。", "default": false }, "maxItems": { "title": "最大输出视频数", "minimum": 1, "maximum": 10000, "type": "integer", "description": "过滤后最多写入结果数据集的视频数量。", "default": 10 }, "maxSourceItems": { "title": "最大源视频数", "minimum": 1, "maximum": 30000, "type": "integer", "description": "最多向底层 Actor 请求的视频数。后处理会丢弃部分结果,因此该值通常应大于最大输出数;底层 Actor 可能按返回结果收费。", "default": 20 }, "sourceRunId": { "title": "复用已有源 Run ID", "pattern": "^$|^[A-Za-z0-9]{17}$", "type": "string", "description": "可选。填写一个已成功运行的 xmolodtsov/tiktok-search-scraper Run ID,直接读取其 Dataset,不再启动新的付费抓取。留空时正常启动新 Run。", "default": "" }, "industryMatchThreshold": { "title": "行业匹配阈值", "minimum": 1, "maximum": 10, "type": "integer", "description": "视频至少命中多少个行业关键词才保留。提高该值可减少误判,但会增加漏判。", "default": 1 }, "productRecommendationThreshold": { "title": "产品推荐判定阈值", "minimum": 1, "maximum": 20, "type": "integer", "description": "产品推荐信号的累计分数达到该阈值时判定为疑似带货。默认 3;结构化商品字段本身计 3 分。", "default": 3 }, "testMode": { "title": "本地测试模式", "type": "boolean", "description": "仅用于无令牌、无费用的本地冒烟测试。开启后使用内置样例,不调用 TikTok 底层 Actor。", "default": false } } }, "runsResponseSchema": { "type": "object", "properties": { "data": { "type": "object", "properties": { "id": { "type": "string" }, "actId": { "type": "string" }, "userId": { "type": "string" }, "startedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "finishedAt": { "type": "string", "format": "date-time", "example": "2025-01-08T00:00:00.000Z" }, "status": { "type": "string", "example": "READY" }, "meta": { "type": "object", "properties": { "origin": { "type": "string", "example": "API" }, "userAgent": { "type": "string" } } }, "stats": { "type": "object", "properties": { "inputBodyLen": { "type": "integer", "example": 2000 }, "rebootCount": { "type": "integer", "example": 0 }, "restartCount": { "type": "integer", "example": 0 }, "resurrectCount": { "type": "integer", "example": 0 }, "computeUnits": { "type": "integer", "example": 0 } } }, "options": { "type": "object", "properties": { "build": { "type": "string", "example": "latest" }, "timeoutSecs": { "type": "integer", "example": 300 }, "memoryMbytes": { "type": "integer", "example": 1024 }, "diskMbytes": { "type": "integer", "example": 2048 } } }, "buildId": { "type": "string" }, "defaultKeyValueStoreId": { "type": "string" }, "defaultDatasetId": { "type": "string" }, "defaultRequestQueueId": { "type": "string" }, "buildNumber": { "type": "string", "example": "1.0.0" }, "containerUrl": { "type": "string" }, "usage": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "integer", "example": 1 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } }, "usageTotalUsd": { "type": "number", "example": 0.00005 }, "usageUsd": { "type": "object", "properties": { "ACTOR_COMPUTE_UNITS": { "type": "integer", "example": 0 }, "DATASET_READS": { "type": "integer", "example": 0 }, "DATASET_WRITES": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_READS": { "type": "integer", "example": 0 }, "KEY_VALUE_STORE_WRITES": { "type": "number", "example": 0.00005 }, "KEY_VALUE_STORE_LISTS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_READS": { "type": "integer", "example": 0 }, "REQUEST_QUEUE_WRITES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_INTERNAL_GBYTES": { "type": "integer", "example": 0 }, "DATA_TRANSFER_EXTERNAL_GBYTES": { "type": "integer", "example": 0 }, "PROXY_RESIDENTIAL_TRANSFER_GBYTES": { "type": "integer", "example": 0 }, "PROXY_SERPS": { "type": "integer", "example": 0 }, "PROXY_UNBLOCKER_UNITS": { "type": "integer", "example": 0 } } } } } } } } }}OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.
OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.
By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.
You can download the OpenAPI definitions for TikTok Video Search & Industry Filter from the options below:
If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.
You can also check out our other API clients: