API · Bluesky
GET /bluesky/search/posts
Search Bluesky posts by text, author, language, date, domain or hashtag.
| Request | GET /v1/bluesky/search/posts |
| Operation id | bluesky.search.posts |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search Bluesky posts by text, author, language, date, domain or hashtag.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | Search terms; Lucene-style "quoted phrases" work. Example: espresso. |
sort | "latest" | "top" | no | latest (default) or top. One of latest, top. |
since | string | no | Only posts at or after this time. Example: 2026-09-01. |
until | string | no | Only posts before this time. Example: 2026-09-01. |
lang | string | no | Language code, e.g. en, ja. |
author | string | no | Only posts by this handle or DID. |
mentions | string | no | Only posts mentioning this handle or DID. |
domain | string | no | Only posts linking to this domain. |
url | string | no | Only posts linking to this URL. |
tag | string | no | Hashtags without #, comma-separated (all must match). |
limit | integer | no | Items per page, 1 to 100. Default 25. |
after | string | no | Cursor: the previous page’s cursor. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | A page of matching posts. | BlueskySearchPosts |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The account, post, feed, list or starter pack does not exist, was deleted or taken down. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Bluesky is temporarily unavailable. Retryable; nothing was charged. | Error |
BlueskySearchPosts fields
| Field | Type | Description |
|---|---|---|
posts | BlueskyPostView[] | |
cursor | string | Pass it as after for the next page; absent on the last page. |
hitsTotal | integer |
Errors use one shape everywhere; see Errors for every code and what to do.