bluesky/
user-posts

The Bluesky User Posts API collects one page of public posts by handle or DID, with normalized text, author identity, timestamps, engagement metrics, and available media.

Bluesky User Posts API

Handle or DID input
One source page
Normalized post records
0.19 credits / request
Ready
Ready

Enter parameters and send a request. The task status and normalized results will appear here.

README

By SocQ · Updated

Bluesky User Posts

Bluesky User Posts are public publications collected from one account using its handle or decentralized identifier. Each normalized record can retain post text, author identity, source and collection times, public media, hashtags, mentions, and available engagement counters.

Bluesky User Posts API Features

  • Two account identifiersThe Bluesky User Posts API takes exactly one identifier: either a handle such as jay.bsky.team or a DID matching the did:method:identifier form.
  • One-page account collectionSend one provider request for the selected account and collect the public posts exposed in that source page without a caller-controlled source cursor or result limit.
  • Stable post-shaped resultsRead normalized post identity, text, author, timestamps, metrics, media, hashtags, and mentions instead of depending on a provider response envelope.

Bluesky User Posts API Parameters

ParametersRequiredDescription
usernameRequired (at least one)A public Bluesky handle from 1 to 253 characters using letters, digits, periods, or hyphens. A leading @ is not accepted; omit this field when user_id is supplied instead.
user_idRequired (at least one)A Bluesky decentralized identifier beginning with did:, followed by a lowercase method and a non-empty identifier using supported letters, digits, periods, underscores, colons, percent signs, or hyphens.

How to Use the Bluesky User Posts API

Submit a handle or DID to the Bluesky User Posts API, track the asynchronous task, and read its saved PostItem records after completion.

  1. Choose either a public Bluesky handle without a leading @ or the account DID.
  2. POST the chosen identifier to /v1/bluesky/user-posts and save the returned task_id.
  3. Poll /v1/tasks/{task_id} until the task succeeds or reports a failure.
  4. Read data.results.items; use the task response's next_cursor only when the saved result set has another page.
curl -X POST "https://api.socq.ai/v1/bluesky/user-posts" \
  -H "Authorization: Bearer $SOCQ_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username":"jay.bsky.team"}'

# Poll GET /v1/tasks/{task_id}
# Read data.results.items after the task succeeds

Bluesky User Posts API Use Cases

  • Account content snapshots: Capture a point-in-time page of public posts for a known handle or DID, retaining post IDs, source URLs, publication times, and collection times.
  • Publishing pattern research: Review normalized text, authorship, hashtags, mentions, and available media to study themes and formats within a selected public account.
  • Visible engagement comparison: Compare available likes, comments, shares, and views across collected posts while treating absent counters as unavailable rather than zero.

Bluesky User Posts API Pro Tips

  • Submit handles without @ and validate them against letters, digits, periods, and hyphens before creating a task.
  • Use the complete DID when account identity must remain stable across handle changes; do not send an arbitrary user ID.
  • Do not add results_limit or a source cursor to the POST payload: the provider collection is one page and those fields are rejected.
  • Treat author details, media, hashtags, mentions, and individual counters as optional, and deduplicate repeated snapshots with the post id.

Beyond the Bluesky User Posts API, use these APIs when you need a different type of public Bluesky data.

  • Bluesky Profile API — Retrieve one public Bluesky profile from a validated username with normalized identity, biography, imagery, website, status fields, visible account counts, and collection context.
  • Bluesky Post API — Resolve one known public bsky.app post URL into normalized text, author, media, timestamp, tag, mention, and visible engagement fields.

Explore other platforms

Combine Bluesky data with public data from other supported social platforms.

Bluesky User Posts API — FAQ

Bluesky User Posts API is an interface for retrieving one page of public account posts by Bluesky handle or DID, returning normalized post text, author, media, timestamps, and visible engagement data.

Send exactly one. username is the public handle without @, while user_id must be a valid DID. Supplying both fields returns a validation error.

No. The submission contract accepts only username and user_id, and the provider execution collects one source page without following a provider cursor.

The task endpoint paginates records already saved by SocQ and accepts a read limit from 1 to 500. That stored-result cursor does not trigger another Bluesky provider page.

The PostItem schema includes identity, platform and resource labels, URL, publication and collection times, text, author, metrics, media, hashtags, and mentions. Source-dependent fields can be null.

A successful Bluesky User Posts API task has a fixed charge of 0.19 SocQ credits. The charge does not vary with the number of posts saved from the source page.