Bluesky account age checker

Markdown version

GET/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

NameInTypeDescription
actor (required)querystringA handle, a DID, an `at://` URI or a bsky.app link.

Responses

StatusDescriptionBody
200The tool's answer, with the canonical URL of its page.ToolAccountAge
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 "actor=bsky.app" \
  -H "Authorization: Bearer $BLUESKY_BOT_TOKEN" \
  https://bluesky.bot/api/v1/tools/account-age

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`.

ToolAccountAge

FieldTypeDescription
tool (required)string = "account-age"The tool's slug.
url (required)stringThe canonical URL of the tool's page on Bluesky.bot.
result (required)objectThe tool's answer.
result.did (required)stringThe DID.
result.handle (required)string | nullA handle that verifies for this DID (the one asked when it verifies), or null.
result.inputHandle (required)string | nullThe 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 | nullWhen the account joined (ISO 8601), or null.
result.source (required)string: "plc", "profile" | nullWhere the date comes from: `plc`, the PLC directory's first operation; `profile`, the profile's own date.
result.profileCreatedAt (required)string | nullThe profile's own date, when it differs.
result.accountStatus (required)string: "takendown", "suspended", "deleted", "deactivated", "desynchronized", "throttled" | nullWhy the account is gone (`takendown`, `suspended`, `deactivated`, `deleted`…); null when it is not.
result.age (required)object | nullThe account's age today (UTC).
result.nextBirthday (required)object | nullThe next anniversary of the join date.