Tiktok Trending Songs Analytics avatar

Tiktok Trending Songs Analytics

Try for free

1 day trial then $20.00/month - No credit card required now

Go to Store
Tiktok Trending Songs Analytics

Tiktok Trending Songs Analytics

codebyte/tiktok-trending-songs-analytics
Try for free

1 day trial then $20.00/month - No credit card required now

Unlock TikTok's trending songs and music with comprehensive analytics and audience insights. Gather data on music trends by country. Find trending commercial music to supercharge your TikTok content strategy.

You can access the Tiktok Trending Songs Analytics programmatically from your own applications by using the Apify API. You can choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1{
2  "openapi": "3.0.1",
3  "info": {
4    "version": "0.0",
5    "x-build-id": "m9IIgmp7G5bRYP8fG"
6  },
7  "servers": [
8    {
9      "url": "https://api.apify.com/v2"
10    }
11  ],
12  "paths": {
13    "/acts/codebyte~tiktok-trending-songs-analytics/run-sync-get-dataset-items": {
14      "post": {
15        "operationId": "run-sync-get-dataset-items-codebyte-tiktok-trending-songs-analytics",
16        "x-openai-isConsequential": false,
17        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
18        "tags": [
19          "Run Actor"
20        ],
21        "requestBody": {
22          "required": true,
23          "content": {
24            "application/json": {
25              "schema": {
26                "$ref": "#/components/schemas/inputSchema"
27              }
28            }
29          }
30        },
31        "parameters": [
32          {
33            "name": "token",
34            "in": "query",
35            "required": true,
36            "schema": {
37              "type": "string"
38            },
39            "description": "Enter your Apify token here"
40          }
41        ],
42        "responses": {
43          "200": {
44            "description": "OK"
45          }
46        }
47      }
48    },
49    "/acts/codebyte~tiktok-trending-songs-analytics/runs": {
50      "post": {
51        "operationId": "runs-sync-codebyte-tiktok-trending-songs-analytics",
52        "x-openai-isConsequential": false,
53        "summary": "Executes an Actor and returns information about the initiated run in response.",
54        "tags": [
55          "Run Actor"
56        ],
57        "requestBody": {
58          "required": true,
59          "content": {
60            "application/json": {
61              "schema": {
62                "$ref": "#/components/schemas/inputSchema"
63              }
64            }
65          }
66        },
67        "parameters": [
68          {
69            "name": "token",
70            "in": "query",
71            "required": true,
72            "schema": {
73              "type": "string"
74            },
75            "description": "Enter your Apify token here"
76          }
77        ],
78        "responses": {
79          "200": {
80            "description": "OK",
81            "content": {
82              "application/json": {
83                "schema": {
84                  "$ref": "#/components/schemas/runsResponseSchema"
85                }
86              }
87            }
88          }
89        }
90      }
91    },
92    "/acts/codebyte~tiktok-trending-songs-analytics/run-sync": {
93      "post": {
94        "operationId": "run-sync-codebyte-tiktok-trending-songs-analytics",
95        "x-openai-isConsequential": false,
96        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
97        "tags": [
98          "Run Actor"
99        ],
100        "requestBody": {
101          "required": true,
102          "content": {
103            "application/json": {
104              "schema": {
105                "$ref": "#/components/schemas/inputSchema"
106              }
107            }
108          }
109        },
110        "parameters": [
111          {
112            "name": "token",
113            "in": "query",
114            "required": true,
115            "schema": {
116              "type": "string"
117            },
118            "description": "Enter your Apify token here"
119          }
120        ],
121        "responses": {
122          "200": {
123            "description": "OK"
124          }
125        }
126      }
127    }
128  },
129  "components": {
130    "schemas": {
131      "inputSchema": {
132        "type": "object",
133        "required": [
134          "result_type"
135        ],
136        "properties": {
137          "result_type": {
138            "title": "Result type",
139            "enum": [
140              "top100",
141              "top100_with_analytics",
142              "analytics"
143            ],
144            "type": "string",
145            "description": "Select the type of result you want the actor to retrieve. Top 100 ranking only, top 100 ranking including song analytics or song analytics for a custom list of music/clip ids."
146          },
147          "country": {
148            "title": "Country",
149            "enum": [
150              "AR",
151              "AU",
152              "AT",
153              "BH",
154              "BD",
155              "BY",
156              "BE",
157              "BR",
158              "BG",
159              "KH",
160              "CA",
161              "CL",
162              "CO",
163              "HR",
164              "CZ",
165              "DK",
166              "EG",
167              "EE",
168              "FI",
169              "FR",
170              "DE",
171              "GR",
172              "HU",
173              "IS",
174              "ID",
175              "IQ",
176              "IE",
177              "IL",
178              "IT",
179              "JP",
180              "JO",
181              "KZ",
182              "KW",
183              "LV",
184              "LB",
185              "LT",
186              "LU",
187              "MO",
188              "MY",
189              "MX",
190              "MA",
191              "MM",
192              "NL",
193              "NZ",
194              "NG",
195              "NO",
196              "OM",
197              "PK",
198              "PE",
199              "PH",
200              "PL",
201              "PT",
202              "QA",
203              "RO",
204              "SA",
205              "SG",
206              "SK",
207              "ZA",
208              "KR",
209              "ES",
210              "SE",
211              "CH",
212              "TW",
213              "TH",
214              "TR",
215              "UA",
216              "AE",
217              "GB",
218              "US",
219              "UZ",
220              "VN"
221            ],
222            "type": "string",
223            "description": "Select the country for which you want to retrieve the top 100 ranking / song analytics.",
224            "default": "US"
225          },
226          "period": {
227            "title": "Period in days",
228            "enum": [
229              "7",
230              "30",
231              "120"
232            ],
233            "type": "string",
234            "description": "Select the period for which you want to retrieve the top 100 ranking / song analytics.",
235            "default": "7"
236          },
237          "top100_rank_type": {
238            "title": "Top 100 ranking type",
239            "enum": [
240              "popular",
241              "surging"
242            ],
243            "type": "string",
244            "description": "Select the ranking type for the top 100.",
245            "default": "popular"
246          },
247          "top100_new_on_board": {
248            "title": "New to top 100 only",
249            "type": "boolean",
250            "description": "For top 100 ranking, only return entries that are new to the top 100 for this period.",
251            "default": false
252          },
253          "top100_commercial_music": {
254            "title": "Commercial music only",
255            "type": "boolean",
256            "description": "For top 100 ranking, only return entries that are commercial music.",
257            "default": false
258          },
259          "song_list": {
260            "title": "List of music/clip ids (result_type = analytics)",
261            "type": "array",
262            "description": "List of music/clip ids for which you want to retrieve analytics. For the example url https://www.tiktok.com/music/x-7373935903716935681 use 7373935903716935681 as id",
263            "items": {
264              "type": "string"
265            }
266          }
267        }
268      },
269      "runsResponseSchema": {
270        "type": "object",
271        "properties": {
272          "data": {
273            "type": "object",
274            "properties": {
275              "id": {
276                "type": "string"
277              },
278              "actId": {
279                "type": "string"
280              },
281              "userId": {
282                "type": "string"
283              },
284              "startedAt": {
285                "type": "string",
286                "format": "date-time",
287                "example": "2025-01-08T00:00:00.000Z"
288              },
289              "finishedAt": {
290                "type": "string",
291                "format": "date-time",
292                "example": "2025-01-08T00:00:00.000Z"
293              },
294              "status": {
295                "type": "string",
296                "example": "READY"
297              },
298              "meta": {
299                "type": "object",
300                "properties": {
301                  "origin": {
302                    "type": "string",
303                    "example": "API"
304                  },
305                  "userAgent": {
306                    "type": "string"
307                  }
308                }
309              },
310              "stats": {
311                "type": "object",
312                "properties": {
313                  "inputBodyLen": {
314                    "type": "integer",
315                    "example": 2000
316                  },
317                  "rebootCount": {
318                    "type": "integer",
319                    "example": 0
320                  },
321                  "restartCount": {
322                    "type": "integer",
323                    "example": 0
324                  },
325                  "resurrectCount": {
326                    "type": "integer",
327                    "example": 0
328                  },
329                  "computeUnits": {
330                    "type": "integer",
331                    "example": 0
332                  }
333                }
334              },
335              "options": {
336                "type": "object",
337                "properties": {
338                  "build": {
339                    "type": "string",
340                    "example": "latest"
341                  },
342                  "timeoutSecs": {
343                    "type": "integer",
344                    "example": 300
345                  },
346                  "memoryMbytes": {
347                    "type": "integer",
348                    "example": 1024
349                  },
350                  "diskMbytes": {
351                    "type": "integer",
352                    "example": 2048
353                  }
354                }
355              },
356              "buildId": {
357                "type": "string"
358              },
359              "defaultKeyValueStoreId": {
360                "type": "string"
361              },
362              "defaultDatasetId": {
363                "type": "string"
364              },
365              "defaultRequestQueueId": {
366                "type": "string"
367              },
368              "buildNumber": {
369                "type": "string",
370                "example": "1.0.0"
371              },
372              "containerUrl": {
373                "type": "string"
374              },
375              "usage": {
376                "type": "object",
377                "properties": {
378                  "ACTOR_COMPUTE_UNITS": {
379                    "type": "integer",
380                    "example": 0
381                  },
382                  "DATASET_READS": {
383                    "type": "integer",
384                    "example": 0
385                  },
386                  "DATASET_WRITES": {
387                    "type": "integer",
388                    "example": 0
389                  },
390                  "KEY_VALUE_STORE_READS": {
391                    "type": "integer",
392                    "example": 0
393                  },
394                  "KEY_VALUE_STORE_WRITES": {
395                    "type": "integer",
396                    "example": 1
397                  },
398                  "KEY_VALUE_STORE_LISTS": {
399                    "type": "integer",
400                    "example": 0
401                  },
402                  "REQUEST_QUEUE_READS": {
403                    "type": "integer",
404                    "example": 0
405                  },
406                  "REQUEST_QUEUE_WRITES": {
407                    "type": "integer",
408                    "example": 0
409                  },
410                  "DATA_TRANSFER_INTERNAL_GBYTES": {
411                    "type": "integer",
412                    "example": 0
413                  },
414                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
415                    "type": "integer",
416                    "example": 0
417                  },
418                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
419                    "type": "integer",
420                    "example": 0
421                  },
422                  "PROXY_SERPS": {
423                    "type": "integer",
424                    "example": 0
425                  }
426                }
427              },
428              "usageTotalUsd": {
429                "type": "number",
430                "example": 0.00005
431              },
432              "usageUsd": {
433                "type": "object",
434                "properties": {
435                  "ACTOR_COMPUTE_UNITS": {
436                    "type": "integer",
437                    "example": 0
438                  },
439                  "DATASET_READS": {
440                    "type": "integer",
441                    "example": 0
442                  },
443                  "DATASET_WRITES": {
444                    "type": "integer",
445                    "example": 0
446                  },
447                  "KEY_VALUE_STORE_READS": {
448                    "type": "integer",
449                    "example": 0
450                  },
451                  "KEY_VALUE_STORE_WRITES": {
452                    "type": "number",
453                    "example": 0.00005
454                  },
455                  "KEY_VALUE_STORE_LISTS": {
456                    "type": "integer",
457                    "example": 0
458                  },
459                  "REQUEST_QUEUE_READS": {
460                    "type": "integer",
461                    "example": 0
462                  },
463                  "REQUEST_QUEUE_WRITES": {
464                    "type": "integer",
465                    "example": 0
466                  },
467                  "DATA_TRANSFER_INTERNAL_GBYTES": {
468                    "type": "integer",
469                    "example": 0
470                  },
471                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
472                    "type": "integer",
473                    "example": 0
474                  },
475                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
476                    "type": "integer",
477                    "example": 0
478                  },
479                  "PROXY_SERPS": {
480                    "type": "integer",
481                    "example": 0
482                  }
483                }
484              }
485            }
486          }
487        }
488      }
489    }
490  }
491}

Tiktok Trending Songs, Music, Sounds Analytics/Insights OpenAPI definition

OpenAPI is a standard for designing and describing RESTful APIs, allowing developers to define API structure, endpoints, and data formats in a machine-readable way. It simplifies API development, integration, and documentation.

OpenAPI is effective when used with AI agents and GPTs by standardizing how these systems interact with various APIs, for reliable integrations and efficient communication.

By defining machine-readable API specifications, OpenAPI allows AI models like GPTs to understand and use varied data sources, improving accuracy. This accelerates development, reduces errors, and provides context-aware responses, making OpenAPI a core component for AI applications.

You can download the OpenAPI definitions for Tiktok Trending Songs Analytics from the options below:

If you’d like to learn more about how OpenAPI powers GPTs, read our blog post.

You can also check out our other API clients:

Developer
Maintained by Community

Actor Metrics

  • 7 monthly users

  • 1 bookmark

  • >99% runs succeeded

  • Created in Jan 2025

  • Modified a month ago