# SoundCloud Track

A single SoundCloud track: title, artwork, duration, playback and like counters, genre, tags, release date, publisher metadata, monetization model and streamability metadata such as durations, formats and the progressive flag. Upstream media metadata is passed through as published text: media.transcodings keeps its formats, durations and progressive flags. Streaming URL values that would point at our own internal upstream host are removed, because publishing them would expose internal infrastructure. Nothing is ever fetched on your behalf: no media body, stream or audio byte is retrieved, proxied or cached for you.

- **Documentation:** [https://scrappa.co/docs/soundcloud-api/soundcloud_track](https://scrappa.co/docs/soundcloud-api/soundcloud_track)
- **API group:** SoundCloud API
- **Endpoint:** `GET https://scrappa.co/api/soundcloud/tracks`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | SoundCloud numeric track id, e.g. 1000000000. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/soundcloud/tracks?id=1000000000"
```

## Example response

```json
{
    "search_parameters": {
        "engine": "soundcloud_track",
        "id": "1000000000"
    },
    "track": {
        "id": 1000000000,
        "title": "Night Drive",
        "duration": 214000,
        "playback_count": 48000,
        "likes_count": 3200,
        "genre": "Electronic",
        "permalink_url": "https://soundcloud.com/artist/night-drive"
    },
    "pagination": []
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter is missing or a parameter failed validation. |
| 404 | SoundCloud Not Found | The requested SoundCloud object does not exist. |
| 503 | SoundCloud Upstream Unavailable | SoundCloud could not be reached within the full attempt budget. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
