Bluesky List API: A List and Its Members

Read a list and its members

A list’s name, purpose (curation, moderation or reference), description, member count and creator, with its members (up to 1000 a request, with nextCursor for more); or, with user, the lists an account made (up to 100). Send list or user, not both. 1 credit per 100 returned, minimum 1. members; an account’s lists are 1 credit.

POST /list-detail Feeds, lists & starter packs
https://api.fetchlayer.dev/bluesky/list-detail
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

list string optional

One list: its bsky.app link (https://bsky.app/profile/<account>/lists/<id>) or at:// address.

user string optional

Or an account, to list the lists it made. An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does.

limit integer optional

How many members (at most 100 lists with user) to return, 1-1000. Each 100 returned is 1 credit, minimum 1. (default: 100)

cursor string optional

Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400.

excludeOptedOut boolean optional

Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written. (default: false)

format string optional

json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON. (default: json)

timeoutMs integer optional

Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running.

Response Fields

list-detail

Read a list and its members

transport string

The data source: always the platform id, "bluesky".

notes string[]

Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none.

excludedCount number

How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag.

list object | null

The list: { name, purpose, description, memberCount, creator }.

memberCount number

How many members are in this response. The price is set from it.

members object[]

The members, as accounts.

listCount number

With user: how many lists are in this response.

lists object[]

With user: the lists the account made.

hasMore boolean

true when more members exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so.

nextCursor string | null

An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters.

Request

curl -X POST "https://api.fetchlayer.dev/bluesky/list-detail" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"list":"at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26","limit":5}'

Response

{
  "transport": "bluesky",
  "notes": [],
  "excludedCount": 0,
  "list": {
    "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26",
    "url": "https://bsky.app/profile/bsky.app/lists/3lvpca43j5z26",
    "name": "Community Showcase",
    "purpose": "curation",
    "description": "Community projects built on the Bluesky API ✨",
    "avatarUrl": null,
    "memberCount": 21,
    "creator": {
      "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
      "handle": "bsky.app",
      "displayName": "Bluesky",
      "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
      "url": "https://bsky.app/profile/bsky.app",
      "isVerified": false,
      "labels": [],
      "loggedOutVisibility": "public",
      "createdAt": "2023-04-12T04:53:57.057Z"
    }
  },
  "memberCount": 5,
  "members": [
    {
      "did": "did:plc:example13",
      "handle": "example13.bsky.social",
      "displayName": "Example account 13",
      "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
      "url": "https://bsky.app/profile/example13.bsky.social",
      "isVerified": false,
      "labels": [],
      "loggedOutVisibility": "public",
      "createdAt": "2024-05-01T12:00:00.000Z"
    }
  ],
  "listCount": 0,
  "lists": [],
  "nextCursor": "eyJ2IjoxLCJrIjoibGlzdC1kZXRhaWwiLCJz…",
  "hasMore": true
}
Product overview Bluesky API: what it returns, pricing and use cases