# Bluesky API

Read social media accounts, user posts, follower counts, and connection lists to map public conversations and network engagement.

Identify users by their complete handle or custom domain, keeping in mind that returned connections may not encompass the entire social graph.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "bluesky", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/bluesky-api](https://everyinfra.com/en/bluesky-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### profile — Profiles
Resolve a Bluesky handle to its account record, with display name, bio, avatar, banner, join date, verification flag and follower, following and post counts. Pass the full handle in `username` (a custom domain works), not a display name or profile link.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `username` (required): Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account.
- Returns fields: user_id, username, display_name, bio, url, avatar_url, is_verified, joined_at, source_username, platform, banner_url, follower_count, following_count, post_count
- Capability page: [https://everyinfra.com/en/bluesky-api/profile](https://everyinfra.com/en/bluesky-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/bluesky-api/profile.md)

### user_posts — Posts by user
Track what a Bluesky account posts. Each post has text and URL, like, repost, quote, reply and bookmark counts, plus hashtags, mentions and outbound links. `quote_count` counts reposts with added commentary, apart from plain reposts. The batch is not a complete archive.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `username` (required): Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account.
- Returns fields: id, url, text, author_username, author_name, author_id, author_avatar_url, lang, like_count, repost_count, comment_count, quote_count, bookmark_count, is_reply, is_repost, posted_at, platform, media_urls, embed_url, embed_title, hashtags, mentions, links
- Capability page: [https://everyinfra.com/en/bluesky-api/user_posts](https://everyinfra.com/en/bluesky-api/user_posts?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/bluesky-api/user_posts.md)

### followers — Followers
List the accounts following a Bluesky user, each with DID, handle, display name, bio and join date. The returned page may not include every follower, so it can differ from the profile's follower count.
- Sync delivery · Price: $1.39 per 1,000 requests (every 30 rows count as one call)
- Catalog values: defaultLimit=30, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `username` (required): Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account.
- Returns fields: user_id, username, display_name, bio, url, avatar_url, is_verified, joined_at, source_username, platform
- Capability page: [https://everyinfra.com/en/bluesky-api/followers](https://everyinfra.com/en/bluesky-api/followers?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/bluesky-api/followers.md)

### following — Following
See which accounts a Bluesky user follows, with each account's ID, handle, display name, bio and verification flag. Follow ties change over time and imply no affinity, contact or permission to message.
- Sync delivery · Price: $1.39 per 1,000 requests (every 30 rows count as one call)
- Catalog values: defaultLimit=30, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `username` (required): Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account.
- Returns fields: user_id, username, display_name, bio, url, avatar_url, is_verified, joined_at, source_username, platform
- Capability page: [https://everyinfra.com/en/bluesky-api/following](https://everyinfra.com/en/bluesky-api/following?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/bluesky-api/following.md)

### search_people — People search
Search Bluesky for accounts matching a name or term, returning handle, display name, bio, avatar and verification flag. It matches profiles rather than post text, and a match does not confirm who a person is.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=200. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies user or account search terms for the search_people action. This endpoint returns matching user profile results and does not search post text; use user_posts with a complete handle to retrieve posts.
- Returns fields: user_id, username, display_name, bio, url, avatar_url, is_verified, joined_at, source_username, platform
- Capability page: [https://everyinfra.com/en/bluesky-api/search_people](https://everyinfra.com/en/bluesky-api/search_people?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/bluesky-api/search_people.md)

## Bluesky API questions

### What can I retrieve with the Bluesky API?

Set `platform` to `bluesky`. The current catalog lists profiles, posts by user, followers, following, and people search. These action names identify different Bluesky objects or views; they are not interchangeable search modes.

### Which input starts the Bluesky `profile` request?

Specifies a complete Bluesky handle, such as alice.bsky.social or a connected custom domain name. Do not pass a display nickname or a bsky.app/profile/ page URL. The profile, user_posts, followers, and following actions all use this parameter to locate the target account. Send it as `username` inside `params`.

### Which fields can Bluesky `profile` return?

Its declared schema includes `user_id`, `username`, `display_name`, and `bio`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Bluesky action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=bluesky
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
