app.bsky.graph.get Relationships
GET {{baseUrl}}/xrpc/app.bsky.graph.getRelationships?actor=<at-identifier>&others=<at-identifier>&others=<at-identifier>
This endpoint is part of the Bluesky application Lexicon APIs (`app.bsky.`). Public endpoints which don't require authentication can be made directly against the public Bluesky AppView API: https://public.api.bsky.app. Authenticated requests are usually made to the user's PDS, with automatic service proxying. Authenticated requests can be used for both public and non-public endpoints.*
To learn more about calling atproto API endpoints like this one, see the API Hosts and Auth guide.
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
actor | string | (Required) Primary account requesting relationships for. | |
others | string | List of 'other' accounts to be related back to the primary. | |
others | string | List of 'other' accounts to be related back to the primary. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"relationships":[{"did":"\u003cdid\u003e","following":"\u003cat-uri\u003e","followedBy":"\u003cat-uri\u003e"},{"did":"\u003cdid\u003e","following":"\u003cat-uri\u003e","followedBy":"\u003cat-uri\u003e"}],"actor":"\u003cdid\u003e"}