# Get profile

Fetch profile metadata for a Bluesky actor (handle, DID, or bsky.app profile link).

- Platform: [Bluesky](https://docs.upscrape.com/docs/platforms/bluesky)
- Capability ID: `bluesky.actor.get_profile`
- Cost: 1 credit per request
- Maximum runtime: 120 seconds
- Execute endpoint: `POST https://data.upscrape.com/execute`

## Request

Use the exact public capability ID in the shared execute envelope.

```bash
curl --request POST \
  --url https://data.upscrape.com/execute \
  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \
  --header "Content-Type: application/json" \
  --header "Prefer: wait=30" \
  --data '{
  "input": {
    "actor": "bsky.app"
  },
  "capability": "bluesky.actor.get_profile"
}'
```

## Input


| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `actor` | `string` | Yes |  |

### Example input

```json
{
  "actor": "bsky.app"
}
```

## Response

Successful output is returned in `results[0].data`.

Raw platform output is intentionally open-ended and may evolve with the upstream source.

### Illustrative sample output

This example shows one response. Values and optional fields vary with the data available.

```json
{
  "avatar": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/[redacted:token]",
  "banner": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/[redacted:token]",
  "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: [redacted:email]",
  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
  "display_name": "Bluesky",
  "followers_count": 34591553,
  "follows_count": 11,
  "handle": "bsky.app",
  "indexed_at": "2025-10-27T21:05:26.152Z",
  "posts_count": 808
}
```
### Illustrative output fields

Derived from the sample above for orientation only. These fields are not a fixed response schema.

| Path | Observed type | Example |
| --- | --- | --- |
| `avatar` | `string` | https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/… |
| `banner` | `string` | https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/… |
| `description` | `string` | official Bluesky account (check username👆)  Bugs, feature requests, fee… |
| `did` | `string` | did:plc:z72i7hdynmk6r22z27h6tvur |
| `display_name` | `string` | Bluesky |
| `followers_count` | `integer` | 34591553 |
| `follows_count` | `integer` | 11 |
| `handle` | `string` | bsky.app |
| `indexed_at` | `string` | 2025-10-27T21:05:26.152Z |
| `posts_count` | `integer` | 808 |

## Execution behavior

A `200` response completed inline. A `202` response was queued; poll `GET /jobs/{id}` until the job reaches `completed` or `failed`. Use an `Idempotency-Key` when retrying must not create a duplicate logical job.

## Related documentation

- [Authentication](https://docs.upscrape.com/docs/api/authentication)
- [Jobs and results](https://docs.upscrape.com/docs/api/jobs)
- [Errors and retries](https://docs.upscrape.com/docs/api/errors)
- [Idempotency](https://docs.upscrape.com/docs/api/idempotency)
