Tiktok Music Trend API
1 day trial then $45.00/month - No credit card required now
Tiktok Music Trend API
1 day trial then $45.00/month - No credit card required now
Access trending music data from TikTok with our API. Get real-time insights into popular sounds, discover new artists, and fuel your music discovery applications.
This is a powerful TikTok scraper that allows you to extract various types of data from TikTok, such as trending music in your country.
🍕🍕 All in one TikTok API 🍕🍕
https://apify.com/novi/fast-tiktok-api
Since TikTok doesn't provide a good and free API, this actor should help you to retrieve data from it as an Unofficial API.
The TikTok Music Trend data API supports the following features:
-
Trending Music In Your country.
-
Music details - Get any music information.
Bugs, fixes, updates and changelog
This scraper is under active development. If you have any feature requests you can create an issue from here.
Input Parameters
The input of this scraper should be JSON containing the list of pages on Tiktok Music Trend API that should be visited. Required fields are:
FIELD | Type | Description | ||
---|---|---|---|---|
limit | Integer | You can limit scraped results. | ||
region | String | 2 characters region code. Ex: US. | ||
proxyConfiguration | Object\Proxy configuration | Either your own proxy servers or you can use Apify Proxy. | ||
Compute Unit Consumption
The actor optimized to run blazing fast and scrape many as listings as possible. Therefore, it forefronts all listing detail requests. If actor doesn't block very often it'll scrape 100 listings in 1 minutes with ~0.001 compute units.
TikTok Music Trend API Scraper Input example
1{ 2 "region": "US", 3 "limit": 10 4}
During the Run
During the run, the actor will output messages letting you know what is going on. Each message always contains a short label specifying which page from the provided list is currently specified. When items are loaded from the page, you should see a message about this event with a loaded item count and total item count for each page.
If you provide incorrect input to the actor, it will immediately stop with failure state and output an explanation of what is wrong.
Tiktok Music Trend API Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API references to learn more about getting results from this TikTok Music Trend API actor.
Item Detail
1[ 2 { 3 "artists": null, 4 "author": "Happy New Year", 5 "author_position": null, 6 "cover_large": { 7 "height": 720, 8 "uri": "tos-alisg-v-2774/13d12608283d48109381420cd82f7403", 9 "url_list": [ 10 "https://p16-sign-sg.tiktokcdn.com/tos-alisg-v-2774/13d12608283d48109381420cd82f7403~720x720.jpeg?lk3s=08d74b56\u0026x-expires=1732656955\u0026x-signature=N73ScRM46o6gGh31211nxFrZiTA%3D" 11 ], 12 "url_prefix": null, 13 "width": 720 14 }, 15 "cover_medium": { 16 "height": 720, 17 "uri": "tos-alisg-v-2774/13d12608283d48109381420cd82f7403", 18 "url_list": [ 19 "https://p16-sign-sg.tiktokcdn.com/tos-alisg-v-2774/13d12608283d48109381420cd82f7403~200x200.jpeg?lk3s=08d74b56\u0026x-expires=1732656955\u0026x-signature=F5QyimvV8P7EYYBb7zGNOejmDUY%3D" 20 ], 21 "url_prefix": null, 22 "width": 720 23 }, 24 "cover_thumb": { 25 "height": 720, 26 "uri": "tos-alisg-v-2774/13d12608283d48109381420cd82f7403", 27 "url_list": [ 28 "https://p16-sign-sg.tiktokcdn.com/tos-alisg-v-2774/13d12608283d48109381420cd82f7403~100x100.jpeg?lk3s=08d74b56\u0026x-expires=1732656955\u0026x-signature=qoRY31w40%2Fj%2BKT64gthAbDQuAfg%3D" 29 ], 30 "url_prefix": null, 31 "width": 720 32 }, 33 "duration": 60, 34 "external_song_info": null, 35 "extra": "{\"amplitude_peak\":0.97009987,\"beats\":{\"audio_effect_onset\":\"https://sf16-music-sign.tiktokcdn.com/obj/tos-alisg-v-2774/543f352ee8bd4038a9d82447b378b2f1?lk3s=08d74b56\\u0026x-expires=1732656955\\u0026x-signature=W155PXJs2W7xpX3f2e7U%2FkeV0rc%3D\",\"beats_tracker\":\"https://sf16-music-sign.tiktokcdn.com/obj/tos-alisg-v-2774/859a57e4064249f09f763d5179dc6e19?lk3s=08d74b56\\u0026x-expires=1732656955\\u0026x-signature=nBB5UcPWv%2FlbltfHqzLg6XPhER0%3D\",\"energy_trace\":\"https://sf16-music-sign.tiktokcdn.com/obj/tos-alisg-v-2774/4977a388c37d41998a8f704176a05719?lk3s=08d74b56\\u0026x-expires=1732656955\\u0026x-signature=5St8sbSjOBMSLaSTCMwLuIUJ0h4%3D\",\"merged_beats\":\"https://sf16-music-sign.tiktokcdn.com/obj/tos-alisg-v-2774/49d43db2d49c4a9ab198cb76eafb37ad?lk3s=08d74b56\\u0026x-expires=1732656955\\u0026x-signature=bqb7gBPmtFhEuQ7DZqc2Wmj8zNs%3D\"},\"can_read\":true,\"can_reuse\":true,\"erase_type\":0,\"erase_uid\":0,\"filter_reason\":\"not_commerce\",\"from_user_id\":0,\"full_song_beat_info\":{},\"full_song_beats\":{},\"has_edited\":0,\"is_batch_take_down_music\":false,\"is_ugc_mapping\":false,\"is_used\":0,\"loudness_lufs\":-9.540354,\"music_vid\":\"v10ad6g50000cecl1cjc77u6qcma2f90\",\"original_song_url\":\"https://sf16-music-sign.tiktokcdn.com/obj/tos-alisg-ve-2774/oYIWZfx0KA1PAyzKUNY2xoOwhnUySzGZhGhBsM?lk3s=08d74b56\\u0026x-expires=1732656955\\u0026x-signature=%2ByNpqILjfhy8UBhY9wPGtFhbELQ%3D\",\"owner_id\":0,\"resource_status\":0,\"review_unshelve_reason\":0,\"reviewed\":1,\"schedule_search_time\":0}", 36 "id": 7090803692152031234, 37 "id_str": "7090803692152031234", 38 "is_original": false, 39 "lyric_short_position": null, 40 "mid": "7090803692152031234", 41 "multi_bit_rate_play_info": null, 42 "offline_desc": "This song can not play offline", 43 "play_url": { 44 "height": 720, 45 "uri": "", 46 "url_list": [], 47 "url_prefix": null, 48 "width": 720 49 }, 50 "position": null, 51 "search_highlight": null, 52 "source_platform": 10033, 53 "status": 1, 54 "tag_list": null, 55 "title": "Happy New Year (Remake)", 56 "tt_to_dsp_song_infos": null, 57 "uncert_artists": null, 58 "user_count": 78426 59 } 60]
Actor Metrics
2 monthly users
-
0 No stars yet
>99% runs succeeded
Created in Nov 2024
Modified 17 days ago