Analyse recent public Bluesky posts
Markdown versionGET/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
| Name | In | Type | Description |
|---|---|---|---|
| q (required) | query | string | Public Bluesky handle, DID or profile link. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | The tool's answer, with the canonical URL of its page. | ToolProfileAnalytics |
| 400 | Invalid query parameter (code `bad_request`). | Error |
| 401 | Unknown, expired or revoked token (code `unauthorized`). Without an `Authorization` header, the tool answers anonymously. | Error |
| 404 | Not found. Also returned on a bot's handle subdomain: the API is only served on the main site. | Error |
| 429 | Rate 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 |
| 500 | Unexpected error. | Error |
| 502 | The service the tool asks did not answer (code `upstream_error`). | Error |
Example
curl \
-G \
--data-urlencode "q=demo.bluesky.bot" \
-H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
https://bluesky.bot/api/v1/tools/profile-analyticsSchemas
Error
| Field | Type | Description |
|---|---|---|
| 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.reason | string | With `invalid_handle`, `invalid_listing`, `conflict` and `forbidden`: e.g. `reserved`, `taken`, `too_long`, `no_handle`, `suspended`. |
| error.url | string, uri | With consent_required: open this dashboard page to grant profile editing. |
| error.field | string | With `invalid_listing`: the refused field. |
| error.scope | string | With `insufficient_scope`: the scope the token lacks. |
| error.parameter | string | The invalid query parameter. |
| error.retryAfterSeconds | integer (1–) | With `rate_limited`. |
ToolProfileAnalytics
| Field | Type | Description |
|---|---|---|
| tool (required) | string = "profile-analytics" | The tool's slug. |
| url (required) | string | The canonical URL of the tool's page on Bluesky.bot. |
| result (required) | object | The tool's answer. |
| result.profile (required) | object | Public profile analysed. |
| result.profile.did (required) | string | Stable public account identifier. |
| result.profile.handle (required) | string | Current observed handle. |
| result.profile.displayName (required) | string | null | Public display name, if provided. |
| result.capturedAt (required) | string | UTC capture time, cached for up to five minutes. |
| result.examined (required) | integer | At most 200 feed entries examined. |
| result.posts (required) | integer | Unique 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 | null | Earliest included post date, or null. |
| result.until (required) | string | null | Latest included post date, or null. |
| result.totals (required) | object | Sum of the included posts' public counters at capture time. |
| result.totals.likes (required) | integer | Observed likes. |
| result.totals.reposts (required) | integer | Observed reposts. |
| result.totals.replies (required) | integer | Observed replies. |
| result.totals.quotes (required) | integer | Observed 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) | string | Post AT URI. |
| result.topPosts[].url (required) | string | Canonical Bluesky post link. |
| result.topPosts[].text (required) | string | Text of the visible post, without embedded content. |
| result.topPosts[].createdAt (required) | string | null | Post date in UTC, if valid. |
| result.topPosts[].counts (required) | object | Public counters on this post. |
| result.topPosts[].counts.likes (required) | integer | Observed likes. |
| result.topPosts[].counts.reposts (required) | integer | Observed reposts. |
| result.topPosts[].counts.replies (required) | integer | Observed replies. |
| result.topPosts[].counts.quotes (required) | integer | Observed quote posts. |
| result.topPosts[].interactions (required) | integer | Sum of the four counters. |