ScrapeCreatorsSpotifySocial

Spotify track by id or URL — album, duration

scrapecreators.x.v1-spotify-track

Retrieves detailed information about a Spotify track by its id or URL, including track metadata, artists, album info, duration, playability, and sharing details.

Price
$0.00188/callPelo preço do provedor
Success rate
100%Last 30 days · 57 calls
Latency p50
1.6 sp95 4 s
Last verified
—Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-track?id=1ITJflybJsfarsUtiBvkfKPreview
Try onlineEm breveProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parâmetros

ParâmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
idstringOpcionalSpotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead.1ITJflybJsfarsUtiBvkfK
urlstringOpcionalSpotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead.https://open.spotify.com/track/1ITJflybJsfarsUtiBvkfK
  • Parâmetros de consulta
  • idstringOpcional

    Spotify track id. If you'd prefer to use the URL instead, you can use the url parameter instead.

    Exemplo: 1ITJflybJsfarsUtiBvkfK

  • urlstringOpcional

    Spotify song URL. If you'd prefer to use the id instead, you can use the id parameter instead.

    Exemplo: https://open.spotify.com/track/1ITJflybJsfarsUtiBvkfK

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v1-spotify-track?id=1ITJflybJsfarsUtiBvkfK' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.00188/call, incluindo a taxa de serviço.