# Bluesky 用户帖子爬虫 REST API 文档 | Scrapier (https://scrapier.io/zh/scrapers/bluesky/posts/api/)

> 用 cURL、Python 或 Node.js 调用 Bluesky 用户帖子爬虫 REST API。一次 GET、一个请求头、带类型的 JSON。每页 10 积分。失败的调用免费。无需登录。

Last updated: 2026-11-28

**GET**/api/v2/bluesky-user-posts/

## Bluesky 用户帖子爬虫 _API_

最后更新：2026 年11月 9 日 · REST · JSON

简要回答

发送 `GET https://api.scrapier.io/api/v2/bluesky-user-posts/?handles=espn.com`，并在 `X-API-Key` 请求头中带上你的密钥，即可以 JSON 获得帖子页。每页帖子 10 积分；失败的调用免费。

- 每页帖子 10 积分
- 失败的调用免费
- 没有速率限制

[获取免费 API 密钥 →](https://app.scrapier.io/sign-up)[跳转到试用区](#playground)

复制给 你的 AI 智能体

API

## 调用 Bluesky 用户帖子爬虫 API

在你自己的应用、脚本或智能体中使用 Bluesky 用户帖子爬虫 API。你需要一个 Scrapier 账户，以及控制台中的 API 密钥。选择一种语言。

posts.py

import requests\# Replace YOUR\_API\_KEY with the key from your Scrapier dashboardAPI\_KEY = "YOUR\_API\_KEY"params = {    "handles": "espn.com",    "filter": "posts\_and\_author\_threads",    "include\_pins": "true",    "compute\_metrics": "true",    "video\_duration": "true",}r = requests.get(    "https://api.scrapier.io/api/v2/bluesky-user-posts/",    headers={"X-API-Key": API\_KEY},    params=params,    timeout=210,)r.raise\_for\_status()\# The result sits under data.postsresult = r.json()\["data"\]\["posts"\]print(result)

### Python 中的 Bluesky 用户帖子爬虫 API

只需普通的 `requests`，无需 SDK。每个响应都是类型化 JSON。

安装

**$** pip install requests

其他调用方式

试用区

## Bluesky 用户帖子爬虫 API 交互式试用

编辑请求，观察代码更新，然后运行。没有密钥时它显示目录示例，不计费。使用你的密钥时，它会从浏览器发出真实调用；密钥只会发送到 api.scrapier.io，从不存储。

就绪延迟 **—**已计费积分：**0**

请求已就绪`GET /api/v2/bluesky-user-posts/?handles=espn.com`

点击**运行请求**发送。没有密钥时你得到的是目录示例。

正在发送请求…

**错误**

失败的调用不计费。

[导入到 Postman](https://docs.scrapier.io/integrations/openapi.md)[OpenAPI 规范](https://api.scrapier.io/api/v2/openapi.json)

无论输入什么，示例都相同：它展示的是响应结构，而不是你输入的账户。

### 示例响应，目录示例，2026 年11月 9 日

{
  "success": true,
  "data": {
    "handles": "espn.com",
    "handle": "espn.com",
    "did": "did:plc:x7d6j54pm22ufehkes6jo4jf",
    "filter": "posts\_no\_replies",
    "include\_pins": true,
    "status": "ok",
    "note": null,
    "account\_followers\_count": 296583,
    "account\_posts\_count": 872,
    "page": 1,
    "page\_size": 30,
    "cursor\_sent": null,
    "bluesky\_cursor": "2025-09-25T17:06:11.912Z",
    "has\_more": true,
    "posts": \[
      {
        "input\_handle": "espn.com",
        "handle": "espn.com",
        "did": "did:plc:x7d6j54pm22ufehkes6jo4jf",
        "status": "ok",
        "position": 1,
        "post\_id": "3muznlkmspz2x",
        "uri": "at://did:plc:x7d6j54pm22ufehkes6jo4jf/app.bsky.feed.post/3muznlkmspz2x",
        "cid": "bafyreiceaay7jrgqznvxhttsmizofewx3mj6bwebjtz76nd2wh4hix4fty",
        "url": "https://bsky.app/profile/espn.com/post/3muznlkmspz2x",
        "text": "One more sleep until NFL football is BACK. 🏈",
        "published\_at": "2026-09-08T18:27:24.700Z",
        "indexed\_at": "2026-09-08T18:27:30.159Z",
        "author\_handle": "espn.com",
        "author\_did": "did:plc:x7d6j54pm22ufehkes6jo4jf",
        "author\_display\_name": "ESPN",
        "like\_count": 85,
        "reply\_count": 8,
        "repost\_count": 11,
        "quote\_count": 6,
        "bookmark\_count": 0,
        "is\_pinned": false,
        "is\_pinned\_copy": false,
        "is\_repost": false,
        "is\_reply": false,
        "media\_urls": \[
          "https://video.bsky.app/watch/.../playlist.m3u8"
        \],
        "thumbnail\_url": "https://video.bsky.app/watch/.../thumbnail.jpg",
        "duration\_seconds": 34.567,
        "post": {
          "id": "3muznlkmspz2x",
          "url": "https://bsky.app/profile/espn.com/post/3muznlkmspz2x",
          "content": {
            "text": "One more sleep until NFL football is BACK. 🏈",
            "...": "..."
          },
          "author": {
            "username": "espn.com",
            "display\_name": "ESPN",
            "verified": true,
            "did": "did:plc:x7d6j54pm22ufehkes6jo4jf",
            "...": "..."
          },
          "engagement": {
            "views": null,
            "likes": 85,
            "comments": 8,
            "shares": 11,
            "saves": 0,
            "quote\_count": 6
          },
          "flags": {
            "nsfw": false,
            "spoiler": null,
            "pinned": false,
            "deleted": false
          },
          "published\_at": "2026-09-08T18:27:24.700Z",
          "record": {
            "$type": "app.bsky.feed.post",
            "...": "..."
          },
          "embed": {
            "$type": "app.bsky.embed.video#view",
            "...": "..."
          },
          "...": "(same shape as the v1 row)"
        },
        "computed": {
          "engagement\_rate": 0.0371,
          "language": "en",
          "content\_category": "sports",
          "estimated\_reach": null
        },
        "category\_keywords": \[
          "football",
          "nfl"
        \],
        "account\_followers\_count": 296583,
        "account\_posts\_count": 872,
        "filter": "posts\_no\_replies",
        "pagination": {
          "page": 1,
          "cursor\_sent": null,
          "next\_cursor": "2025-09-25T17:06:11.912Z",
          "has\_more": true
        },
        "scraped\_at": "2026-09-22T08:47:10.412Z"
      },
      {
        "position": 2,
        "post\_id": "3mpglmolczz2w",
        "text": "Former Tennessee Titans and Arizona Cardinals running back Chris Johnson...",
        "like\_count": 129,
        "reply\_count": 16,
        "repost\_count": 33,
        "quote\_count": 17,
        "...": "(same shape as row 1)"
      },
      "... 28 more rows (positions 3-30: 3mov4cob7hn2x, 3mnzrylb65e2d, ... 3lzogruhwz52e) ..."
    \],
    "warnings": \[\],
    "next\_cursor": "eyJjIjoiMjAyNS0wOS0yNVQxNzowNjoxMS45MTJaIiwiaCI6ImVzcG4uY29tIiwibGsiOnsiZmlsdGVyIjoicG9zdHNfbm9fcmVwbGllcyJ9LCJwIjoxLCJwZiI6eyJkaWQiOiJkaWQ6cGxjOng3ZDZqNTRwbTIydWZlaGtlczZqbzRqZiIsImZvbGxvd2Vyc0NvdW50IjoyOTY1ODMsImhhbmRsZSI6ImVzcG4uY29tIiwicG9zdHNDb3VudCI6ODcyfSwicGluIjpudWxsLCJwb3MiOjMwLCJzIjpbImtlczZqbzRqZi8zbXV6bmxrbXNwejJ4Iiwia2VzNmpvNGpmLzNtcGdsbW9sY3p6MnciLCIuLi4iXX0"
  }
}

数据

## 你可以提取的数据

Bluesky 用户帖子爬虫每次调用按动态顺序提取一个 Bluesky 账户的帖子，每页最多 30 条：包括每条帖子的正文、URL、日期、点赞、回复、转发、引用和收藏数、媒体、视频时长和计算出的互动率，以及该账户的粉丝数和帖子数。下面的每个字段都来自目录中的示例响应，是带类型的 JSON。

帖子

响应中有 12 个字段。

- position
- post\_id
- uri
- cid
- url
- text
- published\_at
- indexed\_at
- 另外 4 项

互动

响应中有 7 个字段。

- like\_count
- reply\_count
- repost\_count
- quote\_count
- bookmark\_count
- computed
- category\_keywords

媒体与标记

响应中有 7 个字段。

- media\_urls
- thumbnail\_url
- duration\_seconds
- is\_pinned
- is\_pinned\_copy
- is\_repost
- is\_reply

作者与账户

响应中有 9 个字段。

- input\_handle
- handle
- did
- author\_handle
- author\_did
- author\_display\_name
- account\_followers\_count
- account\_posts\_count
- 另有 +1 个

响应结构与分页

响应中共 17 个字段。

- success
- data.handles
- data.handle
- data.did
- data.filter
- data.include\_pins
- data.status
- data.note
- 另有 +9

结构

## 响应结构参考

示例响应中的每个字段。字段名每次调用都保持不变。

| 字段 | 类型 | 示例 | 说明 |
| --- | --- | --- | --- |
| `posts.position` | integer | `1` | 帖子在该页上的位置 |
| `posts.post_id` | string | `"3muznlkmspz2x"` | 帖子 ID（记录键） |
| `posts.uri` | string | `"at://did:plc:x7d6j54pm22ufehkes6jo4jf/app.b…"` | 帖子的 at:// URI |
| `posts.cid` | string | `"bafyreiceaay7jrgqznvxhttsmizofewx3mj6bwebjt…"` | 帖子记录的内容 ID |
| `posts.url` | string | `"https://bsky.app/profile/espn.com/post/3muz…"` | 帖子在 bsky.app 上的 URL |
| `posts.text` | string | `"One more sleep until NFL football is BACK. 🏈"` | 帖子正文 |
| `posts.published_at` | string | `"2026-09-08T18:27:24.700Z"` | 帖子发布的时间 |
| `posts.indexed_at` | string | `"2026-09-08T18:27:30.159Z"` | Bluesky 索引该帖子的时间 |
| `posts.status` | string | `"ok"` | 行状态，帖子读取成功时为 ok |
| `posts.post` | object | `{…}` | 完整的帖子对象：内容、作者、互动、标记、记录和嵌入内容 |
| `posts.pagination` | object | `{…}` | 该行的翻页详情：页码、发送的游标、下一个游标、has\_more |
| `posts.scraped_at` | string | `"2026-09-22T08:47:10.412Z"` | 该行被抓取的 UTC 时间 |
| `posts.like_count` | integer | `85` | 帖子的点赞数 |
| `posts.reply_count` | integer | `8` | 帖子的回复数 |
| `posts.repost_count` | integer | `11` | 帖子的转发数 |
| `posts.quote_count` | integer | `6` | 帖子的引用帖数 |
| `posts.bookmark_count` | integer | `0` | 帖子的收藏数 |
| `posts.computed` | object | `{…}` | 包含 engagement\_rate、language、content\_category 和 estimated\_reach 的对象 |
| `posts.category_keywords` | array | `2 items` | 内容分类所依据的关键词 |
| `posts.media_urls` | array | `1 items` | 附带媒体的 URL |
| `posts.thumbnail_url` | string | `"https://video.bsky.app/watch/.../thumbnail.…"` | 视频帖子的缩略图 URL |
| `posts.duration_seconds` | number | `34.567` | 视频长度（秒） |
| `posts.is_pinned` | boolean | `false` | 置顶帖在其动态位置上为 true |
| `posts.is_pinned_copy` | boolean | `false` | 添加到第 1 页顶部的置顶副本为 true |
| `posts.is_repost` | boolean | `false` | 该条目是转发时为 true |
| `posts.is_reply` | boolean | `false` | 帖子是回复时为 true |
| `posts.input_handle` | string | `"espn.com"` | 你发送的用户名 |
| `posts.handle` | string | `"espn.com"` | 解析后的用户名 |
| `posts.did` | string | `"did:plc:x7d6j54pm22ufehkes6jo4jf"` | 账户的去中心化 ID |
| `posts.author_handle` | string | `"espn.com"` | 帖子作者的用户名 |
| `posts.author_did` | string | `"did:plc:x7d6j54pm22ufehkes6jo4jf"` | 帖子作者的 DID |
| `posts.author_display_name` | string | `"ESPN"` | 帖子作者的显示名称 |
| `posts.account_followers_count` | integer | `296583` | 账户的粉丝数 |
| `posts.account_posts_count` | integer | `872` | 账户的帖子数 |
| `posts.filter` | string | `"posts_no_replies"` | 所应用的动态筛选 |
| `success` | boolean | `true` | 每个 200 响应都为 true |
| `data.handles` | string | `"espn.com"` | 你的输入，原样返回 |
| `data.handle` | string | `"espn.com"` | 解析后的用户名 |
| `data.did` | string | `"did:plc:x7d6j54pm22ufehkes6jo4jf"` | 账户的去中心化 ID |
| `data.filter` | string | `"posts_no_replies"` | 本响应的动态筛选 |
| `data.include_pins` | boolean | `true` | 是否包含置顶帖 |
| `data.status` | string | `"ok"` | ok；账户无法读取时为 not\_found 等状态 |
| `data.note` | null | `null` | 附加说明；没有则为 null |
| `data.account_followers_count` | integer | `296583` | 账户的粉丝数 |
| `data.account_posts_count` | integer | `872` | 账户的帖子数 |
| `data.page` | integer | `1` | 本次响应的页码 |
| `data.page_size` | integer | `30` | 每页帖子数 |
| `data.cursor_sent` | null | `null` | 你发送的游标；首次调用为 null |
| `data.bluesky_cursor` | string | `"2025-09-25T17:06:11.912Z"` | Bluesky 自己的动态位置游标 |
| `data.has_more` | boolean | `true` | 还有更多页时为 true |
| `data.warnings` | array | `[]` | 该页的警告列表 |
| `data.next_cursor` | string | `"eyJjIjoiMjAyNS0wOS0yNVQxNzowNjoxMS45MTJaIiw…"` | 作为 cursor 传回即可获取下一页；最后一页为 null |

参数

## 请求参数参考

| 名称 | 类型 | 必填 | 默认值 | 说明 | 示例 |
| --- | --- | --- | --- | --- | --- |
| `handles` | string | 是 | — | Bluesky 用户名（`espn.com`、`@espn.com`）、个人资料 URL、`at://` URI 或 DID。每次调用一个账户。首次调用必填；提供 `cursor` 时忽略。别名：`handle`、`user_id`、`user_ids`、`did`、`dids`、`username`、`url`、`urls`、`profile_url`、`profile_urls` | `espn.com` |
| `cursor` | string | 否 | — | 原样传回上一个响应的 `data.next_cursor`，即可获取下一页；`null` 表示最后一页 | — |
| `filter` | string | 否 | `posts_and_author_threads` | 包含哪些帖子，默认 `posts_and_author_threads`。选项：`posts_and_author_threads`、`posts_no_replies`、`posts_with_replies`、`posts_with_media`、`posts_with_video`。一页可能少于 30 条。锁定在游标中 | `posts_and_author_threads` |
| `include_pins` | boolean | 否 | `true` | 默认 `true`：置顶帖会添加到第 1 页顶部（`is_pinned_copy` 为 true）。`false` 则只返回按时间顺序的帖子。锁定在游标中 | `true` |
| `compute_metrics` | boolean | 否 | `true` | 默认 `true`：填充 `account_followers_count`、`account_posts_count` 和 `computed.engagement_rate`。锁定在游标中 | `true` |
| `video_duration` | boolean | 否 | `true` | 默认 `true`：视频帖子会获得 `duration_seconds`。锁定在游标中 | `true` |
| `use_proxy` | boolean | 否 | `true` | 通过 Scrapier 的住宅代理池路由，默认开启。保持原样即可 | `true` |
| `raw_data` | boolean | 否 | `false` | 在 `raw_responses` 下返回 Bluesky 的上游原始载荷，而不是格式化后的条目 | `true` |

每次调用一个账户：要读取十个账户，就调用十次，并用 `cursor` 为每个账户翻页。布尔值是字符串 `true` 或 `false`。

### Bluesky 用户帖子爬虫 API 的分页

Bluesky 用户帖子爬虫 API 分页返回结果。把 `data.next_cursor` 作为 `cursor` 传回即可获取下一页；它为 `null` 时表示没有更多了。每次成功的调用，无论是第一页还是之后的页，都消耗 10 积分。

访问

## 无需 Bluesky 登录即可访问

Bluesky 用户帖子爬虫 API 不需要 Bluesky 账户、登录或会话 Cookie。你在 `X-API-Key` 请求头中发送 Scrapier 密钥，即可获得 JSON。它只读取公开数据：任何访客无需登录就能看到的内容。

性能

## 速度、成本和并发

| 指标 | 数值 | 来源 |
| --- | --- | --- |
| 成功调用的成本 | 10 积分 | Scrapier 目录 |
| 失败调用的成本 | 0 积分 | 任何非 2xx 响应 |
| 每个密钥的并行请求数 | 无限制 | 所有套餐均无速率限制 |
| 建议的客户端超时 | 210 秒 | Scrapier 文档，适用于每个端点 |

### Bluesky 用户帖子爬虫 API 的延迟

Scrapier 不公布该端点的延迟或成功率数据。每次调用都在调用时读取 Bluesky，所以响应时间取决于 Bluesky 和结果的大小。请按文档对每个端点的建议，把客户端超时设为 210 秒。

限制

## 端点的限制

Bluesky 用户帖子爬虫 API 的实际限制。

- 仅限公开数据。
- 失败的调用，例如帖子页缺失或不可用，会返回非 2xx 状态，并消耗 0 积分。
- 数据在调用时实时读取。
- 没有速率限制，因此需要多少并行请求，就发多少。
- 较大的结果分页返回；把 `data.next_cursor` 作为 `cursor` 传回。
- Bluesky 没有显示的字段不会返回。

对比

## Scrapier 与官方 Bluesky API 对比

如果你需要完全定制的爬虫，或已经运行自己的抓取技术栈，自建能提供更多控制；Scrapier 适合想用一个密钥、一种 JSON 结构覆盖多个平台的团队。

| 功能 | Scrapier Bluesky 爬虫 | 自建 Bluesky 抓取 |
| --- | --- | --- |
| 所需权限 | 一个 Scrapier API 密钥 | 你自己的代理、解析器和服务器 |
| 哪些数据 | 某个账户的帖子，与 Bluesky 显示的一致，每页 30 条 | 你的解析器提取到什么就是什么 |
| 返回的字段 | 每条帖子 35 个字段：正文、日期、互动计数、媒体和计算指标 | 你构建并维护什么就是什么 |
| 设置 | 注册，复制密钥，发送请求 | 编写选择器，处理封锁和重试 |
| 成本 | 每页 10 积分，每 1,000 次调用低至 $1.20 | 代理、服务器和工程时间 |

错误

## 错误与重试处理

| 状态 | 含义 | 是否计费 | 解决办法 |
| --- | --- | --- | --- |
| 200 | 在 `data.posts` 中返回的帖子页数据 | 是 | — |
| 400 | 输入有误或缺失 | 否 | 请检查 `handles`：每次调用一个值 |
| 401 | 缺少 `X-API-Key` 请求头 | 否 | 添加该请求头 |
| 402 | 积分用完（响应体含 `balance`） | 否 | 充值；重试无济于事 |
| 403 | API 密钥无效或已撤销 | 否 | 在控制台中检查密钥 |
| 429 | 被限流 | 否 | 等待 `Retry-After` 秒后重试 |
| 5xx | 上游故障或超时 | 否 | 退避重试；把客户端超时设为 210 s |

来自[错误参考](https://docs.scrapier.io/errors/)。任何非 2xx 响应消耗 0 积分。

### Bluesky 用户帖子爬虫 API 的重试逻辑

retry.py

import time, requests

def get\_posts(value, key, tries=5):
    for attempt in range(tries):
        r = requests.get(
            "https://api.scrapier.io/api/v2/bluesky-user-posts/",
            headers={"X-API-Key": key},
            params={"handles": value},
            timeout=210,
        )
        if r.status\_code == 429:
            time.sleep(int(r.headers.get("Retry-After", 2 \*\* attempt)))
        elif r.status\_code >= 500:
            time.sleep(2 \*\* attempt)
        else:
            r.raise\_for\_status()
            return r.json()
    raise RuntimeError("gave up after retries")

价格

## 价格与速率限制

| 套餐 | 月费 | 包含的帖子页数 | 每 1,000 次成本 |
| --- | --- | --- | --- |
| Hobby | $29 | 15,000 | $1.93 |
| Pro | $79 | 50,000 | $1.58 |
| Scale | $299 | 250,000 | $1.20 |

[查看所有套餐 →](https://scrapier.io/zh/pricing/)

### Bluesky 用户帖子爬虫 API 的计费规则

Bluesky User Posts Scraper API 按每个成功获取的帖子页收取 10 积分。失败的调用（即任何非 2xx 状态）消耗 0 积分。所有套餐都没有速率限制。付费前可以先用免费额度试用。

批量

## 批量查询与 CSV

`handles` 每次调用只接受一个值。对于列表，循环并行调用（没有速率限制），然后把每一行展平为一行 CSV。

bulk.py

import csv, requests
from concurrent.futures import ThreadPoolExecutor

values = \["espn.com"\]  \# your list

def fetch(value):
    r = requests.get(
        "https://api.scrapier.io/api/v2/bluesky-user-posts/",
        headers={"X-API-Key": "YOUR\_API\_KEY"},
        params={"handles": value},
        timeout=210,
    )
    r.raise\_for\_status()
    out = r.json()\["data"\]\["posts"\]
    return out if isinstance(out, list) else \[out\]

\# no rate limits: use as many workers as you need
with ThreadPoolExecutor(max\_workers=3) as pool:
    rows = \[row for part in pool.map(fetch, values) for row in part\]

cols = \["text", "published\_at", "like\_count", "reply\_count", "repost\_count", "quote\_count"\]
with open("out.csv", "w", newline="") as f:
    w = csv.DictWriter(f, fieldnames=cols, extrasaction="ignore")
    w.writeheader()
    w.writerows(rows)

### 从 Bluesky 用户帖子爬虫 API 导出 CSV

out.csv目录示例 · 1 行

text,published\_at,like\_count,reply\_count,repost\_count,quote\_count
One more sleep until NFL football is BACK. 🏈,2026-09-08T18:27:24.700Z,85,8,11,6

智能体

## 通过 MCP 供 AI 智能体访问

### Bluesky 用户帖子爬虫 API 的 MCP

AI 智能体可通过 Scrapier MCP 服务器 `https://mcp.scrapier.io/mcp` 使用同一个端点。在 Claude Code 中一条命令即可注册：`claude mcp add -t http scrapier https://mcp.scrapier.io/mcp --header "X-API-Key: YOUR_API_KEY"`。智能体用 `search_endpoints` 找到该端点，再用 `run_scrape` 和端点 ID `bluesky-user-posts` 调用它。它接受相同的 `handles` 输入，每页帖子同样消耗 10 积分。各客户端的设置见 [Bluesky 用户帖子爬虫 MCP 页面](https://scrapier.io/zh/scrapers/bluesky/posts/mcp/)。

集成

## 按角色划分的集成路径

无代码

### n8n 和 Make

1. 添加一个 HTTP Request 步骤
2. 带上你的 `X-API-Key` 请求头，对该端点发送 GET
3. 把 `data.posts` 字段映射到你的列

开发者

### 循环并翻页

for value in values: rows += get(value) while cur := page\["data"\]\["next\_cursor"\]: page = get(cursor=cur)

AI 智能体

### 智能体中的 MCP 工具

在 Claude、Cursor 或 Windsurf 中，用端点 `bluesky-user-posts` 调用 `run_scrape`。设置见 [MCP 页面](https://scrapier.io/zh/scrapers/bluesky/posts/mcp/)。

分析师

### CSV 和展平的 JSON

把每一行展平为一行 CSV，每个字段一列，可直接用于 Sheets、Excel 或 BI 工具。

法律

## 法律与合规说明

抓取公开可用的网页在许多国家通常是合法的，但答案取决于你收集什么、你身在何处以及如何使用。在美国，hiQ Labs v. LinkedIn 是公开数据抓取中最常被引用的案例。Scrapier 只返回任何访客无需登录就能看到的数据。帖子由人撰写，可能包含个人信息，所以只收集你需要的内容。在 GDPR 及类似法律下，收集公开数据可能是允许的，但你如何存储和使用个人数据仍须符合当地的数据保护规定，并且 Bluesky 的条款同样适用。如果你的用例涉及大量存储个人数据，请咨询法律顾问。这不构成法律建议；请参阅我们的[使用条款](https://scrapier.io/zh/terms/)。

常见问题

## 常见问题

### 有 Bluesky 帖子页 API 吗？

有。Scrapier 的 Bluesky 用户帖子爬虫 API 只需一次 GET 请求和一个 X-API-Key 请求头，就能以 JSON 返回任何公开的帖子页。无需 Bluesky 应用或登录。

### 如何从 Python 调用？

对 \<code>https://api.scrapier.io/api/v2/bluesky-user-posts/\</code> 使用 \<code>requests.get\</code>，带上 \<code>params={'handles': 'espn.com'}\</code> 和 \<code>headers={"X-API-Key": KEY}\</code>。读取 \<code>r.json()\["data"\]\["posts"\]\</code>。

### 调用失败时会怎样？

任何非 200 响应都免费。对 429 和 5xx 请退避重试；API 已经会重试上游故障。

### 多少钱？

每次成功调用 10 积分，在 Pro 套餐上每 1,000 页帖子约 $1.58。失败的调用免费。

### 有 OpenAPI 规范吗？

有。获取它无需密钥，并且涵盖每个 Scrapier 端点。

相关

## 相关 Bluesky API

[### 个人资料 API

一个用户名的简介，以及粉丝数、关注数、帖子数和点赞数，并附互动率和预估触达。](https://scrapier.io/zh/scrapers/bluesky/profile/)[### 单条帖子 API

按 URL 获取一条帖子及其回复讨论串（逐行返回），并附每条帖子的互动指标。](https://scrapier.io/zh/scrapers/bluesky/post/)[### 全部 Bluesky API

全部 3 个 Bluesky 端点。](https://scrapier.io/zh/scrapers/bluesky/)

## 一次请求，把公开的 Bluesky 帖子页取回为带类型的 JSON

每页帖子 10 积分 · 失败的调用免费

[获取免费 API 密钥 →](https://app.scrapier.io/sign-up)

---
Canonical page: https://scrapier.io/zh/scrapers/bluesky/posts/api/
Site index for AI agents: https://scrapier.io/llms.txt
