{
"opencollection": "1.0.0",
"info": {
"name": "SoundStat Genres Track API",
"version": "1.0.0"
},
"request": {
"auth": {
"type": "apikey",
"key": "x-api-key",
"value": "{{x-api-key}}",
"placement": "header"
}
},
"items": [
{
"info": {
"name": "Track",
"type": "folder"
},
"items": [
{
"info": {
"name": "Get Track Analysis",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://soundstat.info/api/v1/track/:track_id",
"headers": [
{
"name": "x-api-key",
"value": ""
}
],
"params": [
{
"name": "track_id",
"value": "",
"type": "path"
}
]
},
"docs": "Get detailed audio analysis for a specific track.\n\nParameters:\n----------\ntrack_id : str (Spotify track ID)
\nx_api_key : str (API key for authentication)
\n\nReturns:\n-------\nTrackAnalysis
\n Basic track info (name, artists, genre)
\n Track duration in milliseconds
\n Audio features (tempo, key, mode, energy etc.)
\n\n\nNotes:\n-----\nIf track hasn't been analyzed, initiates analysis and returns processing status."
},
{
"info": {
"name": "Track Status Updates",
"type": "http"
},
"http": {
"method": "GET",
"url": "https://soundstat.info/api/v1/track/:track_id/status",
"headers": [
{
"name": "x-api-key",
"value": ""
}
],
"params": [
{
"name": "track_id",
"value": "",
"type": "path"
}
]
},
"docs": "Get real-time status updates for track analysis via Server-Sent Events (SSE).\n\nParameters:\n----------\ntrack_id : str (Spotify track ID)
\nx_api_key : str (API key for authentication)
\n\nReturns:\n-------\nEventSourceResponse
\n Status updates as SSE events
\n Event types: status, complete, error
\n\nNotes:\n-----\nMaintains an active connection until analysis is complete or fails."
}
]
}
],
"bundled": true
}