Bluesky API: Posts, Replies, Profiles as JSON | FetchLayer

2,873,385 served today 41 platforms

Unofficial Third-party API
21 endpoints live

Bluesky data.
With every visibility label.

Posts & counts Reply trees Trending topics Feeds & lists Profiles & followers

One key returns Bluesky posts, reply trees, profiles, likes, followers, search, custom feeds, lists and what is trending, all as typed JSON, with each account’s visibility preference on every record.

Start building free
Free tier included No credit card No scraper maintenance

Trusted by developers shipping real products.

POST /bluesky/search-posts
200 OK

Request

$ curl -X POST \
  https://api.fetchlayer.dev/bluesky/search-posts \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"query":"open source","limit":100}'

Response

{
  "posts": [{
    "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
    "author": { "handle": "bsky.app", "loggedOutVisibility": "public" },
    "text": "Example post text.",
    "likeCount": 1520, "replyCount": 208, "repostCount": 96,
    "loggedOutVisibility": "public"
  }, …99 more],
  "postCount": 100, "excludedCount": 0,
  "hasMore": true, "nextCursor": "eyJ2IjoxLCJy…"
}

Used by developers at

Individual developers or teams — not official partnerships

Built for feedback workflows

Fetch the public signal. Use it wherever your team works.

Visibility preference on every record

Each account and post carries loggedOutVisibility: public, opted-out or unknown, so you can honour what people asked for. excludeOptedOut leaves the known opt-outs out for you.

The counts Bluesky reports

A post’s replies, reposts, likes, quotes and bookmarks, and an account’s followers, following and posts, as whole numbers.

Reply trees

The replies under a post, top-ranked, newest or oldest, nested up to five levels, each reply with its own counts.

What is trending, with its posts

Bluesky’s trending topics with a one-line summary and post count each, and the posts behind any of them.

Feeds, lists and starter packs

Read a public custom feed in its own order, a list and its members, the posts by a list’s members, or a starter pack and who joined through it.

Likes, quotes and reposts

Who liked or reposted a post, the posts that quote it, and the posts an account liked, with a cursor to page through them.

Images and video you can download

A download route streams a file by the link a result gave, with Range support for seeking.

Any link, resolved for free

Hand /resolve-url a bsky.app address and it tells you what it points to and the tool that reads it.

FetchLayer Research Chat

Read what people are saying, then export it.

Prefer not to write code? Ask FetchLayer Research Chat what is trending on Bluesky or what people say about a brand, and get the posts summarised with a clean table to download.

  • ✓Ask questions in plain English
  • ✓Analyze themes, sentiment, and pain points
  • ✓Download the structured results as CSV or JSON
Analyse Bluesky in Chat

No code or setup required · Uses your FetchLayer credits

Bluesky research

What is trending on Bluesky right now? Read the posts behind the top topic, summarise the main themes, list the 20 most-liked posts with their like and reply counts, and export as CSV.

Y

I read the trending list and the posts behind the top topic. The summary groups them into themes, and the table lists the 20 most-liked posts with the author, like, reply and repost counts and each author’s visibility label. It is ready to download.

bluesky-trending-posts.csv

20 posts · 9 columns · ready to download

CSV

From raw feedback to action

One request is the start of the workflow.

Store the structured response, run it on a schedule, pass it to an LLM, or feed it into the system your team already uses. FetchLayer handles retrieval so you can focus on the outcome.

  1. 01

    Start from what is trending, or from a term

    Read the trending topics, or search a brand, keyword or hashtag, newest first and as far back as the cursor goes.

  2. 02

    Read the posts

    Each post with its counts, author, media and visibility label. Page an account’s posts, a feed or a list for more.

  3. 03

    Go deeper where it matters

    Pull a post’s reply tree, its quotes and likers, or profile the accounts behind it. Store what you read: counts are as at the time of the request.

One command. Your agent does the rest.

Use the Bluesky endpoint directly from your MCP-compatible agent. Ask it to retrieve public feedback, identify patterns, and turn the result into a useful brief without writing integration glue.

Claude Code Codex

1 Run one command, then sign in

$ npx fetchlayer

◇  Agents

│  Claude Code and Codex

◇  Signed in as you@company.com

◇  Connected

