Bluesky profile
Beta GET /v1/bluesky/profile
GET /v1/bluesky/profile
Bluesky profile.
- Cost: 1 credit
- Status: Beta. Built and tested against recorded responses; the shape may still gain fields.
- Cache: Results are kept up to 30 days; send
max_age_daysto reuse them for free. - Timeout: A request still running after about 25 seconds answers
202with a job to poll (Batch and jobs).
Parameters#
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | yes | Handle (alice.bsky.social) or DID (did:plc:...). Also accepted as username. |
Every request also accepts:
trim:truefor a smaller response withoutnullfields andextra.raw:trueto also get the platform's original object asraw.max_age_days: accept a cached result up to this many days old, for 0 credits (Caching).
Example request#
Set your key in the environment first (see Authentication).
curl
curl -G "https://api.socialscrape.io/v1/bluesky/profile" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode "handle=bsky.app"Python
import os
import requests
params = {
"handle": "bsky.app",
}
res = requests.get(
"https://api.socialscrape.io/v1/bluesky/profile",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])TypeScript
const url = new URL("https://api.socialscrape.io/v1/bluesky/profile");
url.search = new URLSearchParams({
"handle": "bsky.app"
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}n8n
{
"nodes": [
{
"name": "SocialScrape Bluesky profile",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/bluesky/profile",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "handle",
"value": "bsky.app"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Example response#
This is a sample from a recorded response, email addresses are replaced with [email protected]. Status 200.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_05f7500f90e3d6adce09a3e3",
"data": {
"object": "profile",
"platform": "bluesky",
"id": "did:plc:z72i7hdynmk6r22z27h6tvur",
"handle": "bsky.app",
"name": "Bluesky",
"headline": null,
"url": "https://bsky.app/profile/bsky.app",
"kind": "person",
"bio": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: [email protected]",
"avatar_url": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
"banner_url": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
"verified": false,
"is_private": null,
"external_url": null,
"links": null,
"location": null,
"category": null,
"created_at": "2023-04-12T04:53:57.057000Z",
"stats": {
"followers": 35443566,
"following": 32,
"posts": 901,
"likes": null,
"views": null
},
"extra": {
"associated": {
"activitySubscription": {
"allowSubscriptions": "followers"
},
"chat": {
"allowIncoming": "none"
},
"feedgens": 7,
"labeler": false,
"lists": 18,
"starterPacks": 15
},
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"indexed_at": "2025-10-27T21:05:26.152Z",
"pinned_post_uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
"status": {
"cid": "bafyreihkojqw7p22odgjcbzjh5sh4vrntow24sd4nvntpqnddrd5pqma44",
"embed": {
"$type": "app.bsky.embed.external#view",
"external": {
"description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
"thumb": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny",
"title": "e.w. niedermeyer is live on Streamplace",
"uri": "https://stream.place/niedermeyer.online"
}
},
"expiresAt": "2026-10-20T17:00:37.680Z",
"isActive": false,
"labels": [],
"record": {
"$type": "app.bsky.actor.status",
"createdAt": "2026-10-20T16:00:37.680Z",
"durationMinutes": 60,
"embed": {
"$type": "app.bsky.embed.external",
"external": {
"$type": "app.bsky.embed.external#external",
"description": "Elon Take The Wheel Livestream: Alex Gibney, Director of \"MUSK\"",
"thumb": {
"$type": "blob",
"mimeType": "image/jpeg",
"ref": {
"$link": "bafkreifbiu2m3dnnhmzq4dk6u4227p3xuq3zzqhhzvibhuojnz6unengny"
},
"size": 195438
},
"title": "e.w. niedermeyer is live on Streamplace",
"uri": "https://stream.place/niedermeyer.online"
}
},
"status": "app.bsky.actor.status#live"
},
"status": "app.bsky.actor.status#live",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.actor.status/self"
},
"verification": {
"trustedVerifierStatus": "valid",
"verifications": [],
"verifiedStatus": "none"
}
}
},
"cursor": null,
"has_more": null
}Response#
A Profile object in data.
See Data models for every field. The envelope around data is described in Responses.
Errors#
Failures are free: credits_charged is 0. Branch on error.code, never on the message.
| Code | HTTP | Retry | Meaning |
|---|---|---|---|
invalid_params | 400 | no | A parameter is missing, unknown or has the wrong type. |
not_found | 404 | no | The platform says this profile, post or item does not exist. |
Every request can also fail with the account and platform errors listed on the Errors page.
Example error:
{
"ok": false,
"error": {
"code": "not_found",
"message": "The platform says this profile, post or item does not exist.",
"retryable": false
},
"credits_charged": 0,
"request_id": "req_5981ca1c045ada67b4d03451"
}Related endpoints#
- Bluesky profile posts (
GET /v1/bluesky/profile/posts) - Bluesky post (
GET /v1/bluesky/post)