How Credits Work
Every API call that returns data costs 1 credit:| Endpoint | Cost |
|---|---|
POST /search | 1 credit |
POST /download-track | 1 credit |
GET /me | Free |
GET /usage | Free |
Credits are consumed on successful responses only. Failed requests (4xx/5xx errors) don’t count against your balance.
Credit Tiers
- Free
- Starter
- Pro (Coming Soon)
50 one-time credits (no monthly reset)
- 5 requests/minute
- 50 requests/day
- Natural language search
- Smart clip trimming
- Basic support (email)
Rate Limits
Rate limits prevent abuse and ensure fair access. Limits are enforced per API key.Default Limits (Free Tier)
- 5 requests per minute
- 50 requests per day
429 Too Many Requests response with a Retry-After header indicating how long to wait (in seconds).
Tracking Rate Limits
Every API response includes rate limit headers:| Header | Description |
|---|---|
X-RateLimit-Limit | Maximum requests per minute |
X-RateLimit-Remaining | Requests left this minute |
X-RateLimit-Limit-Daily | Maximum requests per day |
X-RateLimit-Remaining-Daily | Requests left today |
X-Credits-Remaining | Credits left this month |
Handling Rate Limits
Monitoring Usage
Check Your Balance
Use the/me endpoint to check your current credit balance and tier:
View Usage History
Use the/usage endpoint to see your API call history:
Optimizing Credit Usage
Cache search results
Cache search results
If you’re searching for the same query repeatedly, cache the results locally to avoid consuming credits unnecessarily.
Use filters to narrow results
Use filters to narrow results
Instead of downloading 100 tracks to find the right one, use filters to refine your search upfront:
Batch operations efficiently
Batch operations efficiently
If you’re processing many videos, batch your searches to avoid redundant API calls:
- Collect all unique queries
- Deduplicate
- Search once per unique query
- Reuse results across videos with similar requirements
Stream previews before downloading
Stream previews before downloading
Use the
preview_url from search results to audition tracks before spending a credit on /download-track.Out of Credits?
When your balance hits zero, the API returns a402 Payment Required error.
Options:
- Wait for monthly reset — Free tier credits renew on the 1st of each month
- Upgrade your plan — Get more credits and higher rate limits
- Purchase additional credits — One-time top-ups (coming soon)