Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Bluesky Profile

เอกสาร 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.

ราคา
เริ่มต้นที่ $0.0011USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Bluesky handle, e.g. "bsky.app" or "jay.bsky.team".
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Bluesky ProfileAPI นี้
Bluesky
เริ่มต้นที่ $0.0011 ต่อครั้งJSON
Blueskyเริ่มต้นที่ $0.0011 ต่อครั้งJSON
Blueskyเริ่มต้นที่ $0.0011 ต่อครั้งJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ Bluesky Profile API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/bluesky/profile โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Bluesky Profile API ราคาเท่าไร?

เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Bluesky Profile API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: handle (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Bluesky Profile API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Bluesky ไหม?

ไม่จำเป็น Bluesky Profile ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Bluesky API แยกต่างหาก