# Bluesky Thread

Returns the full thread around a post. version=v2 (default) uses the structured thread method and returns far richer data; version=v1 uses the documented legacy method. The two are never switched automatically. Note that v2 lives in Bluesky's undocumented (unspecced) namespace and is not covered by the AT Protocol stability guarantee, so pin version=v1 if you need a frozen contract. Check has_other_replies to detect a truncated thread.

- **Documentation:** [https://scrappa.co/docs/bluesky-api/bluesky_thread](https://scrappa.co/docs/bluesky-api/bluesky_thread)
- **API group:** Bluesky API
- **Endpoint:** `GET https://scrappa.co/api/bluesky/thread`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `uri` | string | Yes | Post AT-URI (at://did/collection/rkey) |
| `version` | string | No | v2 (default, richer) or v1 (documented legacy method). |
| `depth` | integer | No | Reply expansion depth, 0-1000. |
| `parentHeight` | integer | No | Parent chain height for version=v1, 0-1000. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bluesky/thread?uri=at%3A%2F%2Fdid%3Aplc%3Az72i7hdynmk6r22z27h6tvur%2Fapp.bsky.feed.post%2Fabc123"
```

## Example response

```json
{
    "success": true,
    "has_other_replies": false,
    "thread": []
}
```

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
