POST /search
API Reference
POST /search
Natural language music search with AI-powered intent extraction
POST
POST /search
Search the Trackyard catalog using natural language queries. Describe what you need in plain English, and the AI infers genre, mood, BPM, instrumentation, and more.
Cost: 1 credit per request
See Rate Limits & Credits for details.
See Error Codes for full reference.
Authentication
All requests require a valid API key in theAuthorization header:
Request Body
Natural language description of the music you need.Examples:
"upbeat electronic music for a tech startup video""moody piano for a rainy scene""15-second clip for an Instagram Reel about travel"
Maximum number of results to return.Range: 1-100
Pagination offset. Use with
limit to paginate through results.Optional structured filters to refine results.
Example Request
Response
Array of track objects matching your query.
Your remaining credit balance after this request.
Example Response
Rate Limits
All responses include rate limit headers:Error Responses
401 Unauthorized
Missing or invalid API key.
402 Payment Required
Out of credits.
429 Too Many Requests
Rate limit exceeded.
Tips for Better Results
Next Steps
Download Track
Download full tracks or smart-trimmed clips
Parameters Guide
Full reference of all search filters
AI-Powered Search
Learn how natural language search works
Code Examples
Python and JavaScript examples