Skip to Content

Profile

An account with its follower and post counts.

GET
/v1/bluesky/profile

Authorization

apiKey
headerAuthorizationBearer <token>

An API key from the dashboard: Authorization: Bearer sapi_….

Query Parameters

handle?string

The account's handle (bsky.app) or DID.

url?string

The profile's link (https://bsky.app/profile/bsky.app), instead of handle.

maxAge?integer

How old a cached answer may be, in seconds; 0 always fetches. Default and most: the endpoint's cache lifetime.

Formatint64
Range0 <= value

Response Body

The answer.

application/json
  1. response

One item, as every single-item endpoint answers: { "data": … }.

data*

A Bluesky account.

Example Request
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"    }  }}