Bluesky account age checker
Markdown versionGET/tools/account-age
When a Bluesky account joined: the date its DID was created in the PLC directory (or the profile's date for a did:web), its age and its next Bluesky birthday.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| actor (required) | query | string | A handle, a DID, an `at://` URI or a bsky.app link. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | The tool's answer, with the canonical URL of its page. | ToolAccountAge |
| 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 "actor=bsky.app" \
-H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
https://bluesky.bot/api/v1/tools/account-ageSchemas
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`. |
ToolAccountAge
| Field | Type | Description |
|---|---|---|
| tool (required) | string = "account-age" | 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.did (required) | string | The DID. |
| result.handle (required) | string | null | A handle that verifies for this DID (the one asked when it verifies), or null. |
| result.inputHandle (required) | string | null | The handle that was asked, verified or not; null for a DID. |
| result.handleStatus (required) | string: "verified", "not_verified", "unchecked", "none" | Whether the handle asked verifies both ways. With `not_verified` or `unchecked`, the answer is about the DID it points to, not about that handle; `none` when a DID was asked. |
| result.joinedAt (required) | string | null | When the account joined (ISO 8601), or null. |
| result.source (required) | string: "plc", "profile" | null | Where the date comes from: `plc`, the PLC directory's first operation; `profile`, the profile's own date. |
| result.profileCreatedAt (required) | string | null | The profile's own date, when it differs. |
| result.accountStatus (required) | string: "takendown", "suspended", "deleted", "deactivated", "desynchronized", "throttled" | null | Why the account is gone (`takendown`, `suspended`, `deactivated`, `deleted`…); null when it is not. |
| result.age (required) | object | null | The account's age today (UTC). |
| result.nextBirthday (required) | object | null | The next anniversary of the join date. |