InsightSocial API

Spotify

Spotify API reference: 3 endpoints for artists, albums and tracks. Per-endpoint credit prices and cURL examples.

Spotify artists with monthly listeners and top cities, albums and tracks with play counts.

Base path: /v1/spotify/...

Quickstart

cURL
curl "https://api.insightsocial.app/v1/spotify/track?url=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F4uLU6hMCjMI75M1A2tKUQC" \
  -H "x-api-key: $INSIGHTSOCIAL_API_KEY"

Endpoints

Every endpoint here has a fixed price.

Every endpoint here is beta: it returns the platform's own structure under our naming rules (snake_case keys, string ids, ISO times where the platform gives a timestamp), not a schema-2 entity, and its fields may change. See Beta endpoints.

EndpointCreditsWhat it returnsKey parameters
/album20Get a Spotify album by id or album URL. Beta.—
/artist20Get a Spotify artist by id or profile URL. Beta.—
/track20Get a Spotify track by id or track URL. Beta.—

On this page