Bluesky feed inspector
Markdown versionGET/tools/feed-inspector
Inspects a Bluesky custom feed without an account: name, creator, likes, whether the AppView sees it online and valid, and its first 20 posts. `check` adds a health check of its generator. A handle or a DID lists that account's feeds. Costs 3 calls.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| feed (required) | query | string | A bsky.app feed link (`https://bsky.app/profile/<handle>/feed/<rkey>`), an `at://…/app.bsky.feed.generator/…` URI, or a handle or DID to list that account's feeds. |
| check | query | boolean, default false | Also run the health check of the feed generator. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | The tool's answer, with the canonical URL of its page. | ToolFeedInspector |
| 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 "feed=bsky.app/profile/bsky.app/feed/whats-hot" \
-H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
https://bluesky.bot/api/v1/tools/feed-inspectorSchemas
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`. |
ToolFeedInspector
| Field | Type | Description |
|---|---|---|
| tool (required) | string = "feed-inspector" | 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.mode (required) | string: "feed", "actor", "hidden" | `feed`: one feed; `actor`: the feeds of an account; `hidden`: the creator shares only with signed-in users, or a moderation label hides the account or the feed (nothing else is returned). |
| result.reason (required) | string: "no_unauthenticated", "account_label", "feed_label" | null | Why it is hidden; null otherwise. |
| result.url (required) | string | null | When hidden, the feed or the account on bsky.app; else null. |
| result.check (required) | string: "not_asked", "done", "rate_limited" | The health check: `not_asked`, `done` (see `health`), or `rate_limited` (asked, but the site-wide limit refused it: try again later). |
| result.feed (required) | object | null | The feed; null in actor mode. |
| result.isOnline (required) | boolean | null | The AppView reached the feed generator recently. |
| result.isValid (required) | boolean | null | The AppView considers the generator's answers valid. |
| result.preview (required) | object | null | What the feed serves right now, logged out. |
| result.health (required) | object | null | The health check, when asked for; null otherwise. |
| result.feeds (required) | object[] | In actor mode, the account's feeds; else empty. |
| result.feeds[].uri (required) | string | The feed's AT URI. |
| result.feeds[].displayName (required) | string | The feed's name. |
| result.feeds[].description (required) | string | The feed's description. |
| result.feeds[].likes (required) | integer | Likes of the feed. |