Skip to contents

Search posts for a given keyword

Usage

search_posts(
  keyword,
  access_jwt,
  max_posts = NULL,
  search_url = "https://bsky.social/xrpc/app.bsky.feed.searchPosts"
)

Arguments

keyword

Keyword to search for

access_jwt

Access token

max_posts

Maximum number of posts to retrieve

search_url

Search URL

Value

List of posts

Details

You can find more information about the Bluesky API here: https://docs.bsky.app/docs/api/app-bsky-feed-search-posts Additionnaly more information about the "post" object is available here: https://atproto.blue/en/latest/atproto/atproto_client.models.app.bsky.feed.defs.html#atproto_client.models.app.bsky.feed.defs.PostView