Bluesky Profile Info
Structured Bluesky data: send handles. Single lookup, 1 credit per successful call.
GET · POST1 credit / successful callSingle lookup
Overview
Section titled “Overview”Call GET /api/v2/bluesky-profile-info/ with handles. The results are in data.profile. 8 optional parameters refine the call (see Parameters).
Request
Section titled “Request”curl -G "https://api.scrapier.io/api/v2/bluesky-profile-info/" \ -H "X-API-Key: YOUR_API_KEY" \ --data-urlencode "handles=bsky.app" \ --max-time 210const params = new URLSearchParams({ handles: "bsky.app" });
const res = await fetch(`https://api.scrapier.io/api/v2/bluesky-profile-info/?${params}`, { headers: { "X-API-Key": "YOUR_API_KEY" }, signal: AbortSignal.timeout(210_000),});const body = await res.json();if (!res.ok) throw new Error(body.error ?? body.detail ?? `HTTP ${res.status}`);
console.log(body.data.profile);import requests
resp = requests.get( "https://api.scrapier.io/api/v2/bluesky-profile-info/", headers={"X-API-Key": "YOUR_API_KEY"}, params={"handles": "bsky.app"}, timeout=210,)body = resp.json()if not resp.ok: raise RuntimeError(body.get("error") or body.get("detail"))
print(body["data"]["profile"])curl -X POST "https://api.scrapier.io/api/v2/bluesky-profile-info/" \ -H "X-API-Key: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"handles":"bsky.app"}' \ --max-time 210Parameters
Section titled “Parameters”| Name | Type | Required | Default | Description |
|---|---|---|---|---|
X-API-Key header | string | yes | — | Your API key from the dashboard. |
handles | string | yes | e.g. bsky.app | The Bluesky account: a handle ("espn.com", "@espn.com"), a profile URL (https://bsky.app/profile/espn.com, any host with the /profile/<actor> path), a DID ("did:plc:..", "did:web:..") or an at:// URI -> ONE profile record (did, handle, display_name, bio, avatar_url, banner, verified, followers, following, posts_count, likes_count, joined_at, labels, associated / verification blocks) + computed{engagement_rate, language, content_category, estimated_reach}. Single lookup: next_cursor is always null. An unknown / deactivated / taken-down account answers a status record (not_found | account_deactivated | account_takedown | invalid_input). |
cursor | string | no | — | Pagination cursor returned in the previous response's next_cursor. Pass it back unchanged to fetch the next page. When next_cursor is null, you have reached the last page. |
compute_metrics | boolean | no | true | true (default) = sample the latest feed_sample original posts for computed.language / engagement_rate / content_category and resolve the amplifiers of the newest reach_sample posts for computed.estimated_reach. false = profile only (1 request; engagement_rate / estimated_reach null, language and category from the bio).locked in cursor |
feed_sample | integer | no | 30 | Original posts sampled for the computed block (1..100, default 30). locked in cursor |
reach_sample | integer | no | 5 | Newest sampled posts whose reposters / quoters are resolved for estimated_reach. Capped at 5 so the call fits the timeout; 0 = skip. locked in cursor |
amplifier_pages | integer | no | 1 | Pages of 100 reposters / quoters read per sampled post before extrapolating. Capped at 1. locked in cursor |
count_likes | boolean | no | true | true (default) = walk the post history (100 posts a call) and sum likeCount -> likes_count (likes received). false = likes_count null. locked in cursor |
likes_max_posts | integer | no | 1000 | Cap on the likes walk. Capped at 1000 (= 10 calls): past it likes_count is a lower bound (stats.likes_count_complete false + warning). locked in cursor |
page_fallback | boolean | no | true | true (default) = bsky.app og-meta partial profile when the AppView is unreachable; false = status fetch_failed. locked in cursor |
Advanced
| Name | Type | Default | Description |
|---|---|---|---|
use_proxy | boolean | true | Route the request through Scrapier's residential proxy pool. Default: true. Leave as is unless support tells you otherwise. |
raw_data | boolean | false | When true, the response carries the full raw upstream payload(s) the scraper received (GraphQL / JSON API bodies, HTML, embedded JSON-LD -- exactly as the platform returned them) under raw_responses, in place of the formatted items. When false (default) you get the formatted output. Pagination (cursor / next_cursor) works the same in both modes. |
Response
Section titled “Response”{ "success": true, "data": { "handles": "espn.com", "profile": { "input_handle": "espn.com", "handle": "espn.com", "did": "did:plc:x7d6j54pm22ufehkes6jo4jf", "status": "ok", "note": null, "http_status": 200, "id": "did:plc:x7d6j54pm22ufehkes6jo4jf", "username": "espn.com", "display_name": "ESPN", "avatar_url": "https://cdn.bsky.app/img/avatar/plain/did:plc:x7d6j54pm22ufehkes6jo4jf/bafkreie4oxawqqsfzvk47ysr3unsnmviedzpylxmwxnpa534to2bzas4ie", "bio": "Serving sports fans. Anytime. Anywhere.", "verified": true, "followers": 296582, "following": 32, "posts_count": 872, "likes_count": 220484, "url": "https://bsky.app/profile/espn.com", "joined_at": "2024-11-25", "associated": { "lists": 0, "feedgens": 0, "starter_packs": 0, "labeler": false, "activity_subscription": { "allow_subscriptions": "followers" } }, "labels": [], "verification": { "verifications": [ { "issuer": "did:plc:z72i7hdynmk6r22z27h6tvur", "issuer_display_name": "Bluesky", "issuer_handle": "bsky.app", "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.verification/3lndppjqgb72f", "is_valid": true, "created_at": "2025-04-21T10:44:20.398Z" } ], "verified_status": "valid", "trusted_verifier_status": "none" }, "indexed_at": "2024-12-19T20:49:48.843Z", "computed": { "engagement_rate": 0.0512, "language": "en", "content_category": "sports", "estimated_reach": 438639 }, "partial": false, "warnings": [], "stats": { "requests": 28, "retries": 0, "api_calls": 28, "page_loads": 0, "proxy": true, "source": "api", "posts_sampled": 30, "feed_sample": 30, "reach_posts_sampled": 5, "amplifiers_resolved": 174, "likes_posts_scanned": 872, "likes_count_complete": true, "language_source": "post_text+langs", "category_keywords": [ "espn", "sports" ] }, "duration_ms": 17756, "scraped_at": "2026-09-22T08:31:44.102Z" }, "next_cursor": null }}Bad input. The exact message varies by endpoint.
{ "success": false, "error": "…"}Balance below the endpoint’s price.
{ "error": "Insufficient credits. Buy more to scrape more.", "balance": 1, "required": 2}Invalid or unknown API key.
{ "detail": "Authentication service unavailable or invalid API key."}Throttled — wait for Retry-After.
{ "detail": "Request was throttled. Expected available in N seconds."}Sample from the live catalog; arrays trimmed to 3 items. Results are in data.profile.
Response fields
Section titled “Response fields”| Field | Type | Example | Description |
|---|---|---|---|
handles | string | espn.com | — |
profile | object | {…} | The results. |
next_cursor | null | null | Pass back as cursor for the next page. null on the last page. |
profile.input_handle | string | espn.com | — |
profile.handle | string | espn.com | — |
profile.did | string | did:plc:x7d6j54pm22ufehkes6jo4jf | — |
profile.status | string | ok | — |
profile.note | null | null | — |
profile.http_status | integer | 200 | — |
profile.id | string | did:plc:x7d6j54pm22ufehkes6jo4jf | — |
profile.username | string | espn.com | — |
profile.display_name | string | ESPN | — |
profile.avatar_url | string | https://cdn.bsky.app/img/avatar/plain/did:plc… | — |
profile.bio | string | Serving sports fans. Anytime. Anywhere. | — |
profile.verified | boolean | true | — |
profile.followers | integer | 296582 | — |
profile.following | integer | 32 | — |
profile.posts_count | integer | 872 | — |
profile.likes_count | integer | 220484 | — |
profile.url | string | https://bsky.app/profile/espn.com | — |
profile.joined_at | string | 2024-11-25 | — |
profile.associated | object | {…} | — |
profile.labels | array | [] | — |
profile.verification | object | {…} | — |
profile.indexed_at | string | 2024-12-19T20:49:48.843Z | — |
profile.computed | object | {…} | — |
profile.partial | boolean | false | — |
profile.warnings | array | [] | — |
profile.stats | object | {…} | — |
profile.duration_ms | integer | 17756 | — |
profile.scraped_at | string | 2026-09-22T08:31:44.102Z | — |
Pagination
Section titled “Pagination”Returns everything in one call; next_cursor is always null.
Errors
Section titled “Errors”Failed calls are free. Branch on the HTTP status and read the message from error (or detail). Full details in Errors.
| Status | Meaning | Retry? | Charged? |
|---|---|---|---|
400 | Bad or missing input. | No — fix the params | No |
401 / 403 | Missing, invalid or revoked API key. | No — fix the key | No |
402 | Out of credits (body has balance). | No — top up | No |
404 | Unknown endpoint slug. | No — check the slug | No |
429 / 503 | Busy or throttled. | Yes — after Retry-After | No |
5xx | Target site or upstream failure, or timeout. | Yes — with backoff | No |
- Nothing special: send the inputs, read the result.
Related
Section titled “Related”- Bluesky Single Posts — Structured Bluesky data: send
urls. Cursor-paginated, 1 credit per successful call. - Bluesky User Posts — Structured Bluesky data: send
handles. Cursor-paginated, 1 credit per successful call.