---
title: "Get Trending Song"
method: GET
path: "/api/trending/song"
tags: ["Trending"]
---

# Get Trending Song

`GET /api/trending/song`

Get Trending Song

## Query parameters

- `page` integer — Page
- `limit` integer — Number of items per page (maximum is 20)
- `period` 7 | 30 | 120 — Period in days: - 7: Last 7 days - 30: Last 30 days - 120: Last 120 days
- `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
- `rank_type` 'popular' | 'surging' — Rank type: - popular: Popular - surging: Breakout
- `new_on_board` 'true' | 'false' — Is new on board
- `commercial_music` 'true' | 'false' — Is commercial music

## Response `200`

Success

- object
  - `data` object
    - `pagination` object
      - `has_more` boolean
      - `page` number
      - `size` number
      - `total_count` number
    - `sound_list` object[]
      - `author` string
      - `clip_id` string
      - `country_code` string
      - `cover` string
      - `duration` number
      - `if_cml` boolean
      - `is_search` boolean
      - `link` string
      - `on_list_times` string, nullable
      - `promoted` boolean
      - `rank` number
      - `rank_diff` number
      - `rank_diff_type` number
      - `related_items` object[]
        - `item_id` number
        - `cover_uri` string
      - `song_id` string
      - `title` string
      - `trend` object[]
        - `time` number
        - `value` number
      - `url_title` 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/revisions/892e18b9f5af/schema)
