GroundsocialDocs

API · Bluesky

GET /bluesky/search/posts

Search Bluesky posts by text, author, language, date, domain or hashtag.

RequestGET /v1/bluesky/search/posts
Operation idbluesky.search.posts
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

Search Bluesky posts by text, author, language, date, domain or hashtag.

Query parameters

NameTypeRequiredDescription
qstringyesSearch terms; Lucene-style "quoted phrases" work. Example: espresso.
sort"latest" | "top"nolatest (default) or top. One of latest, top.
sincestringnoOnly posts at or after this time. Example: 2026-09-01.
untilstringnoOnly posts before this time. Example: 2026-09-01.
langstringnoLanguage code, e.g. en, ja.
authorstringnoOnly posts by this handle or DID.
mentionsstringnoOnly posts mentioning this handle or DID.
domainstringnoOnly posts linking to this domain.
urlstringnoOnly posts linking to this URL.
tagstringnoHashtags without #, comma-separated (all must match).
limitintegernoItems per page, 1 to 100. Default 25.
afterstringnoCursor: the previous page’s cursor.

Responses

StatusMeaningSchema
200A page of matching posts.BlueskySearchPosts
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404The account, post, feed, list or starter pack does not exist, was deleted or taken down.Error
429Too many requests. Wait for Retry-After seconds.Error
503Bluesky is temporarily unavailable. Retryable; nothing was charged.Error

BlueskySearchPosts fields

FieldTypeDescription
postsBlueskyPostView[]
cursorstringPass it as after for the next page; absent on the last page.
hitsTotalinteger

Errors use one shape everywhere; see Errors for every code and what to do.