Get a Spotify album by id or album URL.
Endpoint
/v1/spotify/album
Query
Optional Spotify album id for the request.
Optional Spotify album URL for the request.
const response = await fetch( "https://api.socialfetch.dev/v1/spotify/album?albumId=0pgrg7phBbnwGJ2HBEl9EG", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);