Profile
An account with its follower and post counts.
GET
apiKeyheader
AuthorizationBearer <token>An API key from the dashboard: Authorization: Bearer sapi_….
handle?stringThe account's handle (bsky.app) or DID.
url?stringThe profile's link (https://bsky.app/profile/bsky.app), instead of handle.
maxAge?integerHow old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.
Format
int64Range
0 <= valueThe answer.
application/json- response
One item, as every single-item endpoint answers: { "data": … }.
data*A Bluesky account.
import { SocialAPI } from "@socialapihq/sdk";const client = new SocialAPI({ apiKey: process.env.SOCIALAPI_API_KEY });const { data } = await client.bluesky.profile({ handle: "bsky.app" });Example Response
{ "data": { "id": "did:plc:z72i7hdynmk6r22z27h6tvur", "username": "bsky.app", "displayName": "Bluesky", "bio": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app", "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka", "url": "https://bsky.app/profile/bsky.app", "verified": false, "private": false, "followers": 35847780, "following": 44, "likes": null, "posts": 928, "externalUrl": null, "createdAt": "2023-04-12T04:53:57.057Z", "ext": { "bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna", "pronouns": null, "pinnedPost": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l", "lists": 26, "feeds": 7, "starterPacks": 23, "trustedVerifier": true, "labeler": false, "liveUrl": null, "labels": [], "indexedAt": "2026-11-04T15:41:10.973Z" } }}