Skip to main content
GET
/
app.rocksky.actor.getActorNeighbours
Get neighbours for an actor
curl --request GET \
  --url https://api.rocksky.app/xrpc/app.rocksky.actor.getActorNeighbours \
  --header 'Authorization: Bearer <token>'
{
  "neighbours": [
    {
      "userId": "<string>",
      "did": "<string>",
      "handle": "<string>",
      "displayName": "<string>",
      "avatar": "<string>",
      "sharedArtistsCount": 123,
      "similarityScore": 123,
      "topSharedArtistNames": [
        "<string>"
      ],
      "topSharedArtistsDetails": [
        {
          "id": "<string>",
          "uri": "<string>",
          "name": "<string>",
          "picture": "<string>",
          "sha256": "<string>",
          "playCount": 1,
          "uniqueListeners": 1,
          "tags": [
            "<string>"
          ]
        }
      ]
    }
  ]
}

Documentation Index

Fetch the complete documentation index at: https://docs.rocksky.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

did
string<at-identifier>
required

The DID or handle of the actor

Response

OK

neighbours
object[]