GET /v1/crawl/bluesky/post
Bluesky post API: one post and its reply thread by AT-URI
Send a post's AT-URI (at://…) in uri and get the post with its author, text and counts, plus its reply thread, as Bluesky's public getPostThread returns it.
- Price
- $0.0005 per call
- Batch
- Yes, through /v1/batch
- Failed calls
- Not charged
Example request
curl
curl 'https://api.virev.ai/v1/crawl/bluesky/post?uri=at%3A%2F%2Fdid%3Aplc%3Az72i7hdynmk6r22z27h6tvur%2Fapp.bsky.feed.post%2F3l6oveex3ii2l' \
-H "Authorization: Bearer $VIREV_API_KEY"python
import os
import requests
response = requests.request(
"GET",
"https://api.virev.ai/v1/crawl/bluesky/post",
params={
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
},
headers={"Authorization": f"Bearer {os.environ['VIREV_API_KEY']}"},
timeout=60,
)
response.raise_for_status()
print(response.json())Parameters
| Name | In | Type | Description |
|---|---|---|---|
uri required | query | string | The post AT-URI (at://…), URL-encoded. |
Example response
The example response of the API reference, with lists cut to their first 3 items and long text shortened.
json
{
"data": {
"final_url": "https://public.api.bsky.app/xrpc/app.bsky.feed.getPostThread?uri=at%3A%2F%2Fdid%3Aplc%3Az72i7hdynmk6r22z27h6tvur%2Fapp.bsky.feed.post%2F3l6oveex3ii2l",
"status": 200,
"content_type": "application/json; charset=utf-8",
"payload_kind": "json",
"response_headers": {
"content-type": "application/json; charset=utf-8",
"cache-control": "public, max-age=30"
},
"body": {
"thread": {
"post": {
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"author": {
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"handle": "bsky.app",
"displayName": "Bluesky",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
"associated": {
"chat": {
"allowIncoming": "none"
},
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2023-04-12T04:53:57.057Z",
"verification": {
"verifications": [],
"verifiedStatus": "none",
"trustedVerifierStatus": "valid"
}
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2024-10-17T07:06:51.491Z",
"langs": [
"en"
],
"text": "👋 Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this a…"
},
"bookmarkCount": 223,
"replyCount": 8515,
"repostCount": 9532,
"likeCount": 63547,
"quoteCount": 705,
"indexedAt": "2024-10-17T07:06:51.491Z",
"labels": []
},
"replies": [
{
"post": {
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m",
"cid": "bafyreid5gnc6nuo4jcnjkp52xu66otq3qioorrrowzlqrnc6l7pupii2eq",
"author": {
"did": "did:plc:z72i7hdynmk6r22z27h6tvur",
"handle": "bsky.app",
"displayName": "Bluesky",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
"associated": {
"chat": {
"allowIncoming": "none"
},
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2023-04-12T04:53:57.057Z",
"verification": {
"verifications": [],
"verifiedStatus": "none",
"trustedVerifierStatus": "valid"
}
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2024-10-17T07:07:26.071Z",
"facets": [
{
"features": [
{
"$type": "app.bsky.richtext.facet#link",
"uri": "https://bsky.app/feeds"
}
],
"index": {
"byteEnd": 134,
"byteStart": 120
}
}
],
"langs": [
"en"
],
"reply": {
"parent": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
},
"root": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
}
},
"text": "• Anyone can create and subscribe to feeds. There are 50k+ feeds here, like posts from mutuals, news, or cat photos!\n\nbsky.app/feeds\n\n• The Discover feed shows you posts that we think you'll like. Help us fine-tune it for you by using the \"…"
},
"bookmarkCount": 7,
"replyCount": 58,
"repostCount": 283,
"likeCount": 3256,
"quoteCount": 41,
"indexedAt": "2024-10-17T07:07:26.071Z",
"labels": []
},
"replies": [
{
"post": {
"uri": "at://did:plc:zl2sg7ccu7ywvyeiv2amsuwr/app.bsky.feed.post/3laxvhomoau2n",
"cid": "bafyreib46pj2upiak4oztvyrlvfoxcp72ra2fl4jjvr3lnei6jxou3zg3i",
"author": {
"did": "did:plc:zl2sg7ccu7ywvyeiv2amsuwr",
"handle": "hannahsmart.bsky.social",
"displayName": "Hannah Smart",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:zl2sg7ccu7ywvyeiv2amsuwr/bafkreiduc55jd5zu7sr4ygvdflwn4q6i4wtb5fjnz322ujoatol4vjn6he",
"associated": {
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2024-11-15T06:34:38.543Z"
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2024-11-15T07:53:03.352Z",
"langs": [
"en"
],
"reply": {
"parent": {
"cid": "bafyreid5gnc6nuo4jcnjkp52xu66otq3qioorrrowzlqrnc6l7pupii2eq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m"
},
"root": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
}
},
"text": "How do we make a custom feed? 🦋☁️"
},
"bookmarkCount": 0,
"replyCount": 0,
"repostCount": 0,
"likeCount": 1,
"quoteCount": 0,
"indexedAt": "2024-11-15T07:53:03.751Z",
"labels": []
},
"replies": [],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
},
{
"post": {
"uri": "at://did:plc:zasgwmt6anlxlihv2iu3huje/app.bsky.feed.post/3lf64dyrhhk2f",
"cid": "bafyreiacnglzyvoc7kux6tb4bvo2od4qymnqowzoth3y4otr5poqcgdcuu",
"author": {
"did": "did:plc:zasgwmt6anlxlihv2iu3huje",
"handle": "bridgetbiden4ever.bsky.social",
"displayName": "BridgetBiden4ever",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:zasgwmt6anlxlihv2iu3huje/bafkreifj2uax3peunxv2xxmecw653j77g7m6ebb2g7aor4nye3q4pwrvp4",
"associated": {
"chat": {
"allowIncoming": "all"
},
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2024-11-13T16:29:43.176Z"
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2025-01-07T16:53:00.911Z",
"langs": [
"en"
],
"reply": {
"parent": {
"cid": "bafyreid5gnc6nuo4jcnjkp52xu66otq3qioorrrowzlqrnc6l7pupii2eq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m"
},
"root": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
}
},
"text": "Yes, anyone, even a million hours named Sara. Fuck this shit."
},
"bookmarkCount": 0,
"replyCount": 1,
"repostCount": 1,
"likeCount": 2,
"quoteCount": 0,
"indexedAt": "2025-01-07T16:52:59.350Z",
"labels": []
},
"replies": [
{
"post": {
"uri": "at://did:plc:zasgwmt6anlxlihv2iu3huje/app.bsky.feed.post/3lwp4clsbcs2o",
"cid": "bafyreic5flkxkwoih3lafltjlnq3zlfmpcpmtf3fvwts23ium3t7kghjgq",
"author": {
"did": "did:plc:zasgwmt6anlxlihv2iu3huje",
"handle": "bridgetbiden4ever.bsky.social",
"displayName": "BridgetBiden4ever",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:zasgwmt6anlxlihv2iu3huje/bafkreifj2uax3peunxv2xxmecw653j77g7m6ebb2g7aor4nye3q4pwrvp4",
"associated": {
"chat": {
"allowIncoming": "all"
},
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2024-11-13T16:29:43.176Z"
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2025-08-18T19:15:46.975Z",
"langs": [
"en"
],
"reply": {
"parent": {
"cid": "bafyreiacnglzyvoc7kux6tb4bvo2od4qymnqowzoth3y4otr5poqcgdcuu",
"uri": "at://did:plc:zasgwmt6anlxlihv2iu3huje/app.bsky.feed.post/3lf64dyrhhk2f"
},
"root": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
}
},
"text": "Hoes."
},
"bookmarkCount": 0,
"replyCount": 0,
"repostCount": 0,
"likeCount": 1,
"quoteCount": 0,
"indexedAt": "2025-08-18T19:15:46.206Z",
"labels": []
},
"replies": [],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
}
],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
}
],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
},
{
"post": {
"uri": "at://did:plc:zzupknu3xnecblol3pb6qnk5/app.bsky.feed.post/3lawati66dc2z",
"cid": "bafyreifp566kshr7wf3g7isdme47y355quyv7xmooyex4whrmvrkuhfbdm",
"author": {
"did": "did:plc:zzupknu3xnecblol3pb6qnk5",
"handle": "relentles99.bsky.social",
"displayName": "Elle Esse 🖇️",
"avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:zzupknu3xnecblol3pb6qnk5/bafkreicnjp62hg3mj7pmqcqcs2ikdvj6ru5gq3bbthnrawe2qcbbmojn44",
"associated": {
"activitySubscription": {
"allowSubscriptions": "followers"
}
},
"labels": [],
"createdAt": "2024-11-10T22:58:28.889Z"
},
"record": {
"$type": "app.bsky.feed.post",
"createdAt": "2024-11-14T16:11:10.922Z",
"langs": [
"en"
],
"reply": {
"parent": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
},
"root": {
"cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
"uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
}
},
"text": "📌"
},
"bookmarkCount": 0,
"replyCount": 1,
"repostCount": 0,
"likeCount": 6,
"quoteCount": 0,
"indexedAt": "2024-11-14T16:11:10.637Z",
"labels": []
},
"replies": [],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
}
],
"threadContext": {},
"$type": "app.bsky.feed.defs#threadViewPost"
}
}
},
"meta": {
"cost": "$0.0005",
"balance": "$3.0765",
"request_id": "req_3ca8de947b8f641d26dc5439c0104501"
}
}How it works
One Bluesky post and its reply thread, by AT-URI.
Errors
| Status | When |
|---|---|
400 | The request parameters are invalid. |
401 | Missing, malformed, or revoked API key. |
402 | Balance is too low for this request. |
404 | The page does not exist: its site answered 404 or 410 for this input. You are not charged. |
429 | Over the per-minute limit. The limit belongs to your organization and all its API keys share it: 100 requests per minute unless an increase was granted. Wait for the Retry-After seconds, then retry. On a live read, code rate_limited means the platform itself rate-limited this read; retry after the Retry-After seconds. You are not charged. |
502 | The upstream fetch failed. You are not charged. |
503 | Billing could not be confirmed, so no upstream data was returned. |
504 | The upstream request timed out. You are not charged. |