SocialCrawl

Spotify

Spotify artists, tracks, albums, podcast shows, podcast episodes, and playlist search through one unified API

Spotify artists, tracks, albums, podcast shows and their episodes, plus playlist search, all behind the unified SocialCrawl envelope. Every endpoint is a GET and costs 1 credit.

Base URL: /v1/spotify/...

Spotify search returns playlists, and only playlists. Tracks, artists, albums and podcasts do not come back as results today, whatever the query. To look up a known song, record, artist or show, call its own endpoint with an id or url instead. Search will not find it for you.

Quickstart

1. Fetch an artist

Five of the six endpoints are addressed by either an id or a url, and you must supply one of them. Sending neither is a 400 before billing. The id is the segment after the object type in any Spotify link:

https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02
                                ^^^^^^^^^^^^^^^^^^^^^^
curl "https://www.socialcrawl.dev/v1/spotify/artist?url=https://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02" \
  -H "x-api-key: YOUR_API_KEY"

The same call by id:

curl "https://www.socialcrawl.dev/v1/spotify/artist?id=06HL4z0CvFAxyc27GXpf02" \
  -H "x-api-key: YOUR_API_KEY"

2. Walk a podcast's back catalogue

podcast/episodes is the only paginated endpoint here. Pass the previous response's pagination.next_cursor back to get the next page.

curl "https://www.socialcrawl.dev/v1/spotify/podcast/episodes?id=4rOoJ6Egrf8K2IrywzwOMk" \
  -H "x-api-key: YOUR_API_KEY"

3. Read computed fields

When an endpoint supports a computed field and the required source inputs are present, the unified response includes that optional field. Depending on the endpoint, optional fields can include engagement_rate, language, content_category, and estimated_reach. See Computed fields for formulas, clamping rules, and null semantics.

Music

EndpointCreditsWhat it returnsKey parameters
GET /v1/spotify/artist1Id, name, follower count, monthly listeners, genres, and related artistsid or url
GET /v1/spotify/track1One song: its artists, album and cover art, duration, play count, and sharing linksid or url
GET /v1/spotify/album1A whole record with its release date, copyright, and track listid or url

Pick by scope: track for one song, album for the record it sits on, artist for the performer.

Podcasts

Spotify calls podcasts shows, and the URL says /show/ rather than /podcast/.

EndpointCreditsWhat it returnsKey parameters
GET /v1/spotify/podcast1The show itself: id, name, description, cover artid or url
GET /v1/spotify/podcast/episodes1What the show has published, each episode with a title, release date, duration, cover art, and a short preview audio URLid or url, cursor
# 1. The show
curl "https://www.socialcrawl.dev/v1/spotify/podcast?url=https://open.spotify.com/show/4rOoJ6Egrf8K2IrywzwOMk" \
  -H "x-api-key: YOUR_API_KEY"

# 2. Its episodes, paging with the cursor from the previous response
curl "https://www.socialcrawl.dev/v1/spotify/podcast/episodes?id=4rOoJ6Egrf8K2IrywzwOMk&cursor=CURSOR_FROM_STEP_1" \
  -H "x-api-key: YOUR_API_KEY"
EndpointCreditsWhat it returnsKey parameters
GET /v1/spotify/search1Matching playlists, and only playlistsquery

This is the one endpoint that does not need an id.

All endpoints

6 endpoints available.

EndpointPathCredit Tier
Get a Spotify album/v1/spotify/albumstandard (1cr)
Get a Spotify artist/v1/spotify/artiststandard (1cr)
Get a Spotify podcast/v1/spotify/podcaststandard (1cr)
List a Spotify podcast's episodes/v1/spotify/podcast/episodesstandard (1cr)
Search Spotify/v1/spotify/searchstandard (1cr)
Get a Spotify track/v1/spotify/trackstandard (1cr)

Platform notes

  • Search returns playlists only. Tracks, artists, albums and podcasts do not appear in results, whatever the query.
  • artist, track, album, podcast and podcast/episodes each accept id or url. Supply exactly one. search takes query instead.
  • Only podcast/episodes paginates. The other endpoints return a single object or a fixed set.
  • All endpoints use GET with query parameters, and responses follow the unified SocialCrawl schema.

Next steps