app.bsky.feed.searchPosts
Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.
Details · query
| Kind | query |
|---|---|
| Authority | feed.bsky.app |
| Indexed |
Query
query · GETParameters
query stringauthor
string · at-identifierFilter to posts by the given account. Handles are resolved to DID before query-time.
cursor
stringOptional pagination mechanism; may not necessarily allow scrolling through entire result set.
domain
stringFilter to posts with URLs (facet links or embeds) linking to the given domain (hostname). Server may apply hostname normalization.
lang
string · languageFilter to posts in the given language. Expected to be based on post language field, though server may override language detection.
limit
integerminimum: 1maximum: 100default: 25
mentions
string · at-identifierFilter to posts which mention the given account. Handles are resolved to DID before query-time. Only matches rich-text facet mentions.
Search query string; syntax, phrase, boolean, and faceting is unspecified, but Lucene query syntax is recommended.
since
stringFilter results for posts after the indicated datetime (inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYYY-MM-DD).
sort
stringSpecifies the ranking order of results.
default: "latest"knownValues: top | latest
tag
arrayFilter to posts with the given tag (hashtag), based on rich-text facet or tag field. Do not include the hash (#) prefix. Multiple tags can be specified, with 'AND' matching.
maxLength: 640maxGraphemes: 64
until
stringFilter results for posts before the indicated datetime (not inclusive). Expected to use 'sortAt' timestamp, which may not match 'createdAt'. Can be a datetime, or just an ISO date (YYY-MM-DD).
url
string · uriFilter to posts with links (facet links or embeds) pointing to this URL. Server may apply URL normalization or fuzzy matching.
Output
application/jsonErrors
BadQueryString
No description in schema.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
Find posts matching search criteria, returning views of those posts. Note that this API endpoint may require authentication (eg, not public) for some service providers and implementations.
-
Backend Posts search, returns only skeleton
-
Find posts matching a search query or filters, returning search hits for matching post records.
-
Find posts matching a search query or filters, returning search hits for matching post records.
-
so.sprk.feed.searchPosts
queryFind posts matching search criteria, returning views of those posts.