curl --request POST \ --url https://api.trackyard.com/api/external/v1/download-track
API Reference
POST /download-track
Download full tracks or smart-trimmed clips with automatic hit point alignment
POST
https://api.trackyard.com
/
api
/
external
/
v1
/
download-track
POST /download-track
Copy
Ask AI
curl --request POST \ --url https://api.trackyard.com/api/external/v1/download-track
Download a licensed track as an MP3 file. Optionally request a smart-trimmed clip with automatic segment selection and hit point alignment.Cost: 1 credit per requestLicense: Perpetual sync license included automatically. No additional step required.
Clip length in seconds. Omit this field to download the full track.When specified, Trackyard analyzes the waveform and selects the best-sounding segment automatically.Range: 10-300 seconds
Recommended minimum: 10 seconds (shorter clips may lack musical coherence)
Offset (in seconds) where the musical peak should land. Requires duration_seconds.The algorithm finds the dominant energy peak in the track and aligns it to this offset.Use case: Sync the music’s climax to a specific moment in your video (product reveal, logo drop, title card).Range: Must be less than duration_secondsPrecision: ±1 second
✅ Short-form content — Instagram Reels, TikToks, YouTube Shorts✅ Ads — Social media ads, pre-roll, mid-roll✅ Product demos — SaaS walkthroughs, unboxing videos✅ Trailers — App, game, or film trailers✅ Batch processing — Auto-scoring 100+ videos at scale
❌ Long-form content — Podcasts, full episodes, feature films❌ Custom edits — When you need frame-perfect control❌ Looping backgrounds — Use full track for seamless loops