Scraper APIBluesky
bluesky.thread
A Bluesky post and the replies under it: each with text, author, time and counts, and the post it answers.
- Id
bluesky.thread- Version
- 1
- Billed per
- record — 1 unit for each record of a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/bluesky.thread/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
urlrequired | string | The post's address, e.g. https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l, or its at:// URI.Limit: at most 2048 characters. |
max_replies | integer | How many replies to return after the post: 1 to 200.Limit: 1 to 200. Default: 50. |
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
uri | string | The post's at:// URI, its permanent id on the network. |
cid | string or null | The content id of this version of the post. |
url | string or null | The post's address on bsky.app. |
text | string or null | The post's text as written; null for a post that is only media. |
created_at | string (date-time) or null | When the author says the post was written, in UTC. |
indexed_at | string (date-time) or null | When Bluesky first saw the post, in UTC. |
languages | array of string | The languages the author marked the post with, e.g. en. |
author_did | string or null | The permanent id (DID) of the account that posted it. |
author_handle | string or null | That account's handle, e.g. bsky.app. |
author_name | string or null | That account's display name. |
author_verified | boolean or null | True when that account carries Bluesky's verification check; null when the answer does not say. |
like_count | integer or null | Number of likes. |
reply_count | integer or null | Number of replies. |
repost_count | integer or null | Number of reposts. |
quote_count | integer or null | Number of posts that quote this one. |
bookmark_count | integer or null | Number of bookmarks; null where the answer does not state it. |
hashtags | array of string | The hashtags the post marks, without the #, in order. |
mentions | array of string | The handles the post mentions, as written in its text without the @, in order. |
links | array of string | The full addresses of the links in the text, in order. |
media | array of object | The post's images or its video, in order. |
type (in media[]) | "image" | "video" | image or video. |
url (in media[]) | string | The image at full size, or the video's stream playlist (HLS, .m3u8). |
thumbnail_url (in media[]) | string or null | A smaller version of the image, or the video's still image. |
alt_text (in media[]) | string or null | The description the author gave it, when there is one. |
width (in media[]) | integer or null | Width in pixels, or the width part of the aspect ratio the post states. |
height (in media[]) | integer or null | Height in pixels, or the height part of the aspect ratio the post states. |
link_card | object or null | The preview card of the link the post attaches, when it attaches one. |
url (in link_card) | string | The address the card leads to. |
title (in link_card) | string or null | The card's title. |
description (in link_card) | string or null | The card's text. |
thumbnail_url (in link_card) | string or null | The card's image. |
quoted_post_uri | string or null | The at:// URI of the post this one quotes, when it quotes one. |
quoted_post_url | string or null | That post's address on bsky.app. |
reply_to_uri | string or null | The at:// URI of the post this one replies to; null when it is not a reply. |
thread_root_uri | string or null | The at:// URI of the first post of the thread a reply belongs to. |
labels | array of string | The content labels on the post, the author's own and Bluesky's moderation's, e.g. porn or graphic-media. |
reposted_by_handle | string or null | In an account's posts: the handle of the account that reposted this post, when it is listed as a repost. |
reposted_at | string (date-time) or null | When it was reposted, in UTC. |
fetched_at | string (date-time) | When the answer was read, in UTC. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/bluesky.thread/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"url":"https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d","max_replies":2}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("bluesky.thread", {
"url": "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d",
"max_replies": 2,
})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("bluesky.thread", {
url: "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d",
max_replies: 2,
});
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "bluesky.thread", map[string]any{"url": "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d", "max_replies": 2})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("bluesky.thread", Map.of("url", "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d", "max_replies", 2));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run bluesky.thread --input url=https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d --input max_replies=2Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"url": "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d",
"max_replies": 2
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "bluesky.thread",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"url": "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d",
"max_replies": 2
},
"record_count": 1,
"units": 1,
"units_per_request": null,
"units_per_record": 1,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2mkgfb4tk2d",
"cid": "bafyreif2sisjvqvshmnisis34mt6irs5ptxf3anfbg4qoruzjm6k6a5oim",
"url": "https://bsky.app/profile/bsky.app/post/3n2mkgfb4tk2d",
"text": "Read all about @germnetwork.com in @wired.com:",
"created_at": "2026-11-18T21:57:26.111000Z",
"indexed_at": "2026-11-18T21:57:26.440000Z",
"languages": [
"en"
],
"author_did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"author_handle": "bsky.app",
"author_name": "Bluesky",
"author_verified": false,
"like_count": 83,
"reply_count": 5,
"repost_count": 13,
"quote_count": 0,
"bookmark_count": 19,
"hashtags": [],
"mentions": [
"germnetwork.com",
"wired.com"
],
"links": [],
"media": [],
"link_card": null,
"quoted_post_uri": "at://did:plc:inz4fkbbp7ms3ixufw6xuvdi/app.bsky.feed.post/3n2lfzu4bbf24",
"quoted_post_url": "https://bsky.app/profile/wired.com/post/3n2lfzu4bbf24",
"reply_to_uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2m24be4e223",
"thread_root_uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3n2m24be4e223",
"labels": [],
"reposted_by_handle": null,
"reposted_at": null,
"fetched_at": "2026-11-19T18:07:39.169156Z"
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Bluesky scrapers are in their own section there.