Bluesky trending topics API
Bluesky’s trending topics list from the explore tab, with suggested topics.
GET /v1/bluesky/trends/topics1 credit per callRefunded on failureimport os, requests
res = requests.get(
"https://api.groundsocial.dev/v1/bluesky/trends/topics?limit=5",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()Response
200 · 1 credit{ "topics": [ { "topic": "Evacuations urged before Iowa detonation", "link": "/profile/did:plc:qrz3lhbyuxbeilrc6nekdqme/feed/74fc24a95fc1", "description": "Officials in Middletown, Iowa, tell pregnant women and young children to leave before a planned lead blast.", "displayName": "Evacuations urged before Iowa detonation" }, { "topic": "November full supermoon", "link": "/profile/did:plc:qrz3lhbyuxbeilrc6nekdqme/feed/7bd371cf1a31", "description": "Users share moon photos and astrology notes as the first of four supermoons in a row arrives.", "displayName": "November full supermoon" }, "… 3 more" ], "suggested": [], "recIdStr": "5153305508077343118"}Parameters
| Name | Type | Description |
|---|---|---|
limitquery | integer | Items per page, 1 to 25. Default 10. |
Response fields
200 with a BlueskyTrendingTopics, in the AT Protocol’s own app.bsky lexicon JSON.
| Field | Type | Description |
|---|---|---|
topics | object[] | |
suggested | object[] |
Status codes
| Status | Meaning |
|---|---|
200 | The topics. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The account, post, feed, list or starter pack does not exist, was deleted or taken down. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Bluesky is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
How many topics?
Up to 25.
Bluesky is a trademark of Bluesky Social PBC. We are not affiliated with or endorsed by Bluesky.