TikTok Music API
Get TikTok Music data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 10 implementations (anyapi, LiteScrape, ScrapeCreators and TikHub), pass parameters such as clipId, and retrieve structured data including title, returned album field, author context, returned cover url field, and returned duration field for content research and account lookup, and integration reference.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 4 / 10
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
TikTok Music API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
TikTok — Get Song Details API
Retrieve detailed metadata for a specific TikTok sound or song by its clipId. Provide clipId in query. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | query: clipId |
| Selected implementation | scrapecreators · TikTok — Get Song Details |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Content research and account lookup: Keep source records connected to their content and account identifiers.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
credits_charged |
Returned credits charged field |
credits_remaining |
Returned credits remaining field |
music_info.id |
Identifier |
music_info.status |
Reported status |
music_info.title |
Title |
music_info.album |
Returned album field |
music_info.allow_offline_music_to_detail_page |
Returned allow offline music to detail page field |
music_info.artists[].status |
Reported status |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the supported inputs and set any required query value shown in the template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/song?clipId=7439295283975702544' \
-X GET \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published TikTok — Get Song Details API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| TikTok Song · POST · View API reference | $0.0006 / call | —Select to load statistics | —successP50— | |
| TikTok Song Videos · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok Song · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| TikTok — TikToks using Song · GET · View API reference | $0.00188 / call | —Select to load statistics | —successP50— | |
Current TikTok — Get Song Details · GET · View API reference | $0.00188 / call | 0 | —successP50— | |
| Get user music list data · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get details of specified music · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get music search results of specified keywords · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Music Chart List · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— | |
| Get video list of specified music · GET · View API reference | $0.001 / call | —Select to load statistics | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/song- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
clipId | URL query parametersquery | string | Yes | This is a little confusing because this isn't songId like you'd think. It is the clipId. I guess because you can clip different portions of a song 🤷♂️ |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegermusic_infoobjectalbumstringallow_offline_music_to_detail_pagebooleanartistsobject[]avatarobjecturistringurl_liststring[]url_prefixnull
enter_typeintegerfollow_statusintegerfollower_statusintegerhandlestringis_blockbooleanis_blockedbooleanis_private_accountbooleanis_verifiedbooleanis_visiblebooleannick_namestringsec_uidstringstatusintegeruidstring
audition_durationintegerauthorstringauthor_deletedbooleanauthor_positionnullavatar_mediumobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
avatar_thumbobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
binded_challenge_idintegercan_be_stitchedbooleancan_not_reusebooleancollect_statintegercommercial_right_typeintegercover_largeobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
cover_mediumobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
cover_thumbobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
create_timeintegerdmv_auto_showbooleandurationintegerduration_high_precisionobjectaudition_duration_precisionintegerduration_precisionintegershoot_duration_precisionintegervideo_duration_precisioninteger
external_song_infounknown[]extrastringfull_songobjectfull_song_durationintegerfull_song_duration_precisionnumberfull_song_idstringfull_song_play_urlobjecturistringurl_liststring[]url_prefixnull
full_song_shoot_durationintegerfull_song_shoot_duration_precisioninteger
has_commerce_rightbooleanidintegerid_strstringis_audio_url_with_cookiebooleanis_author_artistbooleanis_commerce_musicbooleanis_matched_metadatabooleanis_originalbooleanis_original_soundbooleanis_pgcbooleanis_shooting_allowbooleanlog_extrastringlyric_short_positionnullmatched_songobjectauthorstringchorus_infoobjectduration_msintegerstart_msinteger
cover_mediumobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
full_durationintegerh5_urlstringidstringperformersnulltitlestring
meme_song_infoobjectmidstringmusic_release_infoobjectgroup_release_dateintegeris_new_release_songboolean
mute_sharebooleanoffline_descstringowner_handlestringowner_nicknamestringplay_urlobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
positionnullprevent_downloadbooleanpreview_end_timeintegerpreview_start_timeintegerrecommend_statusintegershare_infoobjectbool_persistintegernow_invitation_card_image_urlsnullshare_descstringshare_desc_infostringshare_quotestringshare_signature_descstringshare_signature_urlstringshare_titlestringshare_title_myselfstringshare_title_otherstringshare_urlstring
shoot_durationintegersource_platformintegerstatusintegerstrong_beat_urlobjectheightintegeruristringurl_liststring[]url_prefixnullwidthinteger
suggest_wordsobjectsuggest_wordsobject[]scenestringwordsobject[]wordstringword_idstring
tag_listnulltitlestringtt_to_dsp_song_infosnulluncert_artistsnulluser_countintegervid_volume_infostringvideo_durationinteger
rec_listunknown[]similar_musicunknown[]similar_music_idsnullstatus_codeintegerstatus_msgstringsuccessboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 1
Review these request fields before running. Keep the published provider and request method unchanged.
clipId- This is a little confusing because this isn't songId like you'd think. It is the clipId. I guess because you can clip different portions of a song 🤷♂️
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/tiktok/song?clipId=7439295283975702544' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 1000000, "music_info": { "album": "Different", "allow_offline_music_to_detail_page": false, "artists": [ { "avatar": { "uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848", "url_list": [ "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_168x168.webp?lk3s=544a444f&nonce=23330&refresh_token=9e7d26286320fa35b998105f0dcbc158&x-expires=1741053600&x-signature=5oUamOIDpQFqlJS8XBBgEaNiNK0%3D&shp=544a444f&shcp=-" ], "url_prefix": null }, "enter_type": 2, "follow_status": 0, "follower_status": 0, "handle": "micahtylertok", "is_block": false, "is_blocked": false, "is_private_account": false, "is_verified": false, "is_visible": false, "nick_name": "Micah Tyler", "sec_uid": "MS4wLjABAAAAEdwuYUJfZcFMddE2j_F7VdBPJ-mFgfmhvS_OEZc_CwP9mgiFLDBlqsJOgEaAaHR5", "status": 1, "uid": "7086245766293226538" } ], "audition_duration": 60, "author": "Micah Tyler", "author_deleted": false, "author_position": null, "avatar_medium": { "height": 720, "uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848", "url_list": [ "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_720x720.webp?lk3s=544a444f&nonce=64063&refresh_token=84290303432aef362a12963995398c8c&x-expires=1741053600&x-signature=VWm%2FJPJZmHRb23mnxnbZIoyMEfY%3D&shp=544a444f&shcp=-" ], "url_prefix": null, "width": 720 }, "avatar_thumb": { "height": 720, "uri": "tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848", "url_list": [ "https://p16-sign-va.tiktokcdn.com/tos-maliva-avt-0068/e7d4971260ccf9834d92fe6a3c63e848~c5_100x100.webp?lk3s=544a444f&nonce=19785&refresh_token=546fc5e384f6934ebcb6a569ae37a54d&x-expires=1741053600&x-signature=q5%2FBVdNQxITSyrSbvd69kij1sRE%3D&shp=544a444f&shcp=-" ], "url_prefix": null, "width": 720 }, "binded_challenge_id": 0, "can_be_stitched": true, "can_not_reuse": false, "collect_stat": 0, "commercial_right_type": 3, "cover_large": { "height": 720, "uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb", "url_list": [ "https://p16-sg.tiktokcdn.com/aweme/720x720/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg" ], "url_prefix": null, "width": 720 }, "cover_medium": { "height": 720, "uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb", "url_list": [ "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg" ], "url_prefix": null, "width": 720 }, "cover_thumb": { "height": 720, "uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb", "url_list": [ "https://p16-sg.tiktokcdn.com/aweme/100x100/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg" ], "url_prefix": null, "width": 720 }, "create_time": 1563960621, "dmv_auto_show": false, "duration": 60, "duration_high_precision": { "audition_duration_precision": 60, "duration_precision": 60, "shoot_duration_precision": 60, "video_duration_precision": 60 }, "external_song_info": [], "extra": "{\"aed_music_dur\":35.15,\"amplitude_peak\":0.90573657,\"apple_song_id\":1294619219,\"beats\":{\"audio_effect_onset\":\"https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/oUAUk8ZzzEAU6HBiB7fAhDsjbAN8yAAEhqQTWg\",\"beats_tracker\":\"https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/oAF3bCnBfkAAUeZDlsqGFACtgETHBYaEAAH5DZ\",\"energy_trace\":\"https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/ow8bhfzzsWgaaEAjQHhEKiABkApQUJA5gyNpRA\",\"merged_beats\":\"https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/oUIygAzuEAAhAAHCNWBQEYAfF8HjMRdiUFZshk\"},\"can_read\":true,\"can_reuse\":true,\"erase_type\":0,\"erase_uid\":0,\"from_user_id\":7353023837547873313,\"full_song_beat_info\":{\"bpm\":81},\"full_song_beats\":{\"audio_effect_onset\":\"tos-alisg-v-2774/oEF39BYibIPQZrDAG3AwdhCAEgJo3EWEABPiR\",\"beats_tracker\":\"tos-alisg-v-2774/ogAgAf9gDADnFAitguEi0fIMdBNI2Qtg6AZxRC\",\"energy_trace\":\"tos-alisg-v-2774/o8G0ODdiECCg20AtwAREmDRADEBZgAFgn3BeZf\",\"merged_beats\":\"tos-alisg-v-2774/osZ3PAAxGEI3lBTwCEiGEiBAEWRQrYwQdl7UA\"},\"has_edited\":0,\"is_batch_take_down_music\":false,\"is_ugc_mapping\":false,\"is_used\":0,\"loudness_lufs\":-11.893368,\"music_vid\":\"v10ad6g50000ctcrhlvog65o48qsdm1g\",\"owner_id\":0,\"resource_status\":0,\"review_unshelve_reason\":0,\"reviewed\":0,\"schedule_search_time\":0}", "full_song": { "full_song_duration": 195, "full_song_duration_precision": 195.12, "full_song_id": "6739983931317159937", "full_song_play_url": { "uri": "tos-alisg-ve-2774/ok4uNQDaztAMCS5ZA6iiwxBnWrBsBXAMIVfyoN", "url_list": [ "https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/ok4uNQDaztAMCS5ZA6iiwxBnWrBsBXAMIVfyoN" ], "url_prefix": null }, "full_song_shoot_duration": 60, "full_song_shoot_duration_precision": 60 }, "has_commerce_right": false, "id": 6717159721276541000, "id_str": "6717159721276540930", "is_audio_url_with_cookie": false, "is_author_artist": true, "is_commerce_music": true, "is_matched_metadata": false, "is_original": false, "is_original_sound": false, "is_pgc": true, "is_shooting_allow": true, "log_extra": "{\"meta_song_matched_type\":\"pgc\",\"ttm_matched_type\":\"\",\"ttm_track_id\":\"\",\"matched_meta_song_id\":\"\",\"vid\":\"\",\"owner_id\":\"\"}", "lyric_short_position": null, "matched_song": { "author": "Micah Tyler", "chorus_info": { "duration_ms": 85824, "start_ms": 91968 }, "cover_medium": { "height": 720, "uri": "tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb", "url_list": [ "https://p16-sg.tiktokcdn.com/aweme/200x200/tos-alisg-v-2774/okeuMAAZnBBv88JZBjFEgjDOtWCZQ4AEEwfoQb.jpeg" ], "url_prefix": null, "width": 720 }, "full_duration": 195120, "h5_url": "", "id": "6717159725093390337", "performers": null, "title": "Different (Acoustic)" }, "meme_song_info": {}, "mid": "6717159721276540930", "music_release_info": { "group_release_date": 1507852800, "is_new_release_song": false }, "mute_share": false, "offline_desc": "", "owner_handle": "", "owner_nickname": "", "play_url": { "height": 720, "uri": "https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/oIBIZNfxOX2Nzi1WRH4ABroDirMAuIjwsGVov9", "url_list": [ "https://sf77-ies-music-sg.tiktokcdn.com/obj/tos-alisg-ve-2774/oIBIZNfxOX2Nzi1WRH4ABroDirMAuIjwsGVov9" ], "url_prefix": null, "width": 720 }, "position": null, "prevent_download": false, "preview_end_time": 0, "preview_start_time": 0, "recommend_status": 100, "share_info": { "bool_persist": 0, "now_invitation_card_image_urls": null, "share_desc": "Check out this song! Different (Acoustic) #TikTok", "share_desc_info": "Users all over the world are having fun making their own versions of the song Different (Acoustic) on TikTok! Tap here >>", "share_quote": "", "share_signature_desc": "", "share_signature_url": "", "share_title": "Amazing! I just found a bunch of funny videos! #TikTok > Different (Acoustic)", "share_title_myself": "", "share_title_other": "", "share_url": "https://www.tiktok.com/music/Different-Acoustic-6717159721276540930?_r=1&sharer_language=en&source=h5_m&u_code=edc4e03mb6jec3&_d=edc4blalch8k7a&share_music_id=6717159721276540930" }, "shoot_duration": 60, "source_platform": 10033, "status": 1, "strong_beat_url": { "height": 720, "uri": "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/c8b6aea87f2f430e93a4c5e75515cbce", "url_list": [ "https://sf16-ies-music-sg.tiktokcdn.com/obj/tos-alisg-v-2774/c8b6aea87f2f430e93a4c5e75515cbce" ], "url_prefix": null, "width": 720 }, "suggest_words": { "suggest_words": [ { "scene": "search_hint", "words": [ { "word": "Different (Acoustic)", "word_id": "2444359994125246213" } ] } ] }, "tag_list": null, "title": "Different (Acoustic)", "tt_to_dsp_song_infos": null, "uncert_artists": null, "user_count": 358, "vid_volume_info": "{\"Peak\":0.90157,\"Loudness\":-11.9}", "video_duration": 60 }, "rec_list": [], "similar_music": [], "similar_music_ids": null, "status_code": 0, "status_msg": "", "success": true }