API reference
Markdown versionNeed the DID of an account for an API call? Get it with the DID finder. Tools with a server interface are documented in Tools API and MCP server; local file tools stay in the browser.
The public endpoints are read-only, without authentication, and rate limited per IP. The `/me/*` endpoints are for the `bsbot` command-line tool: they need a token (`Authorization: Bearer`), which `bsbot login` gets through the browser (`POST /cli/token`). They send no CORS headers. Served only on the main site, never on a bot's handle subdomain. Versioning: the major version is in the path (`/api/v1`); v1 keeps the wire contract backward compatible (new endpoints, new optional fields or parameters). A breaking change ships as `/api/v2`, and v1 then keeps working for at least 6 months, announced with `Deprecation` and `Sunset` headers. See docs/api.md. The per-bot capability endpoint is an exception: it requires an explicitly granted, bot-bound tools token. Publication eligibility is a business rule: publishing requires a nonblank description. Clearing a listed description requires unlisting in the same patch; violations use the existing invalid_listing response with field description and reason required_for_listing. Unrelated legacy partial updates remain allowed.
Use Bluesky.bot from an AI agent
Webhook events and signature verification- Base URL
- https://bluesky.bot/api/v1
- Version
- 1.0.0
Endpoints
- Is a handle free to claim?
GET/handles/{name}/availability
- The DID behind a claimed handle
GET/resolve/{handle}
- Bots listed in the directory
GET/bots
- One bot listed in the directory
GET/bots/{handle}
- Trade a CLI sign-in code for a token
POST/cli/token
- The account behind the token
GET/me
- Your bots
GET/me/bots
- Claim a handle for one of your bots, and switch to it
POST/me/bots/{did}/claim
- Ask the bot's PDS again to use its claimed handle
POST/me/bots/{did}/switch
- Check whether the claimed handle is live on Bluesky
POST/me/bots/{did}/verify
- Release a bot's handle
POST/me/bots/{did}/release
- Check a bot's disclosure and setup
GET/me/bots/{did}/doctor
- Set the bot's Automation label
POST/me/bots/{did}/automation-label
- A bot's directory listing
GET/me/bots/{did}/listing
- Update a bot's directory listing
PATCH/me/bots/{did}/listing
- Revoke the token of this request
DELETE/me/token
- Read a granted bot capability
GET/me/bots/{did}/capabilities/{capability}
- Check current Bluesky follow backs
GET/tools/follow-back-checker
- Analyse recent public Bluesky posts
GET/tools/profile-analytics
- Build an advanced Bluesky search
GET/tools/search-builder
- Bluesky declared bot signals
GET/tools/bot-checker
- Bluesky DID finder
GET/tools/did-finder
- Bluesky handle finder (DID to handle)
GET/tools/handle-finder
- Bluesky whois
GET/tools/whois
- Bluesky account age checker
GET/tools/account-age
- AT URI and bsky.app link converter
GET/tools/at-uri-converter
- AT Protocol TID decoder
GET/tools/tid-decoder
- Bluesky post character counter
GET/tools/character-counter
- Bluesky rich text facet builder
GET/tools/facet-builder
- Bluesky custom domain handle checker
GET/tools/custom-handle-checker
- Bluesky handle availability checker
GET/tools/handle-availability
- PLC history of a Bluesky identity
GET/tools/plc-history
- Bluesky starter pack analyser
GET/tools/starter-pack-analyser
- Bluesky post and thread viewer
GET/tools/post-viewer
- Bluesky feed inspector
GET/tools/feed-inspector
- Bluesky label inspector
GET/tools/label-inspector
- Preview Bluesky followers or following
GET/tools/follower-export
- AT Protocol repository explorer
GET/tools/repo-explorer