POST
/
action
/
search_bluesky_posts
curl --request POST \
  --url https://api-lr.agent.ai/v1/action/search_bluesky_posts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "artificial intelligence",
  "num_posts": 1
}'
{
  "status": 200,
  "response": [
    {
      "author": {
        "displayName": "",
        "handle": "insurencecompanie.bsky.social"
      },
      "cid": "bafyreigh6t7gf2opl5sl72ej6zi46y6mnvff7lncpju7jv2uzphqno5muu",
      "createdAt": "2025-02-12T00:14:58.952Z",
      "likeCount": 0,
      "replyCount": 0,
      "repostCount": 0,
      "text": "Tariff, trade with Visa to dominate talks\n\nMichael Balman An foreign policy analyst Afp Narendra Modi in artificial intelligence action in Paris on Tuesday When the Prime Minister of India Narendra is a modicer of Washington and meets Donald DLing President Week, there will be some warm hugs and…",
      "uri": "at://did:plc:bvuaxil7a2fpcnxkgpgzbois/app.bsky.feed.post/3lhwveizrl62o"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token from your account (https://agent.ai/user/settings#credits)

Body

application/json
query
string
required

Search terms to find relevant Bluesky posts.

num_posts
enum<integer>
default:
1
required

Number of matching posts to fetch.

Available options:
1,
5,
10,
25,
50,
100

Response

200 - application/json
Bluesky posts search results
status
integer

HTTP status code of the action response

response
object

Response data from the action