100 free credits. No credit card required. Get a key

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 failure
import 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

NameTypeDescription
limitqueryintegerItems per page, 1 to 25. Default 10.
Response fields

200 with a BlueskyTrendingTopics, in the AT Protocol’s own app.bsky lexicon JSON.

FieldTypeDescription
topicsobject[]
suggestedobject[]
Status codes
StatusMeaning
200The topics.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The account, post, feed, list or starter pack does not exist, was deleted or taken down.
429Too many requests. Wait for Retry-After seconds.
503Bluesky 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.