{
  "openapi": "3.0.1",
  "info": {
    "title": "TikTok Keyword Search Scraper & TikTok Search, No Login",
    "description": "TikTok keyword search scraper, logged out: the videos and photo posts TikTok's search lists for each keyword, in TikTok's order, with rank, views, likes, creator, music and hashtags; the Users tab, LIVE rooms and search suggestions on request. Misses free.",
    "version": "0.1",
    "x-build-id": "IWwglUCCSNj80skvH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hyperbach~tiktok-keyword-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hyperbach-tiktok-keyword-search-scraper",
        "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/hyperbach~tiktok-keyword-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hyperbach-tiktok-keyword-search-scraper",
        "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/hyperbach~tiktok-keyword-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hyperbach-tiktok-keyword-search-scraper",
        "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",
        "properties": {
          "keywords": {
            "title": "Keywords",
            "maxItems": 500,
            "type": "array",
            "description": "Search words, one per line, as you would type them in TikTok's search box (a hashtag such as #nailart works too). A TikTok search link also works (tiktok.com/search?q=..., /search/video?q=..., /search/user?q=..., /search/live?q=..., /search/photo?q=...): its tab picks the list for that keyword (a /search/video link reads TikTok's Videos tab: videos only). Leave empty to read the example (tesla).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Main list",
            "enum": [
              "video",
              "photo",
              "user",
              "live"
            ],
            "type": "string",
            "description": "The list each keyword is walked down: TikTok's Top results (videos and photo posts, the default), the Photo tab (photo posts only), the Users tab (accounts) or the LIVE tab (rooms live now). TikTok's web search has no Sounds or Hashtags tab.",
            "default": "video"
          },
          "includeUsers": {
            "title": "Also the accounts (Users tab)",
            "type": "boolean",
            "description": "Also read TikTok's Users tab for every keyword: one row per account, with handle, name, bio, followers, total likes and the verified badge. Charged as user rows.",
            "default": false
          },
          "includeLive": {
            "title": "Also the LIVE rooms",
            "type": "boolean",
            "description": "Also read TikTok's LIVE tab for every keyword: one row per room live at the time of the run, with its title, viewers, likes, category and host. Charged as live rows.",
            "default": false
          },
          "includeSuggestions": {
            "title": "Also the search suggestions",
            "type": "boolean",
            "description": "Also deliver the suggestions TikTok's search box offers for every keyword (usually 8 or 9), with their position. Charged as suggestion rows.",
            "default": false
          },
          "maxItemsPerKeyword": {
            "title": "Max results per keyword and list",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "The most rows of each list for each keyword. 0 = down to the end of TikTok's list (about 150 to 210 videos a keyword logged out; the keyword's row says where TikTok ended it).",
            "default": 50
          },
          "maxItems": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "The most charged rows of the whole run, every list together; 0 = no cap beyond your charge limit.",
            "default": 0
          },
          "sortBy": {
            "title": "Sort",
            "enum": [
              "relevance",
              "mostLiked",
              "newest"
            ],
            "type": "string",
            "description": "TikTok's own sort of the Top results: relevance (TikTok's default), most liked or newest first. Each keyword's row says whether TikTok kept the order on its first page (sortHonoured).",
            "default": "relevance"
          },
          "datePosted": {
            "title": "Date posted",
            "enum": [
              "any",
              "last24Hours",
              "last7Days",
              "last30Days",
              "last90Days",
              "last180Days"
            ],
            "type": "string",
            "description": "TikTok's date filter of the Top results. It is checked on every row: a video outside the window is left out and not charged, and the keyword's row says whether TikTok kept the window (dateFilterHonoured).",
            "default": "any"
          },
          "country": {
            "title": "Country of the search",
            "enum": [
              "auto",
              "CA",
              "AU",
              "MX",
              "BR",
              "JP",
              "GB",
              "US",
              "DE",
              "FR",
              "ES",
              "IT",
              "ID",
              "PH"
            ],
            "type": "string",
            "description": "TikTok shows each country its own results and serves the search to some countries only at a given hour (on 2026-11-18 Canada, Australia, Mexico, Brazil and Japan served; the US, the UK, Germany, France and Spain did not). The run asks your country first; if TikTok serves it no list, it reads the next country that serves, and every row names the country read (searchCountry). Auto = Canada first.",
            "default": "auto"
          },
          "publishedAfter": {
            "title": "Published after",
            "type": "string",
            "description": "Only videos and photo posts published on or after this date (2026-11-01) or within this span back from now (7 days, 2 months). Checked on every row by the Actor; a row left out is not charged."
          },
          "language": {
            "title": "Language of the caption",
            "type": "string",
            "description": "Only videos whose caption TikTok tagged with this language (a two-letter code: en, es, pt, id ...). TikTok's search has no language filter, so the Actor applies it to TikTok's own tag on each row. Leave empty for every language.",
            "default": ""
          },
          "minViews": {
            "title": "Minimum views",
            "minimum": 0,
            "type": "integer",
            "description": "Only videos with at least this many plays. TikTok shows counts of 10,000 and more rounded (1.3M).",
            "default": 0
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Only videos with at least this many likes.",
            "default": 0
          },
          "minComments": {
            "title": "Minimum comments",
            "minimum": 0,
            "type": "integer",
            "description": "Only videos with at least this many comments.",
            "default": 0
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only rows whose account (the video's creator, the account found, the LIVE host) has at least this many followers.",
            "default": 0
          },
          "maxFollowers": {
            "title": "Maximum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only rows whose account has at most this many followers (micro-influencers); 0 = no upper bound.",
            "default": 0
          },
          "bioKeywords": {
            "title": "Account bio contains any of",
            "type": "array",
            "description": "Accounts (Users tab) only: keep the accounts whose bio contains any of these words, case-insensitive.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeAds": {
            "title": "Keep ads",
            "type": "boolean",
            "description": "Keep the ads TikTok places among the results (isAd true on the row). Off: ads are left out and not charged.",
            "default": true
          },
          "includeDownloadUrl": {
            "title": "Add the video's play and download links",
            "type": "boolean",
            "description": "Add TikTok's play and download links of each video (playUrl, downloadUrl). TikTok serves them only with the session's cookies and they expire in about two days; to save the files, pass the video URLs to a video downloader.",
            "default": false
          },
          "deduplicateAcrossKeywords": {
            "title": "One row per video across keywords",
            "type": "boolean",
            "description": "On: a video, account or room that several keywords find is delivered and charged once, under the first keyword. Off: once per keyword. Repeats inside one keyword's list are always dropped free.",
            "default": true
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "maxLength": 2000,
            "type": "string",
            "description": "A note to the people who maintain this Actor: what you needed and did not get. For example a missing field, a wrong or empty result, or the Actor you switch from or to, and why. The run does not read it: the rows and the charges stay the same. A person reads every note."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}