Back to articles
Bluesky AT Protocol API: Scrape Social Media Without Auth (No Rate Limits)

Bluesky AT Protocol API: Scrape Social Media Without Auth (No Rate Limits)

via Dev.to JavaScriptАлексей Спинов

Bluesky runs on the AT Protocol — a fully open social network. Unlike Twitter/X, you can access all public data without authentication. Public Endpoints # Get user profile curl 'https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor=jay.bsky.team' # Get user posts curl 'https://public.api.bsky.app/xrpc/app.bsky.feed.getAuthorFeed?actor=jay.bsky.team&limit=10' # Search posts curl 'https://public.api.bsky.app/xrpc/app.bsky.feed.searchPosts?q=web+scraping&limit=10' Node.js Example async function getBlueskyProfile ( handle ) { const url = `https://public.api.bsky.app/xrpc/app.bsky.actor.getProfile?actor= ${ handle } ` ; const res = await fetch ( url ); const data = await res . json (); return { handle : data . handle , displayName : data . displayName , description : data . description , followers : data . followersCount , following : data . followsCount , posts : data . postsCount }; } const profile = await getBlueskyProfile ( ' jay.bsky.team ' ); console . log ( profile ); Why

Continue reading on Dev.to JavaScript

Opens in a new tab

Read Full Article
8 views

Related Articles