Sand AISand AI MAGI-2MAGI-2 è ora su SandBase: video in 1080p con audio nativoProvalo ora

Bluesky Profile

Documentazione API
https://api.sandbase.ai/v1/api/bluesky/profile

Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.

Prezzo
Da $0.0011USD / chiamata
Metodo
POST
Risposta
JSON
Parametri
1 obbligatori · 0 opzionali

Playground

Input
Bluesky handle, e.g. "bsky.app" or "jay.bsky.team".
OutputPronto

Il tuo output apparirà qui

Completa gli input, poi fai clic su Esegui.

README API

Bluesky Profile API

This API returns the public profile of a Bluesky account. It needs one input, the account handle, such as bsky.app. The response includes the display name, bio, avatar URL, follower and following counts, post count, and creation time.

Use cases

  • Show a Bluesky account card with name, bio, and avatar in a dashboard or CRM.
  • Track follower and post counts for an account over repeated calls.
  • Resolve a handle to its did:plc: ID before you call other Bluesky APIs.
  • Check whether a handle exists by reading the found flag.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bluesky/profile" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle": "bsky.app"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
handlestringYesBluesky handle, e.g. "bsky.app" or "jay.bsky.team".

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihw…",
    "createdUtc": 1681275237,
    "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: su…",
    "displayName": "Bluesky",
    "followers": 35503774,
    "following": 34,
    "handle": "bsky.app",
    "id": "did:plc:z72i7hdynmk6r22z27h6tvur",
    "postsCount": 907
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the handle was found. A lookup that finds nothing returns false.
data.idThe account's permanent ID, in the form did:plc:....
data.handleThe Bluesky handle that was looked up.
data.displayNameThe name the account shows on its profile.
data.descriptionThe profile bio. It can contain line breaks written as \n.
data.followers / data.followingNumber of accounts that follow this account, and number of accounts it follows.
data.postsCountNumber of posts the account has made.
data.createdUtcAccount creation time as a Unix timestamp in seconds, in UTC.
data.avatarUrlURL of the profile picture image.

Notes

  • Use the handle without the @ sign, for example bsky.app or jay.bsky.team.
  • The data.id value is a did:plc: identifier that stays with the account.
  • To read what this account has posted, call Bluesky User Posts.
  • To fetch one specific post, call Bluesky Post.

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

Esplora altro

API correlate

Tutte le API
APIPrezzoRisposta
Bluesky ProfileQuesta API
Bluesky
Da $0.0011 per chiamataJSON
BlueskyDa $0.0011 per chiamataJSON
BlueskyDa $0.0011 per chiamataJSON

Domande

FAQ

Come uso l'API Bluesky Profile?

Invia una richiesta POST a https://api.sandbase.ai/v1/api/bluesky/profile con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.

Quanto costa l'API Bluesky Profile?

A partire da $0.0011 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.

Quali parametri accetta l'API Bluesky Profile?

Richiesti: handle (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.

Cosa restituisce l'API Bluesky Profile?

Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.

Mi serve un account sviluppatore o una chiave API Bluesky?

No. Bluesky Profile funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Bluesky.