Bluesky Scraper: how to get the data as JSON/CSV (API, Python, no code)
Scrape public Bluesky accounts: posts with text, like count, repost count, reply count, language, media flag, and timestamp. This guide shows the output fields, a working input, and
Python, JavaScript and cURL code for the Actor v0iddo/bluesky-scraper on Apify.
What data you get
One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.
| Field | Label | Type | Example |
|---|---|---|---|
postUri | Post URI | text | at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3mz4cvpstb22v |
url | Post URL | URL | https://bsky.app/profile/bsky.app/post/3mz4cvpstb22v |
handle | Handle | text | |
did | DID | text | did:plc:z72i7hdynmk6r22z27h6tvur |
text | Post Text | text | To try the moderation inbox, enable beta features under Settings, t... |
likeCount | Likes | number | 394 |
repostCount | Reposts | number | 32 |
replyCount | Replies | number | 12 |
indexedAt | Indexed At | date | 2026-10-30T17:35:05.618Z |
hasMedia | Has Media | true/false | true |
lang | Language | text | en |
Input example
This is the input that is pre-filled on the Actor page. Change the values for your own run.
{
"handles": [
"bsky.app"
],
"postsPerHandle": 20,
"maxItems": 20
}
| Input field | Type | What it does |
|---|---|---|
handles (required) | array | One or more Bluesky handles to scrape, for example bsky.app or username.bsky.social. |
postsPerHandle | integer | Maximum number of posts to collect per handle (up to 500). |
maxItems | integer | The run stops after this many result rows. |
Output sample
Real rows from a run of the Actor. Fields that name people are left out of the sample.
[
{
"postUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3mz4cvpstb22v",
"url": "https://bsky.app/profile/bsky.app/post/3mz4cvpstb22v",
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"text": "To try the moderation inbox, enable beta features under Settings, then open Settings > Moderation tools > Moderation inbox. You can choos...",
"likeCount": 394,
"repostCount": 32,
"replyCount": 12,
"indexedAt": "2026-10-30T17:35:05.618Z",
"hasMedia": true,
"lang": "en"
},
{
"postUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3mz4cvpsrck2v",
"url": "https://bsky.app/profile/bsky.app/post/3mz4cvpsrck2v",
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"text": "The moderation inbox also reaches you no matter where your account is hosted. Until now, we didn't have a way of keeping you informed if...",
"likeCount": 400,
"repostCount": 18,
"replyCount": 3,
"indexedAt": "2026-10-30T17:35:05.617Z",
"hasMedia": false,
"lang": "en"
}
]
Code: Python, JavaScript and cURL
Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/bluesky-scraper.
Python (apify-client)
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run_input = {'handles': ['bsky.app'], 'postsPerHandle': 20, 'maxItems': 20}
run = client.actor("v0iddo/bluesky-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)
JavaScript (apify-client)
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const input = {
"handles": [
"bsky.app"
],
"postsPerHandle": 20,
"maxItems": 20
};
const run = await client.actor('v0iddo/bluesky-scraper').call(input);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
cURL
curl -X POST "https://api.apify.com/v2/acts/v0iddo~bluesky-scraper/run-sync-get-dataset-items" \
-H "Authorization: Bearer YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"handles": ["bsky.app"], "postsPerHandle": 20, "maxItems": 20}'
Price
$0.85 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.59 per 1,000. See the pricing tab for your plan. A new Apify account gets $5 of platform credit every month.
Good to know
- Only public Bluesky accounts are supported. The AT Protocol public API at public.api.bsky.app requires no login or API key.
- Keyword and hashtag search is not available: the Bluesky search endpoint is closed to automated access in the site robots.txt.
- Every row is a post of an account you entered: reposts of other accounts are left out.
- Like, repost, and reply counts are live snapshots taken at scrape time; they will change as engagement grows.
FAQ
What data does the Bluesky Scraper return?
Each result is one row in an Apify dataset. Fields include postUri, url, handle, did, text, likeCount, repostCount, replyCount, and more. The table above shows every field with an example value.
How do I use the Bluesky Scraper from Python?
Install the apify-client package, create a client with your Apify API token, call the Actor v0iddo/bluesky-scraper with an input like the one above, and read the rows from the run's dataset. The Python snippet above does exactly that.
Can I use it without writing code?
Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.
How much does it cost?
$0.85 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.59 per 1,000. A new Apify account gets $5 of platform credit every month.
How do I limit the number of results?
Set the maxItems input field to the number of results you need; the run stops there, so it also caps the cost of one run. You can also set a maximum cost for a run in the run options on Apify, and the run stops when it is reached.
Can I send the results to Google Sheets, Make, Zapier or n8n?
Yes. Apify datasets connect to Google Sheets, Slack, Make, Zapier and n8n, and a webhook can call your own service when a run finishes. You can also export the dataset as JSON, CSV or Excel.
Related guides
- Substack Newsletter Scraper: Scrape Substack newsletter profiles by creator handle: publication name, URL, description, paid tier status...
- Snapchat Scraper: Scrape Snapchat public creator profiles: name, subscribers, bio, and per-video Spotlight stats: views, like...
- Medium Scraper: Pull Medium articles via the public RSS feed endpoints: /feed/@user, /feed/tag/{tag}, /feed/{publication-sl...