Answers / Bluesky
How do I search Bluesky posts with an API?
Send GET /v1/bluesky/search with a query parameter. PostToData returns matching public posts with text, author, like, reply and repost counts, the publish time and a URL that opens each post. It requires a prepaid Bearer API key.
Bluesky · search posts · $0.001 a call · one verified website trial · updated 2026-11-13
Run it live
Calls run only when you press Run. Opening this page does not spend credit.
Loading…
Your results will appear here. Choose a platform and action, then press Run.
Real API calls require verification for one trial, or a signed-in account with prepaid credit.
From code
curl "https://posttodata.com/v1/bluesky/search?query=standing+desk&limit=5" -H "Authorization: Bearer YOUR_API_KEY"import requests
r = requests.get(
"https://posttodata.com/v1/bluesky/search",
headers={"Authorization": "Bearer YOUR_API_KEY"},
params={"query": "standing desk", "limit": 5},
)
for item in r.json()["data"]["items"]:
print(item["url"], item.get("text") or item.get("title"))From your AI
Claude and ChatGPT clients that support OAuth can sign in without pasting a key. Follow the client setup guide. The command below is the API-key option for Claude Code.
claude mcp add --transport http posttodata https://posttodata.com/mcp --header "Authorization: Bearer YOUR_API_KEY"Then ask
“Search Bluesky for what people say about standing desks and summarize the main complaints, with links.”
The model calls search_posts with platform bluesky.
Good to know
- Use sort=latest for the newest posts, or leave it out for the most relevant.
- Page through results by passing page.next_cursor back as cursor.
- Bluesky has no post titles or view counts. Those fields are null and listed in meta.unavailable.
Full reference in the docs. All Bluesky endpoints are on the Bluesky API page.
More answers