Bluesky
3 endpoints. All requests need an x-api-key header.
/v1/bluesky/postPost
Fetches a single Bluesky post by URL, returning the post's record text, author info, embed content, replyCount, repostCount, likeCount, and quoteCount. Also includes a replies array with threaded reply posts.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
urlrequired | string | Bluesky post URL Example: https://bsky.app/profile/espn.com/post/3lqdfq7fkvm2g |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/bluesky/post?url=https%3A%2F%2Fbsky.app%2Fprofile%2Fespn.com%2Fpost%2F3lqdfq7fkvm2g" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/bluesky/post?url=https%3A%2F%2Fbsky.app%2Fprofile%2Fespn.com%2Fpost%2F3lqdfq7fkvm2g", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/bluesky/post",
params={"url": "https://bsky.app/profile/espn.com/post/3lqdfq7fkvm2g"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/bluesky/profileProfile
Retrieves a Bluesky user's public profile including handle, displayName, avatar, description, followersCount, followsCount, postsCount, createdAt, and verification status. The associated field shows counts for lists, feed generators, and starter packs.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handlerequired | string | Bluesky handle Example: espn.com |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/bluesky/profile?handle=espn.com" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/bluesky/profile?handle=espn.com", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/bluesky/profile",
params={"handle": "espn.com"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())/v1/bluesky/user/postsPosts
Fetches a paginated feed of posts from a Bluesky user, returning each post's uri, record text, author info, embed content, replyCount, repostCount, likeCount, quoteCount, and indexedAt. Supports pagination via cursor. Use user_id (the 'did') instead of handle for faster response times.
Cost: 5 credits live · 1 credit when served from cache
Query parameters
| Name | Type | Description |
|---|---|---|
handle | string | Bluesky handle Example: espn.com |
user_id | string | Bluesky 'did'. (For some reason Bluesky calls their user ids, 'did' for whatever reason) Example: did:plc:x7d6j54pm22ufehkes6jo4jf |
fresh | boolean | Set to true to skip the cache and fetch live data at the live price. |
Example
curl "https://api.pulseemetrics.com/v1/bluesky/user/posts?handle=espn.com&user_id=did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf" \
-H "x-api-key: $PULSE_KEY"Try it in the playground →JavaScript and Python
const res = await fetch("https://api.pulseemetrics.com/v1/bluesky/user/posts?handle=espn.com&user_id=did%3Aplc%3Ax7d6j54pm22ufehkes6jo4jf", {
headers: { "x-api-key": process.env.PULSE_KEY },
});
const { data, meta } = await res.json();import os, requests
r = requests.get(
"https://api.pulseemetrics.com/v1/bluesky/user/posts",
params={"handle": "espn.com", "user_id": "did:plc:x7d6j54pm22ufehkes6jo4jf"},
headers={"x-api-key": os.environ["PULSE_KEY"]},
)
print(r.json())