# Bluesky User Posts (`bluesky.user_posts`)

Recent posts and reposts from a Bluesky account, with engagement counts and a cursor.

- **Route:** `POST /v1/run/bluesky.user_posts`
- **Price:** $0.0011 per request ($1.10 per 1,000) · `cost_usd` on every response
- **Source:** Bluesky public AppView (AT Protocol) (`bluesky`) · failover: no
- **Measured latency:** not enough calls measured yet
- **Heavy response:** no

## Input

| Field | Type | Required | Default | Notes |
|---|---|---|---|---|
| `handle` | string | yes |  |  |
| `limit` | integer | no | 30 |  |
| `cursor` | string, null | no | null |  |

## Output (`output` in the run envelope)

| Field | Meaning |
|---|---|
| `posts` | Posts with text, counts and URL. |
| `next_cursor` | Pass back as cursor. |

## Example

```bash
curl -s -X POST https://getallapis.com/v1/run/bluesky.user_posts \
  -H "Authorization: Bearer $GETALLAPIS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"handle":"bsky.app","limit":10}'
```

```python
from getallapis_client import Client
client = Client()  # reads GETALLAPIS_API_KEY
result = client.run('bluesky.user_posts', {'handle': 'bsky.app', 'limit': 10})
print(result['cost_usd'], result['output'])
```

```bash
getallapis run bluesky.user_posts '{"handle":"bsky.app","limit":10}'
```

Quote first (free, validates input): `POST /v1/quote/bluesky.user_posts` with the same body.
