# Genius Song Recommendations API Documentation

<p>Get the songs that Genius recommends next to a song, with the number of readers they share.</p>

- **Documentation:** [https://scrappa.co/docs/genius-api/genius_song_recommendations](https://scrappa.co/docs/genius-api/genius_song_recommendations)
- **API group:** Genius API
- **Endpoint:** `GET https://scrappa.co/api/genius/song/recommendations`

## 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` | integer | Yes | Genius song id. Example: 3039923. |

## Example response

```json
{
    "data": {
        "song_recommendations": {
            "recommendations": [
                {
                    "recommended_song": {
                        "id": 3039923,
                        "url": "https://genius.com/Kendrick-lamar-humble-lyrics",
                        "stats": {
                            "pageviews": 12358095
                        },
                        "title": "HUMBLE.",
                        "full_title": "HUMBLE. by Kendrick Lamar",
                        "lyrics_url": "https://genius.com/Kendrick-lamar-humble-lyrics",
                        "artist_names": "Kendrick Lamar",
                        "lyrics_state": "complete",
                        "annotation_count": 21,
                        "song_art_image_url": "https://images.genius.com/483306c535608c27f9e3781b854dc91d.1000x1000x1.png",
                        "release_date_for_display": "March 30, 2017"
                    },
                    "unique_common_viewers": 602
                }
            ]
        }
    },
    "meta": {
        "billable": true,
        "proxy_tier": "mobile-proxies",
        "technology": "http",
        "endpoint_family": "song_recommendations"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | Genius has no resource for this id or path. This response is not billable. |
| 422 | Validation Error | A parameter is missing or invalid. No upstream request is made. This response is not billable. |
| 503 | Genius Temporarily Unavailable | Genius did not answer in time or the request was blocked. Retry after a short pause. This response is not billable. |

## 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)
