Analyse recent public Bluesky posts

Markdown version

GET/tools/profile-analytics

Inspect at most 200 author-feed entries and aggregate own visible non-reply posts, excluding reposts. Shows sample dates, observed likes/replies/reposts/quotes and top ten posts. No impressions, reach or follower-growth claims. Costs 3 calls.

Parameters

NameInTypeDescription
q (required)querystringPublic Bluesky handle, DID or profile link.

Responses

StatusDescriptionBody
200The tool's answer, with the canonical URL of its page.ToolProfileAnalytics
400Invalid query parameter (code `bad_request`).Error
401Unknown, expired or revoked token (code `unauthorized`). Without an `Authorization` header, the tool answers anonymously.Error
404Not found. Also returned on a bot's handle subdomain: the API is only served on the main site.Error
429Rate limited: `toolsApi` (60 a minute) and `toolsApiDaily` (2,000 a day) per IP, or 10 times both per account with a creator's token. A tool that fans out costs more than one call.Error
500Unexpected error.Error
502The service the tool asks did not answer (code `upstream_error`).Error

Example

bash
curl \
  -G \
  --data-urlencode "q=demo.bluesky.bot" \
  -H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
  https://bluesky.bot/api/v1/tools/profile-analytics

Schemas

Error

FieldTypeDescription
error (required)object
error.code (required)string: "bad_request", "invalid_handle", "not_found", "rate_limited", "internal_error", "unauthorized", "forbidden", "conflict", "invalid_grant", "upstream_error", "insufficient_scope", "invalid_listing", "consent_required"
error.message (required)string
error.reasonstringWith `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`.
error.urlstring, uriWith consent_required: open this dashboard page to grant profile editing.
error.fieldstringWith `invalid_listing`: the refused field.
error.scopestringWith `insufficient_scope`: the scope the token lacks.
error.parameterstringThe invalid query parameter.
error.retryAfterSecondsinteger (1–)With `rate_limited`.

ToolProfileAnalytics

FieldTypeDescription
tool (required)string = "profile-analytics"The tool's slug.
url (required)stringThe canonical URL of the tool's page on Bluesky.bot.
result (required)objectThe tool's answer.
result.profile (required)objectPublic profile analysed.
result.profile.did (required)stringStable public account identifier.
result.profile.handle (required)stringCurrent observed handle.
result.profile.displayName (required)string | nullPublic display name, if provided.
result.capturedAt (required)stringUTC capture time, cached for up to five minutes.
result.examined (required)integerAt most 200 feed entries examined.
result.posts (required)integerUnique own visible non-reply posts included; reposts are excluded.
result.coverage (required)string: "complete", "cap", "deadline", "unavailable", "incomplete"Whether the requested author feed ended or was limited.
result.from (required)string | nullEarliest included post date, or null.
result.until (required)string | nullLatest included post date, or null.
result.totals (required)objectSum of the included posts' public counters at capture time.
result.totals.likes (required)integerObserved likes.
result.totals.reposts (required)integerObserved reposts.
result.totals.replies (required)integerObserved replies.
result.totals.quotes (required)integerObserved quote posts.
result.interactionsPerPost (required)number(Likes + reposts + replies + quotes) / included posts, zero for an empty sample. Not a reach or engagement-rate estimate.
result.topPosts (required)object[]Up to ten included posts ordered by observed interactions.
result.topPosts[].uri (required)stringPost AT URI.
result.topPosts[].url (required)stringCanonical Bluesky post link.
result.topPosts[].text (required)stringText of the visible post, without embedded content.
result.topPosts[].createdAt (required)string | nullPost date in UTC, if valid.
result.topPosts[].counts (required)objectPublic counters on this post.
result.topPosts[].counts.likes (required)integerObserved likes.
result.topPosts[].counts.reposts (required)integerObserved reposts.
result.topPosts[].counts.replies (required)integerObserved replies.
result.topPosts[].counts.quotes (required)integerObserved quote posts.
result.topPosts[].interactions (required)integerSum of the four counters.