Spotify · Posts and media

Spotify Track Scraper API

The Spotify Track endpoint is one API call: send either an ID or a URL with your HProxy key and get back a clean, structured JSON object. Pull a Spotify track: title, artists, album, duration, release date, popularity score and its ISRC where exposed. HProxy runs the proxies, sessions, anti-bot handling and parsing server-side, so there is no headless browser to babysit and no parser to keep fixing when Spotify changes its markup. You only ever touch the JSON.
  • 0.15¢ per call
  • $1.49 per 1,000
  • Takes either an ID or a URL
  • Errors and timeouts are not charged

The call

One GET, and the track comes back as JSON.

Your key goes in one header. 1 required parameter, and the answer is the object below it.

The full reference
curl "https://hproxy.com/api/v1/scrape/spotify/track?url=https%3A%2F%2Fopen.spotify.com%2Fartist%2F06HL4z0CvFAxyc27GXpf02" \
  -H "X-API-Key: hpx_your_key_here"
Response200 OK · JSON
{
  "id": "70122...",
  "title": "Sound title",
  "artist": "Artist name",
  "duration": 31,
  "videoCount": 1284003,
  "cover": "https://.../cover.jpg"
}

What comes back

The Spotify track object.

title / artist
Sound title and the credited artist.
duration
Length of the sound.
videoCount
How much content has been made with it.
cover
Cover artwork URL.

What it takes

Parameters.

Send any one of id, url. id or url required

idstring1234567890

Identifier from a previous response.

urlurlhttps://open.spotify.com/artist/06HL4z0CvFAxyc27GXpf02

Target URL (profile, post or video).

How it works

Scraping Spotify track, in three steps.

You write one line. Proxies, anti-bot walls, rendering and parsing happen on our side.

  1. 1

    Create a free account

    Sign up and top up any amount. The balance pays for every HProxy product.
  2. 2

    Grab your API key

    One key from the dashboard authenticates every scraper.
  3. 3

    Call the endpoint

    Send the GET you need and read the JSON. That is the entire integration.

What people build with it

Where the Spotify track endpoint earns its keep.

  • Find sounds while they are still climbing.
  • Measure how much content a sound has generated.
  • Build a music-trend feed for creators.

Spotify track questions

Answered before you ask.

The reference

Send one authenticated HTTPS request to the Spotify Track endpoint with either an ID or a URL and your HProxy API key. Pull a Spotify track: title, artists, album, duration, release date, popularity score and its ISRC where exposed. No proxies, no headless browser and no parsing on your side. The response is ready-to-use JSON.

This endpoint is 0.15¢ per successful call, which is $1.49 per 1,000. It bills from your HProxy balance with no subscription and no monthly minimum. Errors are retried and never charged; a lookup whose target does not exist counts as a call.

The API only accesses publicly available Spotify data, the same pages anyone can open in a browser. You are responsible for using the data in line with applicable laws and Spotify's terms for your use case.

A structured JSON object with the full track data Spotify exposes publicly. See the fields listed above. The schema is consistent across calls, so you integrate once and rely on it.

No. Every call runs on HProxy's own residential network behind the scenes, so requests look like real users. The proxy layer is already included in the per-call price.

More from Spotify

3 Spotify endpoints, one key.

The Spotify catalog

More on the Spotify Track API

What the Spotify Track endpoint returns

Pull a Spotify track: title, artists, album, duration, release date, popularity score and its ISRC where exposed. The JSON object carries title / artist, duration, videoCount and cover. Nothing is summarised away on our side, so what you read in the response is what the Spotify track page itself holds.

What you send to the Spotify Track API

The call takes either an ID or a URL, and any one of id and url satisfies it. Optional: id and url. Your key travels in the X-API-Key header, the response is JSON, and the call is billed at 0.15¢, $1.49 per 1,000.

Posts and media on other platforms

The same posts and media data is available on 13 other platforms: TikTok Song Details, Facebook Profile Reels, YouTube Channel Videos, Instagram Post, LinkedIn Company Posts, Twitter / X User Tweets, Reddit Subreddit Posts, Threads User Posts, Pinterest Pin, Twitch User Videos, Bluesky User Posts, Truth Social User Posts and Kick Clip. They share this endpoint's JSON shape, its per-call billing and your one API key, so moving from Spotify to another network is a change of URL rather than a second integration.

Is scraping Spotify track allowed?

The endpoint reads publicly available Spotify data, the same pages anyone can open in a browser without logging in. It does not touch private accounts or anything behind a password. How you then use the data is yours to keep lawful, under the rules that apply to you and to Spotify.

Ready when you are.

Your dashboard is ten seconds away. No sales call, no subscription, no minimum.