# SoundCloud Resolve

Resolve a SoundCloud permalink (track, playlist, user or curated selection) into the matching typed object plus the client-side kind of the URL.

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

## 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 |
| --- | --- | --- | --- |
| `url` | string | Yes | SoundCloud URL to resolve (q is accepted as an alias). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/soundcloud/resolve?url=https%3A%2F%2Fsoundcloud.com%2Fartist%2Fnight-drive"
```

## Example response

```json
{
    "search_parameters": {
        "engine": "soundcloud_resolve",
        "url": "https://soundcloud.com/artist/night-drive"
    },
    "resolved": {
        "kind": "track",
        "id": 1000000000,
        "permalink_url": "https://soundcloud.com/artist/night-drive",
        "title": "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)
