Get an account’s profile
A Bluesky account’s profile: handle, display name, bio, avatar and banner, follower, following and post counts, verification, pinned post and how many lists, feeds and starter packs it made. Send user for one account or users for up to 25 at once. A single account that does not exist, or that Bluesky removed, is a 404; in a batch it is left out with a note. 1 credit, one account or 25.
/user-profile Accounts https://api.fetchlayer.dev/bluesky/user-profile Headers
Authorization string required Bearer token — your FetchLayer API key.
Parameters
user string optional 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. Send user or users, not both.
users string[] optional Up to 25 accounts at once, in any of the forms user takes.
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
user-profile
Get an account’s profile
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.
profile object | undefined For one account: the profile.
profile.did string The account id. It stays the same when the handle changes; every tool that takes user accepts it.
profile.handle string The handle, such as bsky.app.
profile.displayName string | null The display name.
profile.avatarUrl string | null The avatar image.
profile.url string Link to the profile.
profile.isVerified boolean Whether the account shows Bluesky’s verification badge.
profile.labels string[] Moderation and self-applied labels on the account, such as bot.
profile.loggedOutVisibility string public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise.
profile.createdAt string | null When the account was created (ISO 8601).
profile.description string | null The bio.
profile.bannerUrl string | null The banner image.
profile.followersCount number | null Followers, as Bluesky counts them.
profile.followsCount number | null Accounts it follows.
profile.postsCount number | null Posts.
profile.listsCount number | null Lists it made.
profile.feedsCount number | null Custom feeds it made.
profile.starterPacksCount number | null Starter packs it made.
profile.isLabeler boolean Whether the account runs a labelling service.
profile.pinnedPostUri string | null The pinned post’s at:// address.
profile.isTrustedVerifier boolean Whether Bluesky trusts the account to verify others.
profiles object[] Every profile returned, in the same shape (one entry for a single account).
Request
curl -X POST "https://api.fetchlayer.dev/bluesky/user-profile" \
-H "Authorization: Bearer ss-your-key" \
-H "Content-Type: application/json" \
-d '{"user":"bsky.app"}'Response
{
"transport": "bluesky",
"notes": [],
"excludedCount": 0,
"profiles": [
{
"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",
"description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
"bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
"followersCount": 35844833,
"followsCount": 44,
"postsCount": 928,
"listsCount": 26,
"feedsCount": 7,
"starterPacksCount": 23,
"isLabeler": false,
"pinnedPostUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
"isTrustedVerifier": true
}
],
"profile": {
"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",
"description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
"bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
"followersCount": 35844833,
"followsCount": 44,
"postsCount": 928,
"listsCount": 26,
"feedsCount": 7,
"starterPacksCount": 23,
"isLabeler": false,
"pinnedPostUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
"isTrustedVerifier": true
}
}