Skip to content
Scrappa Get API key
Genius API 1 credit/request

Genius Referents Multi API Documentation

GET https://scrappa.co/api/genius/referents/multi

Get up to 20 referents by id in one call. The annotated lyric line is not returned.

Genius Referents Multi API Documentation 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/genius/referents/multi
Auth header
x-api-key
Cost
1 credit/request
ids = example
Response preview
200 OK
{
    "data": {
        "referents": [
            {
                "id": 35874550,
                "url": "https://genius.com/35874550",
                "song_id": 3039923,
                "annotations": [
                    {
                        "id": 35874550,
                        "body": {
                            "plain": "Kendrick describes a single decisive move."
                        },
                        "verified": false,
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

ids string Required

Comma separated referent ids, up to 20. Example: 35874550,18522490.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "referents": [
            {
                "id": 35874550,
                "url": "https://genius.com/35874550",
                "song_id": 3039923,
                "annotations": [
                    {
                        "id": 35874550,
                        "body": {
                            "plain": "Kendrick describes a single decisive move."
                        },
                        "verified": false,
                        "votes_total": 12
                    }
                ],
                "classification": "accepted"
            }
        ]
    },
    "meta": {
        "billable": true,
        "proxy_tier": "mobile-proxies",
        "technology": "http",
        "endpoint_family": "referents_multi"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

Genius has no resource for this id or path. This response is not billable.

{
    "meta": {
        "billable": false,
        "retryable": false
    },
    "error": {
        "code": "NOT_FOUND",
        "message": "The requested Genius resource was not found."
    },
    "success": false
}
422

Validation Error

A parameter is missing or invalid. No upstream request is made. This response is not billable.

{
    "errors": {
        "id": [
            "The id field is required."
        ]
    },
    "message": "The request validation failed"
}
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.

{
    "meta": {
        "billable": false,
        "retryable": true
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "Genius is temporarily unavailable. Please retry."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.