Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Bluesky Profile

API dokümanları
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.

Fiyat
Başlangıç fiyatı $0.0011USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Bluesky handle, e.g. "bsky.app" or "jay.bsky.team".
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

API README

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
BlueskyKullanım başına $0.0011'den itibarenJSON
BlueskyKullanım başına $0.0011'den itibarenJSON
BlueskyKullanım başına $0.0011'den itibarenJSON

Sorular

SSS

Bluesky Profile API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/bluesky/profile adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Bluesky Profile API'sinin fiyatı nedir?

çağrı başına $0.0011'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Bluesky Profile API'si hangi parametreleri kabul eder?

Gerekli: handle (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Bluesky Profile API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Bluesky geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Bluesky Profile, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Bluesky API erişimi için ayrıca başvuru yapmanız gerekmez.