API Reference
Complete documentation for integrating with TRAXKR REST API.
Base URL
https://api.traxkr.com/v1
Authentication
All API requests require a valid API key in the authorization header:
Authorization: Bearer YOUR_API_KEY
Endpoints
GET
/tracks
Get list of all tracks
GET
/tracks/:id
Get track details by ID
POST
/tracks
Upload a new track
GET
/artists/:id
Get artist profile information
POST
/purchase
Purchase track or access
GET
/earnings
Get user earnings and royalties
Response Format
All API responses follow this format:
{
"status": "success",
"data": { ... },
"message": "Request completed"
}Error Codes
200Success
400Bad Request
401Unauthorized
404Not Found
500Server Error
Rate Limiting
API requests are rate limited to 1000 requests per hour per API key. Requests exceeding this limit will receive a 429 (Too Many Requests) response.