ScrapeCreators icon

ScrapeCreators

Scrape data from various social media platforms using ScrapeCreators API

TikTok → Search by Keyword

AI-generated

Summary

Searches TikTok videos by keyword

Inputs

  • query (required) — Keyword to search for
  • datePosted — Time Frame: all-time, last-3-months, last-6-months, this-month, this-week, yesterday (default: all-time)
  • sortBy — Sort By: relevance, most-liked, date-posted (default: relevance)
  • region — Sets HTTP proxy region (2-letter country code). Does not filter tiktoks to that region exclusively; places the proxy there.
  • cursor — Number cursor to retrieve subsequent pages of results. Obtain from previous response. Default: 0.
  • trim — Boolean. Whether to return a trimmed response payload. Default: false.

Output shape

Array of TikTok video objects matching the search criteria, pagination supported via cursor parameter.

Proxy region controls request routing only; does not restrict results to that geography. Batching, timeout, and SSL settings are configured at the node level via requestOptions, timeout, and allowUnauthorizedCerts parameters.

Examples

Example 1: Search recent TikTok videos for 'gardening' sorted by most liked, last 3 months

query=gardening, datePosted=last-3-months, sortBy=most-liked

Links

Discussion