Bluesky Search Scraper API
post.id is the post's record key, post.url is its bsky.app permalink, engagement.likes / comments / shares are the like, reply and repost counts, and published_at is when the author wrote it. Newest first by default; sort=top uses Bluesky's top ranking instead. Narrow with since / until, lang and author. There is no cursor: to reach older posts with the default sort=latest, call again with until set to the oldest published_at you received.
GET /api/v1/data/bluesky/search · 1 credit per call · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Inputs
query(required): Search terms matched against post text.sort: `latest` (newest first, the default) or `top` (Bluesky's own top ranking, which favours popular posts over recent ones).since: Only posts written at or after this time.until: Only posts written before this time. Same format as `since`. Set it to the oldest `published_at` of your last call to fetch the next older batch; the boundary is compared to the second, so a post from that same second can repeat, and deduplicating on `post.id` removes it.lang: Only posts tagged with this language, as a code such as `en`, `ja` or `ko`.author: Only posts by this account: a handle such as `espn.com` or a `did` such as `did:plc:...`. An account that does not exist returns an empty list.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.count(integer): How many posts this answer holds.posts[].id(string): The item's ID on the platform.posts[].url(string): Link to it on the platform.posts[].text(string): Its text.posts[].published_at(string): When it was published (ISO 8601).posts[].language(string): Its language code.posts[].deleted(boolean): Whether it was deleted.posts[].author_username(string): The author's username.posts[].author_name(string): The author's display name.posts[].author_verified(boolean): Whether the author is verified.posts[].author_avatar_url(string): The author's picture.posts[].like_count(number): Likes.posts[].comments_count(number): Comments.posts[].share_count(number): Shares or reposts.posts[].content_type(string): What it is: post.posts[].platform(string): The platform's name.posts[].source_data(object): Everything the platform sent for this row, as it came.posts[].source_data.computed.content_category(string): Keyword-classified content category (e.g. tech, food, gaming). Null when undetectable.posts[].source_data.computed.engagement_rate(number): Computed engagement rate (0..1).posts[].source_data.computed.estimated_reach(number): Estimated reach based on views or follower count. Null when uncomputable.posts[].source_data.computed.language(string): ISO 639-1 language code detected from the post text. Null when undetectable.posts[].source_data.computed.save_rate(number): Saves divided by views, rounded to six places. Present only when the post has both a save count and a view count above zero.posts[].source_data.post.author.avatar_url(string): URL to author profile pictureposts[].source_data.post.author.display_name(string): Author display nameposts[].source_data.post.author.username(string): Author usernameposts[].source_data.post.author.verified(boolean): Whether the author account is verifiedposts[].source_data.post.content.text(string): Post caption, description, or text contentposts[].source_data.post.engagement.comments(number): Comment count. Both land on this same field.posts[].source_data.post.engagement.likes(number): Like / reaction countposts[].source_data.post.engagement.shares(number): Share / repost / retweet count.posts[].source_data.post.flags.deleted(boolean): Whether the post is tombstoned (always present)posts[].source_data.post.id(string)posts[].source_data.post.published_at(any): Post creation timestamp as an ISO 8601 UTC string.posts[].source_data.post.url(string)
Good to know
- Each call costs 1 credit. A call that finds nothing, or fails, is free.
- The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Example call
GET /api/v1/data/bluesky/search?query=espresso
Questions
How much does the Bluesky Search API cost?
Each call costs 1 credit. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send query. 5 more inputs are optional: sort, since, until, lang and author. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How fresh is the data?
The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Do I need a Bluesky account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.