Recent posts from one Bluesky account, newest first, with engagement counts, media and cursor pagination.
1 credit/ call
Never more than 2 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/bluesky.user_posts" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"handle":"bsky.app","limit":1,"includeReposts":false}'{
"output": {
"found": true,
"data": {
"nextCursor": "eyJic2t5IjoiMjAyNi0xMC0zMFQxNzozNDo…",
"posts": [
{
"likes": 1367,
"replies": 66,
"reposts": 258,
"isRepost": false, …
}
]
}
},
"credits": 1
}Input and output
4 fields
bsky.app.1.false.18 fields
Good to know
Accounts that opted out of logged-out viewing are not served.
One page per call. Send nextCursor back as cursor to read the next page.
Unknown handle? It comes back as not found, not as an error.
Terms of use. Returns public personal data (names, handles, avatars, post text). Callers need a lawful basis under GDPR/CCPA and must honour deletion requests.
More from Bluesky. Same key, same credits.
The same key and credits work for every API.