---
title: "Get Trending Video By Keyword"
method: GET
path: "/api/trending/keyword/posts"
tags: ["Trending"]
---

# Get Trending Video By Keyword

`GET /api/trending/keyword/posts`

Get Trending Video By Keyword

## Query parameters

- `keyword` string, required — Keyword
- `country` string — Country code. Head [here](https://gist.githubusercontent.com/apiboxguru/21d1cff1bef7732d9533389cb540541f/raw/6669d1e0025b67e8c7a0a1649cd8c75c5d5d2803/tiktok_trending_support_countries_with_codes.json) for a full list of supported countries
- `limit` integer — Number of items per page (maximum is 10)
- `period` 7 | 30 | 120 — Period in days: - 7: Last 7 days - 30: Last 30 days - 120: Last 120 days

## Response `200`

Success

- object
  - `data` object
    - `video_list` string[]

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/tikfly/apis/tikfly-api-unoffical-tiktok-api.md) · [All operations](https://skmtc.net/tikfly/apis/tikfly-api-unoffical-tiktok-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tikfly/tikfly-api-unoffical-tiktok-api/versions/892e18b9f5af/schema)
