Is a handle free to claim?
Markdown versionGET/handles/{name}/availability
Applies the exact server-side rules of a claim: format, reserved names, offensive words, then whether a bot already holds it.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
| name (required) | path | string | The name part, e.g. `weather`; `@weather.bluesky.bot` is accepted too. |
Responses
| Status | Description | Body |
|---|---|---|
| 200 | The availability, with the reason when not available. | Availability |
| 404 | Not found. Also returned on a bot's handle subdomain: the API is only served on the main site. | Error |
| 429 | Rate limited (policy `publicApi`, per IP). | Error |
| 500 | Unexpected error. | Error |
Example
curl https://bluesky.bot/api/v1/handles/weather/availabilitySchemas
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`. |
Availability
| Field | Type | Description |
|---|---|---|
| name (required) | string | The normalised name (as typed when invalid). |
| handle (required) | string | null | The full handle, e.g. `weather.bluesky.bot`; null when the name is invalid. |
| available (required) | boolean | |
| reason (required) | null | string: "required", "too_short", "too_long", "invalid_characters", "invalid_hyphen", "reserved", "not_allowed", "taken" | Why it is not available; null when it is. Names are 3–30 characters of a-z, 0-9 and single hyphens. |
| suggestions | string[] | Only when the name is not available: up to 3 names free to claim right now, best first (the name cleaned up, or with a number); empty when none is. |