APIs / Bluesky / Thread

Bluesky: Thread

Thread from Bluesky as JSON. 1 credit per successful call.

GET /v1/bluesky/threadNeeds terms

Note
This endpoint needs the restricted-endpoint terms, which you can accept in your dashboard.

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
uristringRequiredUp to 2,048 characters
versionstringRequiredv1, v2
depthintegerOptionalAny
parentHeightintegerOptionalAny
branchingFactorintegerOptionalAny
belowintegerOptionalAny
aboveintegerOptionalAny

Example request

cURLshell
curl "https://api.perceptlayer.com/v1/bluesky/thread?uri=at%3A%2F%2Fdid%3Aplc%3Az72i7hdynmk6r22z27h6tvur%2Fapp.bsky.feed.post%2Fabc123" \
  -H "X-API-Key: $API_KEY"

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 6 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
hasOtherRepliesboolean
threadobject[]
endpointstring
thread_versionstring
has_other_repliesboolean
truncatedboolean