PeumeAPI

Social media data · Spotify

Spotify Track

Fetch a Spotify track's play count, popularity, duration, and album details by track URL or ID.

$0.0018 per call

Call it

curl https://api.peume.com/v1/call/spotify-track \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "route": "giraffe",
    "id": "your id"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: spotify-track.

Parameters

routestring

Upstream source to run on; omit for "giraffe". giraffe ($0.0012 per call, 99.8% uptime).

giraffe

idstring

Spotify track ID (alternative to url).

urlstring

Spotify track URL (e.g. https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT).

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.