Source
Query Bluesky with SQL
Source-native Bluesky posts from the public firehose, archived and continuously observed — queryable with read-only SQL by author, time, and text.
Query surfaces
bluesky.postsembeddings.bluesky_posts
Public AT Protocol firehose (app.bsky.feed.post records); archived capture plus live tail.
Best for
token search over the whole public Bluesky record, newest first
an account’s full public posting history by author_did
reply trees via reply_parent_uri / reply_root_uri
Fields
at_urisourceexternal_typekinduricidrevauthor_didauthor_handleauthor_display_namecreated_at_sourceindexed_atreply_parent_urireply_root_uripayloadblake3_hashword_countrecordmetadataentity_idis_deletedcreated_atupdated_at
Read live from the schema registry for bluesky.posts — 23 columns. Every relation's full contract is served by /v1/scry/schema.
Queries
Newest posts mentioning a token
The lowercase token index over payload prunes; is_deleted keeps withdrawn posts out.
SELECT at_uri, author_did, created_at_source, payload
FROM bluesky.posts
WHERE hasToken(lower(payload), 'clickhouse')
AND is_deleted = 0
ORDER BY created_at_source DESC
LIMIT 20;