Sand AISand AI MAGI-2MAGI-2 kini tersedia di SandBase: video 1080p dengan audio nativeCoba sekarang

Bluesky User Posts

Dokumentasi API
https://api.sandbase.ai/v1/api/bluesky/user-posts

List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON.

Harga
Dari $0.0011USD / panggilan
Metode
POST
Respons
JSON
Parameter
1 wajib · 0 opsional

Playground

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

Output Anda akan muncul di sini

Lengkapi input, lalu klik Run.

README API

Bluesky User Posts API

Returns a list of recent posts for a Bluesky account. Each post has its text, author details, a creation time, and like, reply, and repost counts. You send one input, the account handle.

Use cases

  • Track which posts from a brand account get the most likes and reposts.
  • Pull the latest post text from an account to feed a news or monitoring dashboard.
  • Compare reply counts across posts to find those that start the most discussion.
  • Collect an account's recent posts for sentiment or topic analysis.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bluesky/user-posts" \
  -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": {
    "posts": [
      {
        "authorHandle": "bsky.app",
        "authorImage": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihw…",
        "authorName": "Bluesky",
        "createdUtc": 1729148811,
        "id": "3l6oveex3ii2l",
        "likes": 63755,
        "replies": 8711,
        "reposts": 9552,
        "text": "👋  Bluesky is an open social network that gives creators independence from platf…"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
foundtrue when the lookup returned data. A lookup that finds nothing returns found: false.
data.posts[].idIdentifier of the post, a short string such as 3l6oveex3ii2l.
data.posts[].textText of the post.
data.posts[].createdUtcCreation time of the post as a Unix timestamp in seconds, in UTC.
data.posts[].authorHandle / authorNameHandle and display name of the account that wrote the post.
data.posts[].authorImageURL of the author's avatar image.
data.posts[].likes / replies / repostsCounts of likes, replies, and reposts the post has received.

Notes

  • Pass the account handle in handle, for example bsky.app or jay.bsky.team. The request has no other parameters, so there is no pagination option.
  • authorHandle can differ from the handle you sent, so check it if you only want posts written by that account.
  • Call Bluesky Profile for details about the account itself.
  • Call Bluesky Post to look at a single post.

Pricing

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

Jelajahi lebih lanjut

API Terkait

Semua APIs
APIHargaRespons
BlueskyDari $0.0011 per panggilanJSON
BlueskyDari $0.0011 per panggilanJSON
BlueskyDari $0.0011 per panggilanJSON

Pertanyaan

FAQ

Bagaimana cara menggunakan API Bluesky User Posts?

Kirim permintaan POST ke https://api.sandbase.ai/v1/api/bluesky/user-posts dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.

Berapa biaya API Bluesky User Posts?

Mulai dari $0.0011 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.

Parameter apa yang diterima API Bluesky User Posts?

Wajib: handle (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.

Apa yang dikembalikan API Bluesky User Posts?

Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.

Apakah saya memerlukan akun developer atau kunci API Bluesky?

Tidak. Bluesky User Posts berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Bluesky secara terpisah.