100 free credits. No credit card required. Get a key

How to get Bluesky data

Checked Code run live

Bluesky is the open one: the AT Protocol’s public AppView answers many reads without an account, so for Bluesky alone you can call it directly. Use a data API when you want Bluesky next to other platforms under one key and one MCP server: the same AT Protocol JSON, 1 credit a call.

The official Bluesky API

Bluesky’s API is public and free.

  • Profiles, author feeds and threads answer without authentication at public.api.bsky.app.
  • Bluesky’s hosted servers rate-limit by IP (3,000 requests per 5 minutes) and cap writes per account.
  • No commercial approval is needed. If Bluesky is all you need, the official API is a good choice.

Sources: Bluesky API docs, Rate limits.

Quick start

  1. Get a keySign up with an email code: 100 free credits, no card. An agent can sign itself up with POST https://api.groundsocial.dev/v1/agent/signup.
  2. Set it in your shellexport GROUNDSOCIAL_API_KEY=gs_live_…
  3. Make the callPosts matching a search: GET /v1/bluesky/search/posts, 1 credit.
curl "https://api.groundsocial.dev/v1/bluesky/search/posts?q=espresso&limit=5" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"

Sample response

Trimmed from the real response on 27 November 2026: lists cut to their first items and long strings shortened, private people’s names and handles cut to initials. Every field is described in the tutorial.

json
{
  "posts": [
    {
      "cid": "bafyreiamxqfw35rocyvylp3rgytf33aarnz2cmoaz3ivqheggcgzwdklsq",
      "author": {
        "did": "did:plc:…",
        "handle": "m.s.bsky.social",
        "displayName": "M.S.",
        "createdAt": "2024-11-11T17:25:41.380Z"
      },
      "record": {
        "text": "Hooray! Just had an espresso....All is [almost] right with the world! #happythanksgiving 🦃…",
        "createdAt": "2026-11-27T02:23:57.280Z",
        "$type": "app.bsky.feed.post"
      },
      "embed": {
        "$type": "app.bsky.embed.images#view"
      },
      "replyCount": 0,
      "repostCount": 0,
      "likeCount": 0,
      "quoteCount": 0
    }
  ],
  "cursor": "eyJzIjpbMTc5NTc0NTYzNDAwMCwiZGlkOnBsYzplMnY1bHFqaDJnbncyZ3dldWV6YnpkNWwiLCIzbjNiNGlmZW9hcj…",
  "hitsTotal": 10000
}

Get every page

/v1/bluesky/search/posts returns posts a page at a time, and each page costs 1 credit. Pass the response’s cursor back as after until it runs out.

// Collect up to 5 pages of posts.
const first = 'https://api.groundsocial.dev/v1/bluesky/search/posts?q=espresso&limit=100'
const items: unknown[] = []
let cursor: string | undefined
for (let page = 0; page < 5; page++) {
  const url = new URL(first)
  if (cursor) url.searchParams.set('after', cursor)
  const res = await fetch(url, {
    headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
  })
  if (!res.ok) throw new Error((await res.json()).error.hint)
  const data = await res.json()
  items.push(...(data.posts ?? []))
  cursor = data.cursor ?? undefined
  if (!cursor) break
}
console.log(items.length, 'posts')

What else you can get from Bluesky

What you getEndpointCredits
Posts matching a searchGET /v1/bluesky/search/posts1
A profile with follower countsGET /v1/bluesky/profiles/espn.com1
An account’s postsGET /v1/bluesky/profiles/espn.com/posts1
An account’s followersGET /v1/bluesky/profiles/espn.com/followers1
A post’s reply threadGET /v1/bluesky/post/thread1
Trending topicsGET /v1/bluesky/trends/topics1

Each row links to its tutorial. Every Bluesky endpoint and price: Bluesky API.

Tips

  • Search supports author, mentions, domain, tag, lang, since and until, and quoted phrases.
  • Search pages go newest first (sort=latest, the default). Bluesky no longer pages sort=top for logged-out clients, so top results are one page of up to 100, with no cursor.
  • Follower lists are public on Bluesky and come page by page, 100 at a time.

Use it from Claude or Cursor (MCP)

Every endpoint is also an MCP tool on the remote server https://api.groundsocial.dev/mcp. The ?platforms=bluesky below loads only the Bluesky tools. The client signs in with OAuth, or send your key as a Bearer token. Tools used in this guide: bluesky_search_posts, bluesky_profile_get, bluesky_user_posts, bluesky_user_followers, bluesky_post_thread, bluesky_trends_topics.

claude mcp add --transport http groundsocial "https://api.groundsocial.dev/mcp?platforms=bluesky"

Setup for ChatGPT, VS Code, Windsurf, n8n and others: MCP client setup.

Pricing

Pay per call from prepaid credits; no subscription. 100 free credits cover the examples on this page. Costs below are at the credit packs’ highest and lowest rates.

JobCreditsCost
1,000 search pages1,000$1.00 → $0.40
10,000 followers of one account (100 a page)100$0.10 → $0.04

FAQ

Why pay when the official API is free?

You may not need to. It helps when you want one key, one response envelope and one MCP server across Bluesky, X, Threads, Reddit and the rest.

Why does search page 2 fail on the public AppView?

Since November 2026 api.bsky.app answers 403 to a logged-out searchPosts call that carries a cursor. Our after keeps working: it turns the cursor into an until bound on the same search, so you page as usual.

Are failed calls charged?

No. A target that does not exist answers 404 target_not_found, an upstream failure answers 503, and neither costs anything. Credits never expire.

Is Groundsocial official?

No. Groundsocial is an independent API that reads what the platform shows a logged-out visitor. Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.

Go deeper

Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.

Try it on your own data

One key for Bluesky and every other platform, over REST or MCP. Free credits on signup, no card.