latestOpenAPI 3.1.02026-08-10202033.2 KB

d8deec5eca44

Get Analysis Stats

Get comprehensive statistics about analyzed tracks.

Parameters:

<b>x_api_key</b> : str (API key for authentication)<br>

Returns:

Dict<br> general: Dict (Overall statistics)<br> - total_tracks: int<br> - analyzed_tracks: int<br> - unique_genres: int<br> - avg_popularity: float<br> top_genres: List[Dict] (Most common genres)<br> audio_characteristics: Dict (Average audio features)<br>

Notes:

Provides a statistical overview of the analyzed music database.

get/api/v1/stats

Headers

x-api-keystring

Response

Successful Response

{"stackTrail":"paths:/api/v1/stats:get:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}