TikTok Commercial Music Library API for business video posts
Access TikTok's Commercial Music Library to find business-safe tracks by genre, date range, region, and account eligibility, then attach song_clip_id values to scheduled TikTok video posts.
Last updated: May 2026
1// Query the TikTok Commercial Music Library2const music = await fetch(3 "https://api.bundle.social/api/v1/music/tiktok/trending?genre=hiphop&limit=10",4 { headers: { "x-api-key": process.env.BUNDLE_SOCIAL_API_KEY } }5);6const { songs } = await music.json();7// songs[i] = { id, title, artist, duration, genre }89// Attach to a TikTok VIDEO post - not photo mode10await fetch("https://api.bundle.social/api/v1/post", {11 method: "POST",12 headers: {13 "x-api-key": process.env.BUNDLE_SOCIAL_API_KEY,14 "Content-Type": "application/json"15 },16 body: JSON.stringify({17 teamId: "team_123",18 status: "SCHEDULED",19 postDate: "2026-05-14T10:00:00.000Z",20 socialAccountTypes: ["TIKTOK"],21 data: {22 TIKTOK: { type: "VIDEO", uploadIds: ["upload_vid_1"], song_clip_id: songs[0].id }23 }24 })25});Accessing the TikTok CML natively
What bundle.social handles
Commercial music still has availability rules
TikTok's Commercial Music Library is designed for eligible business-account use, but catalog access still depends on TikTok's region, account, and usage rules. bundle.social surfaces the catalog through API access so those choices fit into your scheduling workflow.
Workflow
How it works
Connect accounts once, then create and schedule posts with channel-specific fields from one API.
Query trending tracks
Call /music/tiktok/trending with genre and date range filters to get commercially licensed tracks.
Select a song_clip_id
Each track includes an id field. Use this as song_clip_id in the post payload.
Create the VIDEO post
Include song_clip_id in the TIKTOK data block. Only VIDEO posts support music, and it must be set at creation time.
Capabilities
TikTok Commercial Music Library integrated with scheduling
Access CML tracks designed for commercial TikTok use and attach them to video posts in the same scheduling workflow.
Browse the commercial catalog
Search commercially licensed TikTok tracks without needing separate music API credentials or partner agreements.
Designed for commercial use
CML tracks are designed for commercial use by eligible business accounts, subject to TikTok's availability, region, and usage rules.
song_clip_id in one step
The track response includes the exact field name you need for the post payload. No translation required.
Genre and recency filters
Narrow the catalog by genre and date range so your content stays on-trend and relevant to your audience.
Integrated with TikTok posting
Music selection feeds directly into the VIDEO post workflow. No separate publishing step or additional API calls.
Avoid the draft-lock rule
bundle.social surfaces TikTok's constraint that music must be set at post creation, preventing silent failures in your pipeline.
Developer example
Find a trending CML track and post with music
Examples use bundle.social's public API shape: API key authentication, a post date, selected social account types, and platform-specific data.
1const music = await fetch(2 "https://api.bundle.social/api/v1/music/tiktok/trending?genre=pop&startDate=2026-05-01&limit=5",3 { headers: { "x-api-key": process.env.BUNDLE_SOCIAL_API_KEY } }4);5const { songs } = await music.json();67await fetch("https://api.bundle.social/api/v1/post", {8 method: "POST",9 headers: {10 "x-api-key": process.env.BUNDLE_SOCIAL_API_KEY,11 "Content-Type": "application/json"12 },13 body: JSON.stringify({14 teamId: "team_123",15 postDate: "2026-05-14T10:00:00.000Z",16 status: "SCHEDULED",17 socialAccountTypes: ["TIKTOK"],18 data: {19 TIKTOK: {20 type: "VIDEO",21 uploadIds: ["upload_vid_1"],22 privacyLevel: "PUBLIC_TO_EVERYONE",23 song_clip_id: songs[0].id24 }25 }26 })27});Supported content
Honest limitations
- CML tracks can only be used with VIDEO posts. Photo mode does not support song_clip_id.
- Music cannot be added to a draft after creation. Set song_clip_id in the initial payload.
- Catalog availability can vary by region, account eligibility, and TikTok's usage rules.
Guarantees
Developer-first infrastructure
2% error rate
We handle the platform edge cases, media processing, and rate limits so your requests succeed.
Verbose errors
When native APIs fail, we return human-readable error messages and actionable recovery steps.
Flat pricing
No per-post counting. Predictable pricing for teams managing many users, workspaces, and connected accounts.
Same-day support
Direct access to the engineers building the API. We respond to technical issues the same day. Sometimes the same hour. Test us c;
FAQ
Questions developers ask before building
What is the TikTok Commercial Music Library?
The CML is TikTok's catalog of tracks designed for commercial use by eligible business accounts. Availability and permitted use still depend on TikTok's region, account, and catalog rules.
How is this different from the TikTok Music API page?
/tiktok-commercial-music-library explains the CML catalog, commercial-use intent, eligibility, and regional limitations. /tiktok-music-api is the developer-focused page for endpoint usage, response fields, and attaching song_clip_id to post creation.
Can I search by artist name?
The trending endpoint filters by genre and date range. For artist-specific search, check the bundle.social API docs for available query parameters.
What genres are available?
Genre values match TikTok's CML genre taxonomy. Check the API reference for the full supported genre list.
Is CML access included in all plans?
CML access depends on your bundle.social plan and the connected TikTok account's eligibility. Contact the team to confirm.