1000% Mixing Producer S
1000% Mixing Producer S · Actions GPT
Spotify Web API - Tracks and Audio Analysis
Retrieve information and analysis for tracks from the Spotify catalog.
GET /tracks/{id}Get track detailsFetches track details from the Spotify catalog by track ID.
GET /audio-features/{id}Get audio features for a trackReturns audio features for the specified Spotify track ID.
GET /recommendationsGet track recommendationsFetches track recommendations based on seed artists, tracks, genres, and tunable track attributes.
GET /albums/{id}Get an albumReturns detailed information about an album identified by its unique Spotify ID.
GET /searchSearch for an itemGet Spotify catalog information about albums, artists, playlists, tracks, shows, episodes, or audiobooks that match a keyword string.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "Spotify Web API - Tracks and Audio Analysis",
"description": "Retrieve information and analysis for tracks from the Spotify catalog.",
"version": "1.0.0"
},
"servers": [
{
"url": "https://api.spotify.com/v1",
"description": "Spotify Web API server"
}
],
"paths": {
"/tracks/{id}": {
"get": {
"operationId": "getTrack",
"summary": "Get track details",
"description": "Fetches track details from the Spotify catalog by track ID.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The Spotify ID for the track.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with track details."
}
}
}
},
"/audio-features/{id}": {
"get": {
"operationId": "getAudioFeatures",
"summary": "Get audio features for a track",
"description": "Returns audio features for the specified Spotify track ID.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The Spotify ID for the track.",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with audio features."
}
}
}
},
"/recommendations": {
"get": {
"operationId": "getRecommendations",
"summary": "Get track recommendations",
"description": "Fetches track recommendations based on seed artists, tracks, genres, and tunable track attributes.",
"parameters": [
{
"name": "limit",
"in": "query",
"description": "The target size of the list of recommended tracks, default is 20, minimum 1, maximum 100.",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "market",
"in": "query",
"description": "An ISO 3166-1 alpha-2 country code. If provided, only content available in that market will be returned.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "seed_artists",
"in": "query",
"description": "A comma-separated list of Spotify IDs for seed artists.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "seed_tracks",
"in": "query",
"description": "A comma-separated list of Spotify IDs for seed tracks.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "seed_genres",
"in": "query",
"description": "A comma-separated list of seed genres.",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with track recommendations."
},
"400": {
"description": "Bad request if invalid parameters are provided."
}
}
}
},
"/albums/{id}": {
"get": {
"operationId": "getAlbum",
"summary": "Get an album",
"description": "Returns detailed information about an album identified by its unique Spotify ID.",
"parameters": [
{
"name": "id",
"in": "path",
"description": "The Spotify ID for the album.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "market",
"in": "query",
"description": "An ISO 3166-1 alpha-2 country code. If provided, only content available in that market will be returned.",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with album details."
}
}
}
},
"/search": {
"get": {
"operationId": "searchItems",
"summary": "Search for an item",
"description": "Get Spotify catalog information about albums, artists, playlists, tracks, shows, episodes, or audiobooks that match a keyword string.",
"parameters": [
{
"name": "q",
"in": "query",
"description": "Your search query.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "type",
"in": "query",
"description": "A comma-separated list of item types to search across.",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "market",
"in": "query",
"description": "An ISO 3166-1 alpha-2 country code. Only content available in that market will be returned.",
"required": false,
"schema": {
"type": "string"
}
},
{
"name": "limit",
"in": "query",
"description": "The maximum number of results to return.",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "offset",
"in": "query",
"description": "The index of the first result to return.",
"required": false,
"schema": {
"type": "integer"
}
},
{
"name": "include_external",
"in": "query",
"description": "If specified, includes external audio content that can be played.",
"required": false,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "Successful response with search results."
}
}
}
}
}
}GPT-4 to Spotify Audio Features API
GET /pathGet audio features of a track via GPT-4 and AWS LambdaRetrieve audio features like Danceability, Energy, and Valence for a track by passing the Spotify track ID to the AWS Lambda function, which will then call the Spotify API.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "GPT-4 to Spotify Audio Features API",
"version": "1.0.0"
},
"servers": [
{
"url": "https://secd795z8j.execute-api.ap-southeast-2.amazonaws.com",
"description": "AWS API Gateway endpoint for retrieving Spotify Audio Features via GPT-4"
}
],
"paths": {
"/path": {
"get": {
"summary": "Get audio features of a track via GPT-4 and AWS Lambda",
"operationId": "getAudioFeaturesViaGPT4",
"description": "Retrieve audio features like Danceability, Energy, and Valence for a track by passing the Spotify track ID to the AWS Lambda function, which will then call the Spotify API.",
"parameters": [
{
"name": "trackId",
"in": "query",
"required": true,
"description": "The Spotify ID of the track for which audio features are to be retrieved.",
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "A successful response with audio features data from Spotify.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"danceability": {
"type": "number",
"format": "float"
},
"energy": {
"type": "number",
"format": "float"
},
"valence": {
"type": "number",
"format": "float"
}
}
}
}
}
}
}
}
}
}
}