Skip to main content
GET
/
api
/
trending
/
keyword
/
posts
Get Trending Video By Keyword
curl --request GET \
  --url https://tiktok-api23.p.rapidapi.com/api/trending/keyword/posts \
  --header 'x-rapidapi-key: <api-key>'
{
  "data": {
    "video_list": [
      "7566475062321188151",
      "7573530016827395341",
      "7571142761429208334",
      "7519869818820971806",
      "7568328516127771916",
      "7579240711766232333",
      "7510555158892432686",
      "7552342464133188919",
      "7579905803046391095",
      "7507663122698603819"
    ]
  }
}

Authorizations

x-rapidapi-key
string
header
required

Query Parameters

keyword
string
required

Keyword

Example:

"toy"

country
string
default:US

Country code. Head here for a full list of supported countries

Example:

"US"

limit
integer
default:10

Number of items per page (maximum is 10)

Required range: x <= 10
Example:

10

period
enum<number>
default:7
Period in days:
- 7: Last 7 days
- 30: Last 30 days
- 120: Last 120 days
Available options:
7,
30,
120
Example:

7

Response

Success

data
object