# List TikTok music (/reference/accounts/list-tik-tok-music)

OpenAPI operation (components in https://api.tebar.app/v1/openapi.json):

```json
[
  {
    "operationId": "listTikTokMusic",
    "tags": [
      "Accounts"
    ],
    "summary": "List TikTok music",
    "description": "TikTok business accounts only: up to 100 popular pre-cleared tracks of the Commercial Music Library, { data: [{ id, title, artist, duration_s, genres, preview_url, cover_url, rank }] }, for a video's options.tiktok.music.id. Filter by genre, period (1d, 7d, 30d, 90d) and country (default ID). q finds a title or artist: TikTok has no music search for organic posts, so it is matched against every genre's popular list (or genre's, if set) for that country and period, title matches first; period 90d covers the most. Cached an hour. Other TikTok accounts: 422 tiktok_music_unavailable; other platforms: 400 not_tiktok.\n\nRequires the read scope.",
    "parameters": [
      {
        "name": "id",
        "in": "path",
        "required": true,
        "schema": {
          "type": "string",
          "format": "uuid"
        }
      },
      {
        "name": "genre",
        "in": "query",
        "required": false,
        "schema": {
          "default": "ALL",
          "type": "string",
          "enum": [
            "ALL",
            "POP",
            "HIP_HOP/RAP",
            "ELECTRONIC",
            "R&B/SOUL",
            "ROCK",
            "METAL",
            "BLUES",
            "ALTERNATIVE/INDIE",
            "JAZZ",
            "CLASSICAL",
            "COUNTRY",
            "FOLK",
            "LATIN",
            "REGGAE",
            "EASY_LISTENING",
            "NEW_AGE",
            "WORLD_MUSIC",
            "CHILDHOOD"
          ]
        }
      },
      {
        "name": "period",
        "in": "query",
        "required": false,
        "schema": {
          "default": "7d",
          "type": "string",
          "enum": [
            "1d",
            "7d",
            "30d",
            "90d"
          ]
        }
      },
      {
        "name": "country",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "pattern": "^[A-Za-z]{2}$"
        }
      },
      {
        "name": "q",
        "in": "query",
        "required": false,
        "schema": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100
        }
      },
      {
        "$ref": "#/components/parameters/TebarProfile"
      }
    ],
    "responses": {
      "200": {
        "description": "The tracks, most popular first."
      },
      "400": {
        "$ref": "#/components/responses/BadRequest"
      },
      "401": {
        "$ref": "#/components/responses/Unauthorized"
      },
      "403": {
        "$ref": "#/components/responses/Forbidden"
      },
      "404": {
        "$ref": "#/components/responses/NotFound"
      },
      "429": {
        "$ref": "#/components/responses/RateLimited"
      }
    }
  }
]
```