TikTok Music Videos
Get the videos using a sound by music URL or numeric music ID. Returns the same fields as User Videos for each video, about 12 per page. Supports fetching multiple pages in a single API call (billed per page).
Price: $0.006 per page. Free tier: 50 requests/month.
Request
- Base URL: https://apidirect.io
- URL: https://apidirect.io/v1/tiktok/music/videos
- Auth: API key in header X-API-Key
Query parameters
TikTok music URL, e.g. https://www.tiktok.com/music/Face-Off-7016547803243022337 (max 500 characters). Provide exactly one of url or music_id.
Numeric music ID: the number at the end of a music URL, also returned as music_id on every video. Provide exactly one of url or music_id.
Number of pages to fetch, 1-1000 (default: 1). Each page returns up to 12 videos.
Set to true to add AI emotion analysis to each item. Adds a sentiment object containing emotions (joy, trust, fear, surprise, sadness, disgust, anger and anticipation, each scored 0-100), dominant_emotion, emotional_intensity (0-10), and polarity (positive, negative or neutral). Any item that cannot be scored returns sentiment: null.
Response
Successful response
Changes
No recorded changes to this operation across all 1 revision of this API.