│  ✓ Claude Code  ✓ Codex

It opens a sign-in page in your browser. New here? Signing in creates your free account.

2 Ask

›What is trending on Bluesky right now, and what are people saying about the top topic?

fetchlayer.bluesky_trending_topics

The trending list comes back with ten topics, each with a one-line summary, a post count and a feedUrl. Reading the posts behind the top one shows what people are saying, with like and reply counts on each and every author’s visibility label. Two requests.

No key to copy and nothing to install. New accounts are free, with no credit card.

How it works
The same command connects
Cursor
VS Code
Antigravity
OpenCode
Hermes
ChatGPT, Perplexity, the Claude app and others

Use cases

What teams build with Bluesky data.

Same API, many applications. Here is what teams ship with Bluesky posts, replies, profiles, feeds and trending topics.

01

Brand and product listening

Search your brand on Bluesky newest first and page back, then read the replies and quotes under the posts that matter, each with its like and reply counts.

brandlisteningcron
02

Trend tracking

Read what is trending with the one-line summary and post count of each topic, and store it on a schedule. The list is as it stands now, so a history exists only if you keep one.

trendsdatasetscron
03

Community mapping

Read a starter pack or a list and its members, the accounts that follow an account and the custom feeds a community runs, to see who a conversation belongs to.

researchdatasets
04

Audience-safe reporting

Every account and post carries its visibility label, and excludeOptedOut leaves known opt-outs out, so a public report shows only what people agreed to show.

reportingcompliance
05

Engagement research

See who liked, reposted and quoted a post, and what an account itself likes, to understand how a post travelled.

sentimentresearch
06

Agent workflows

Give an AI agent the Bluesky tools so it can check what is trending, read a reply tree and summarise it in one conversation.

agentsmcp

Compare approaches

Spend time on the insight, not the collection layer.

What you needFetchLayerOfficial APIBuild it yourself
One key across 40 platforms✓Bluesky onlyOne integration per platform
Visibility label on every account and post✓You derive itYou derive it
One record shape on every route✓Varies by endpointYou design it
Partial results explained, not silent✓n/aYou detect it
Ready for AI and MCP workflows✓Your integrationYour integration

FetchLayer provides access to publicly available data. It is not affiliated with, endorsed by, or sponsored by the platform.

Start free. Scale when ready.

Try it free, buy credits as you go, or take a monthly plan when your volume is steady.

Free

30 requests
  • Every platform and endpoint
  • REST and MCP
  • No credit card

You pay

$0

30 req × $0
$0
credit card
none
Start free

Pay as you go

never expire
  • No monthly commitment
  • Same access as subscribers
  • ∞ req/min, ∞ API keys

You pay

$1.99per 1,000

1,000 req × $1.99/1k
$1.99
monthly fee
$0
expires
never
Get API key

Monthly plan

Starter

15,000

  • ∞ req/min, ∞ API keys

You pay

$25per month

15,000 req × $1.67/1k
$25/mo
on credits × $1.99/1k
$29.85
you save
$4.85/mo
Get started
  • One page fetched costs one credit.
  • A request that returns no usable data costs 0 credits.
Not sure? Book a 15-min call

Not sure which volume fits?

15 minutes with the founder. Tell us the workload, we tell you what it needs.

Book a call

Guaranteed throughput on the platform you run on

A dedicated platform from $400/mo, plus $500 for each ~21 req/s. Every other platform on the same key. 99.95% uptime, 24-hour support on Slack or Telegram.

Build your plan

API reference

Every parameter, documented.

All requests are POST with a JSON body and Bearer auth header.

/bluesky/search-posts 3 params

Posts matching words or a phrase, newest first (paged back with a cursor) or top-ranked, with date, author, mention, language, domain and URL filters.

query* string
Words or a quoted phrase
sort string
'latest' (default) | 'top'
limit / cursor number | string
Up to 1000 posts, 100 to a credit, or resume from nextCursor
/bluesky/trending-topics 1 param

What is trending on Bluesky now: each topic with a one-line summary, its post count and a feedUrl that /topic-posts reads.

limit number
Up to 25 topics
/bluesky/post-detail 2 params

One post in full: author, text, counts, media, link card and the post it quotes. For a reply, includeParents returns the posts it answers.

