One API Call to Post on Bluesky
The AT Protocol API uses a decentralized identity model with DIDs, record-based content creation, and blob uploads for media. RelayAPI handles OAuth, rate limits, media hosting, and API changes.
No credit card required · Free plan available
const response = await fetch('https://api.relayapi.dev/v1/posts', {
method: 'POST',
headers: {
'Authorization': 'Bearer rlay_live_xxxxxxxxxx',
'Content-Type': 'application/json',
},
body: JSON.stringify({
content: 'Check out our latest update!',
platforms: ['bluesky'],
media: ['https://cdn.example.com/image.jpg'],
}),
});AT Protocol (Bluesky API)
- The AT Protocol uses decentralized identifiers (DIDs) and handle resolution that differ from traditional REST APIs
- Content creation requires constructing lexicon-based records with facets for links, mentions, and hashtags
- Media uploads use a blob upload endpoint with CID-based references that must be resolved before posting
- Video uploads require PDS DID resolution and separate service authentication for the video processing endpoint
- Rich text parsing requires manual byte-offset calculation for facets (links, mentions, tags) with UTF-8 grapheme counting
RelayAPI
- RelayAPI abstracts DID resolution and handle management -- just pass a username and we handle identity
- Post with plain text and RelayAPI automatically detects and creates facets for links, mentions, and hashtags
- Upload media to RelayAPI and we handle blob uploads, CID resolution, and record embedding automatically
- Video uploads work with a single API call -- we manage PDS DID resolution, service auth, and processing
- Automatic rich text parsing with correct UTF-8 byte offset calculation for all facet types
Supported Content Types
How It Works
Connect Your Account
Authorize your Bluesky account via OAuth in 30 seconds
Build Your Integration
Use the REST API or our SDKs to publish content
RelayAPI Handles the Rest
We manage publishing, rate limits, and delivery notifications
Ship Faster
Post to Bluesky with a single API call. No DID resolution, no facet construction, no blob CID management. Send your text and media, we create the AT Protocol records.
Official API, Zero Hassle
RelayAPI uses the official AT Protocol API. Your posts appear natively in Bluesky feeds with full engagement features, while we handle decentralized identity and record management.
Rich Text Without Byte Counting
AT Protocol requires precise UTF-8 byte offsets for every link, mention, and hashtag. RelayAPI parses your text automatically and generates correct facets, including proper grapheme counting for international text.
Frequently Asked Questions
Start Building with Bluesky
Join developers who chose RelayAPI over building with AT Protocol (Bluesky API) directly.
Get Started Free© 2026 Relay. All rights reserved.