# Live Bluesky following

`GET https://api.handlesapi.com/v1/scrape/bluesky/following`

The GET /v1/scrape/bluesky/following endpoint of Handles API (Live scrape): Live Bluesky following. One call costs 2 credits (a live read of the platform) and needs the `scrape:live` scope. A success returns JSON as `{ data, meta }`.

A live, cursor-paged list of the accounts a Bluesky account follows, read from the public Bluesky AppView.

This is a sensitive scope. Keys are not granted it by default, and calls are audited.

Metered as a live call: it counts against the separate live-per-minute bucket as well as your normal rate limit, because it reaches an upstream source.

- Cost: 2 live units per call, drawn against the live-per-minute bucket.
- limit is 1 to 100, default 50. Page with paging.next_cursor until it is null. A page can hold fewer than limit items while next_cursor is still set: Bluesky drops deleted and blocked accounts from the page, so keep paging rather than stopping on a short page.
- Fields the account has not set (display_name, avatar_url, description) are null, never an empty string.
- Errors: 404 not_found when the account does not exist; 503 upstream_blocked or upstream_busy with Retry-After when the source pushes back; 503 upstream_timeout or upstream_error when it is slow or unreachable.

## Request

```bash
curl "https://api.handlesapi.com/v1/scrape/bluesky/following?handle=bsky.app" \
  -H "Authorization: Bearer $HANDLES_API_KEY"
```

`HANDLES_API_KEY` is a key from your dashboard; send it as `Authorization: Bearer` or `x-api-key`.

## Parameters

- `handle` (query, string, required): Bluesky handle, with or without @. A bare name is completed to name.bsky.social. (example: bsky.app)
- `limit` (query, integer, optional): Maximum items to return, 1 to 100. Default 50. A page can come back shorter. (default: 50; example: 25)
- `cursor` (query, string, optional): Opaque cursor from paging.next_cursor of the previous page. Pass it back verbatim.

## Response

```json
{
  "data": {
    "platform": "bluesky",
    "handle": "bsky.app",
    "items": [
      {
        "did": "did:plc:ragtjsm2j2vknwkz3zp4oxrd",
        "handle": "pfrazee.com",
        "display_name": "Paul Frazee",
        "avatar_url": "https://cdn.bsky.app/img/avatar/plain/did:plc:ragtjsm2j2vknwkz3zp4oxrd/example@jpeg",
        "description": "Example profile description.",
        "created_at": "2023-04-12T00:12:41.000Z",
        "indexed_at": "2024-02-02T11:20:09.000Z"
      },
      {
        "did": "did:plc:examplefollower0000000001",
        "handle": "example.bsky.social",
        "display_name": null,
        "avatar_url": null,
        "description": null,
        "created_at": null,
        "indexed_at": "2026-11-27T09:00:00.000Z"
      }
    ],
    "paging": {
      "supported": true,
      "next_cursor": "eyJjIjoiMjAyNi0xMS0yNyJ9"
    }
  },
  "meta": {
    "request_id": "req_9f2c41a8b3d5",
    "generated_at": "2026-08-23T09:14:02.317Z",
    "took_ms": 42,
    "cache_age_s": 0
  }
}
```

## Errors

- 401 unauthorized: No key was sent, or the key is unknown or revoked.
- 402 quota_exceeded: Your plan's credits for this period are used up and overage is off (or its cap is reached). Waiting does not help: upgrade, or turn on overage in the dashboard.
- 404 not_found: The addressed resource does not exist.
- 422 invalid_request, not_supported_live: A parameter is malformed, out of range or mutually exclusive with another (invalid_request). details names the offending fields, for example cursor: not_supported on a live posts platform that only serves its latest page. not_supported_live is a documented limit rather than a bad parameter: the platform publishes nothing this route can read live (LinkedIn posts), so do not retry.
- 429 rate_limited, live_limit_reached: Too many requests. rate_limited clears when the minute window resets (see Retry-After); live_limit_reached (Free plan) clears at 00:00 UTC.
- 500 internal_error: Something failed on our side. The call was not charged; quote the request_id to support.
- 503 upstream_timeout, upstream_error, upstream_busy, upstream_blocked, platform_unavailable, service_unavailable: The call could not be served right now and was not charged. upstream_timeout / upstream_error: a data source was slow or failed, retry with backoff. upstream_busy / upstream_blocked: live capacity is busy or the platform is refusing reads, wait Retry-After. platform_unavailable: that platform cannot be read right now. service_unavailable: retry shortly.

Failures use the error envelope `{ error: { code, message, request_id } }`: https://handlesapi.com/docs/errors

Source: https://handlesapi.com/docs/reference/scrape-bluesky-following
