Prerequisites
- A Trackyard account (sign up here)
- Basic familiarity with REST APIs
Step 1: Get Your API Key
Sign up or log in
Go to app.trackyard.com and create a free account or log in.
Navigate to API Keys
Click on API Keys in the dashboard or go directly to app.trackyard.com/api-keys.
Step 2: Search for Music
Use the/search endpoint to find tracks. Describe what you need in plain English — Trackyard’s AI will infer genre, mood, BPM, and instrumentation automatically.
Example Response
Example Response
Step 3: Download a Licensed Track
Once you’ve found a track you like, use the/download-track endpoint to get the audio file. The license is automatically included — no extra step required.
Option A: Download Full Track
Option B: Download Smart-Trimmed Clip
Need exactly 30 seconds? Trackyard analyzes the waveform and selects the best-sounding segment automatically.Option C: Align Musical Peak to Specific Offset
Want the big hit to land at exactly 12 seconds (e.g., when your product appears on screen)?How it works: Trackyard’s algorithm finds the dominant energy peak in the track and aligns it to your specified offset. Perfect for syncing music to video reveals, product shots, or title cards.
Step 4: Use the Track
That’s it! You now have a licensed MP3 file ready to use in your project. The license is perpetual — use it forever with no renewals or expiration.What's Included in the License
- ✅ Perpetual usage rights (no expiration)
- ✅ Social media (Instagram, TikTok, YouTube, etc.)
- ✅ Podcasts and streaming platforms
- ✅ Online ads and branded content
- ✅ Corporate and training videos
- ✅ Film and TV (usage tier-dependent)
Check Your Usage
Monitor your credit balance and API usage anytime:Next Steps
Search API Reference
Learn about all available search filters and parameters
Download API Reference
Advanced clip trimming options and hit point alignment
Code Examples
Python and JavaScript SDKs with full examples
Use Cases
See how others are using Trackyard at scale
Troubleshooting
401 Unauthorized
401 Unauthorized
402 Out of Credits
402 Out of Credits
- Your account has run out of credits
- Top up or upgrade your plan at app.trackyard.com/billing
429 Rate Limit Exceeded
429 Rate Limit Exceeded
- You’ve exceeded your rate limit (10 requests/minute for free tier)
- Wait for the
retry_afterseconds indicated in the response - Consider upgrading for higher limits
No results returned
No results returned
- Try a more specific query (“moody piano for a rainy scene” vs “sad music”)
- Remove overly restrictive filters
- Check for typos in filter parameters