post* string
A bsky.app post link or at:// address
excludeOptedOut boolean
Leave out a quoted post or parent known to be opted-out
/bluesky/post-replies 2 params

The reply tree under a post, top-ranked, newest or oldest, nested up to five levels, each reply with its own counts.

post* string
A bsky.app post link or at:// address
sort / depth string | number
'top' | 'newest' | 'oldest'; 0-5 levels
/bluesky/user-profile 1 param

One account or up to 25: bio, follower, following and post counts, verification, pinned post and how many lists, feeds and packs it made.

user / users* string | string[]
A handle, account id or profile link
/bluesky/user-posts 2 params

An account’s posts newest first: posts only, with replies, media, video or its own threads. Reposts included and marked.

user* string
A handle, account id or profile link
limit / cursor number | string
Up to 1000 entries, 100 to a credit, or resume from nextCursor
/bluesky/user-likes 2 params

The posts an account liked, most recent like first, with when it liked each.

user* string
A handle, account id or profile link
limit / cursor number | string
Up to 500 likes, 25 to a credit
/bluesky/feed-posts 1 param

A public custom feed’s posts, such as Discover, in the feed’s own order.

feed* string
A bsky.app feed link or at:// address
/bluesky/resolve-url 1 param

What a Bluesky link points to (post, profile, feed, list, starter pack, hashtag or search) and the tool that reads it. Free.

url* string
Any bsky.app link or at:// address

Fields marked * are required. Full API reference →

FAQ

Common questions.

What is a Bluesky API?

Here it means one HTTP endpoint that returns public Bluesky data as clean JSON: one post in full, its replies, quotes, likers and reposters, an account’s profile, posts, likes, followers and following, post, hashtag and account search, trending topics, custom feeds, lists and starter packs. The same routes are MCP tools, so an AI agent can call them too.

Do I need a Bluesky account or an app password?

No. You send your FetchLayer key and nothing else. FetchLayer is not affiliated with, endorsed by, or sponsored by Bluesky, and the Bluesky name is used only to identify the platform the data comes from.

What is loggedOutVisibility?

Bluesky lets people ask that their content be shown only to people with a Bluesky account. Every account and post we return carries that preference as loggedOutVisibility: public, opted-out or unknown. Honouring it is your responsibility: if you show the data to people who may not have a Bluesky account, do not show content marked opted-out, and treat unknown as not public until a profile lookup says otherwise. Send excludeOptedOut: true and we leave out the entries known to be opted-out for you.

Is content Bluesky removed returned?

No. Accounts and posts Bluesky took down, hid or suspended are left out of every result, and asking for one directly answers 404.

Which counts come back?

A post’s replyCount, repostCount, likeCount, quoteCount and bookmarkCount, and a profile’s followersCount, followsCount and postsCount, as whole numbers, as Bluesky reports them. Bluesky has no view counts.

How far can I page?

Listings take a limit (up to 1000 for an account’s posts, followers, following, likers and reposters and for post search) and return nextCursor to continue. hasMore: false is reported only when Bluesky says there is nothing more. A reply tree and a top-ranked search are one read with no further pages.

How does billing work?

A profile (or up to 25 at once), a post, its reply tree, the trending list and a feed’s details are 1 credit each. Listings are 1 credit per 100 entries returned, and an account’s likes 1 credit per 25, minimum 1. Looking up a link is free, and a failed request is not billed.

Can I download the images and videos?

Yes. /bluesky/media streams a file by the link a result gave, with Range support so a player can seek. Video comes as a streaming playlist with a poster image. Each request is 1 credit.

Can my AI agent use it?

Yes. All 21 routes are MCP tools on the same FetchLayer MCP server, named bluesky_ plus the route, such as bluesky_search_posts, bluesky_post_replies and bluesky_trending_topics. Tools answer in Markdown by default and mark accounts that are not public.

What is not available?

The accounts someone blocks, feeds and timelines that depend on who is reading, bookmarks, mutes, direct messages, view counts, and further pages of a top search or a large reply thread. Counts and the trending list are as they stand when you ask, so tracking movement means storing what you read.

Start pulling Bluesky data today.

Get a free API key, make your first request, and put public feedback to work in your own product or research workflow.