{
  "openapi": "3.1.0",
  "info": {
    "title": "Bluesky API",
    "version": "1.0.0",
    "description": "A Bluesky API for public Bluesky data: posts with the reply, repost, like, quote and bookmark counts Bluesky reports, reply trees, quotes, who liked and reposted a post, account profiles, an account’s posts, likes, followers and following, post, hashtag and account search, trending topics and their posts, custom feeds, lists and starter packs, as structured JSON with cursor paging, a media download link and a free URL parser. Every account and post carries loggedOutVisibility (public, opted-out or unknown); honouring it is your responsibility."
  },
  "servers": [
    {
      "url": "https://api.fetchlayer.dev/bluesky"
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "components": {
    "schemas": {
      "Error": {
        "type": "object",
        "description": "Every error, on every route. Branch on code and retryable rather than on the text; on a 5xx the text is generic. MCP tool errors carry the same fields in structuredContent, and as a JSON text block.",
        "properties": {
          "error": {
            "type": "string",
            "description": "What went wrong, in words. For a 400, what to change."
          },
          "status": {
            "type": "integer",
            "description": "The HTTP status, repeated in the body."
          },
          "code": {
            "type": "string",
            "description": "The kind of error, stable: invalid_input, unauthorized, insufficient_credits, forbidden, not_found, expired, quota_exceeded, cancelled, time_limit, temporarily_unavailable, posts_unavailable, account_restricted, accounts_unavailable, follow_up_not_sent, store_unreachable, upstream_error, target_error, internal_error, tool_error. A platform may add its own; more may be added. Treat a code you do not recognise by its retryable flag."
          },
          "retryable": {
            "type": "boolean",
            "description": "Whether asking again can succeed."
          },
          "requestId": {
            "type": "string",
            "description": "This request’s id, also sent as the X-Request-Id header. Quote it when reporting a problem."
          },
          "missing": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "With invalid_input when the request's parameters are refused before the request runs: the parameters that were missing. Always present on those errors, empty when nothing was missing."
          }
        },
        "required": [
          "error",
          "code",
          "retryable",
          "requestId"
        ]
      }
    },
    "securitySchemes": {
      "BearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key",
        "description": "Send your FetchLayer key as Authorization: Bearer ss-your-key."
      }
    }
  },
  "paths": {
    "/post-detail": {
      "post": {
        "operationId": "post-detail",
        "tags": [
          "Posts & replies"
        ],
        "summary": "Get one post in full",
        "description": "One public Bluesky post in full: author, text with its mentions, links and hashtags, time, the reply, repost, like, quote and bookmark counts as Bluesky reports them, images and video, link card, and the post it quotes. For a reply, includeParents returns the posts it answers. A post that does not exist, or that Bluesky removed, is a 404. 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "post": {
                    "type": "string",
                    "description": "A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address."
                  },
                  "includeParents": {
                    "type": "boolean",
                    "description": "For a reply, also return the posts it replies to, oldest first, in parents. A note says when part of that chain is no longer available.",
                    "example": "false"
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "post"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "post": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The post.",
                      "properties": {
                        "uri": {
                          "type": "string",
                          "description": "The post’s at:// address. Every tool that takes post accepts it."
                        },
                        "cid": {
                          "type": "string",
                          "description": "The content hash of this version of the post."
                        },
                        "url": {
                          "type": "string",
                          "description": "Link to the post on bsky.app."
                        },
                        "author": {
                          "type": "object",
                          "properties": {
                            "did": {
                              "type": "string",
                              "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                            },
                            "handle": {
                              "type": "string",
                              "description": "The handle, such as bsky.app."
                            },
                            "displayName": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The display name."
                            },
                            "avatarUrl": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "The avatar image."
                            },
                            "url": {
                              "type": "string",
                              "description": "Link to the profile."
                            },
                            "isVerified": {
                              "type": "boolean",
                              "description": "Whether the account shows Bluesky’s verification badge."
                            },
                            "labels": {
                              "type": "array",
                              "items": {
                                "type": "string"
                              },
                              "description": "Moderation and self-applied labels on the account, such as bot."
                            },
                            "loggedOutVisibility": {
                              "type": "string",
                              "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                            },
                            "createdAt": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "description": "When the account was created (ISO 8601)."
                            }
                          },
                          "additionalProperties": true
                        },
                        "text": {
                          "type": "string",
                          "description": "The post’s text."
                        },
                        "entities": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                        },
                        "tags": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Hashtags attached outside the text."
                        },
                        "langs": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "The languages the author declared."
                        },
                        "createdAt": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When it was posted, as written by the author’s app (ISO 8601)."
                        },
                        "indexedAt": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When Bluesky first saw it."
                        },
                        "replyCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Replies, as Bluesky counts them."
                        },
                        "repostCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Reposts, as Bluesky counts them."
                        },
                        "likeCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Likes, as Bluesky counts them."
                        },
                        "quoteCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Quotes, as Bluesky counts them."
                        },
                        "bookmarkCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Bookmarks, as Bluesky counts them."
                        },
                        "media": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "additionalProperties": true
                          },
                          "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                        },
                        "linkCard": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": true,
                          "description": "A link card on the post: { url, title, description, imageUrl }."
                        },
                        "quotedPost": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": true,
                          "description": "The post this one quotes, in the same shape, one level deep."
                        },
                        "quotedUnavailable": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                        },
                        "replyTo": {
                          "type": [
                            "object",
                            "null"
                          ],
                          "additionalProperties": true,
                          "description": "For a reply: { parentUri, rootUri }."
                        },
                        "loggedOutVisibility": {
                          "type": "string",
                          "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                        },
                        "labels": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Labels on the post."
                        }
                      }
                    },
                    "parents": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "With includeParents on a reply: the posts it replies to, oldest first. Empty otherwise."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "post": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
                        "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                        "author": {
                          "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                          "handle": "bsky.app",
                          "displayName": "Bluesky",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                          "url": "https://bsky.app/profile/bsky.app",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2023-04-12T04:53:57.057Z"
                        },
                        "text": "👋  Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this account. A quick orientation thread: 🧵✨",
                        "entities": [],
                        "tags": [],
                        "langs": [
                          "en"
                        ],
                        "createdAt": "2024-10-17T07:06:51.491Z",
                        "indexedAt": "2024-10-17T07:06:51.491Z",
                        "likeCount": 63842,
                        "replyCount": 8778,
                        "repostCount": 9585,
                        "quoteCount": 729,
                        "bookmarkCount": 290,
                        "media": [],
                        "linkCard": null,
                        "quotedPost": null,
                        "quotedUnavailable": null,
                        "replyTo": null,
                        "labels": [],
                        "loggedOutVisibility": "public"
                      },
                      "parents": []
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/post-replies": {
      "post": {
        "operationId": "post-replies",
        "tags": [
          "Posts & replies"
        ],
        "summary": "Read the replies to a post",
        "description": "The replies under a post as a tree, in Bluesky’s ranking (top), newest or oldest first, each a full post with its own counts, nested up to five levels. Bluesky returns a sample of a large thread in one read and offers no further pages: hasMore and a note say when the list is incomplete. Replies the post’s author hid are not included, and Bluesky itself may leave out replies from opted-out accounts; a note says so. Up to 500 top-level replies. 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "post": {
                    "type": "string",
                    "description": "A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address."
                  },
                  "sort": {
                    "type": "string",
                    "description": "top: Bluesky’s ranking. newest or oldest.",
                    "example": "top"
                  },
                  "depth": {
                    "type": "integer",
                    "description": "Levels of replies to replies, 0-5.",
                    "example": "1"
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many top-level replies to return, 1-500.",
                    "example": "100"
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "post"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                    "depth": 1,
                    "limit": 10
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "post": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The post the replies belong to: { uri, url, replyCount }."
                    },
                    "sort": {
                      "type": "string",
                      "description": "The order used."
                    },
                    "depth": {
                      "type": "number",
                      "description": "The depth used."
                    },
                    "replyCount": {
                      "type": "number",
                      "description": "How many top-level replies are in this response."
                    },
                    "replies": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "post": {
                            "type": "object",
                            "properties": {
                              "uri": {
                                "type": "string",
                                "description": "The post’s at:// address. Every tool that takes post accepts it."
                              },
                              "cid": {
                                "type": "string",
                                "description": "The content hash of this version of the post."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the post on bsky.app."
                              },
                              "author": {
                                "type": "object",
                                "properties": {
                                  "did": {
                                    "type": "string",
                                    "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                                  },
                                  "handle": {
                                    "type": "string",
                                    "description": "The handle, such as bsky.app."
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The display name."
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The avatar image."
                                  },
                                  "url": {
                                    "type": "string",
                                    "description": "Link to the profile."
                                  },
                                  "isVerified": {
                                    "type": "boolean",
                                    "description": "Whether the account shows Bluesky’s verification badge."
                                  },
                                  "labels": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Moderation and self-applied labels on the account, such as bot."
                                  },
                                  "loggedOutVisibility": {
                                    "type": "string",
                                    "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                                  },
                                  "createdAt": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "When the account was created (ISO 8601)."
                                  }
                                },
                                "additionalProperties": true
                              },
                              "text": {
                                "type": "string",
                                "description": "The post’s text."
                              },
                              "entities": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Hashtags attached outside the text."
                              },
                              "langs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The languages the author declared."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it was posted, as written by the author’s app (ISO 8601)."
                              },
                              "indexedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When Bluesky first saw it."
                              },
                              "replyCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Replies, as Bluesky counts them."
                              },
                              "repostCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Reposts, as Bluesky counts them."
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Likes, as Bluesky counts them."
                              },
                              "quoteCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Quotes, as Bluesky counts them."
                              },
                              "bookmarkCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Bookmarks, as Bluesky counts them."
                              },
                              "media": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                              },
                              "linkCard": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "A link card on the post: { url, title, description, imageUrl }."
                              },
                              "quotedPost": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "The post this one quotes, in the same shape, one level deep."
                              },
                              "quotedUnavailable": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                              },
                              "replyTo": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "For a reply: { parentUri, rootUri }."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Labels on the post."
                              }
                            },
                            "additionalProperties": true
                          }
                        }
                      },
                      "description": "Each { post, replies, moreReplies }: the reply, the replies under it, and whether it has more replies than were returned."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when the thread holds more replies than Bluesky returned in its one read."
                    },
                    "nextCursor": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "Always null: a reply tree has no further pages."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [
                        "Bluesky returns a limited sample of a large thread in one read and offers no way to page further, so this list is incomplete.",
                        "Some replies the author hid or that Bluesky ranks low are not included.",
                        "Bluesky itself may leave out replies from accounts that ask to be shown only to people with a Bluesky account (seen on 2026-11-24); they are then not in this list."
                      ],
                      "excludedCount": 0,
                      "post": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                        "replyCount": 8778
                      },
                      "sort": "top",
                      "depth": 1,
                      "replyCount": 10,
                      "replies": [
                        {
                          "post": {
                            "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m",
                            "cid": "bafyreid5gnc6nuo4jcnjkp52xu66otq3qioorrrowzlqrnc6l7pupii2eq",
                            "url": "https://bsky.app/profile/bsky.app/post/3l6ovfftinx2m",
                            "author": {
                              "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                              "handle": "bsky.app",
                              "displayName": "Bluesky",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                              "url": "https://bsky.app/profile/bsky.app",
                              "isVerified": false,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2023-04-12T04:53:57.057Z"
                            },
                            "text": "• Anyone can create and subscribe to feeds. There are 50k+ feeds here, like posts from mutuals, news, or cat photos!\n\nbsky.app/feeds\n\n• The Discover feed shows you posts that we think you'll like. Help us fine-tune it for you by using the \"Show more\" & \"Show less\" buttons in t…",
                            "entities": [
                              {
                                "type": "link",
                                "text": "bsky.app/feeds",
                                "url": "https://bsky.app/feeds"
                              }
                            ],
                            "tags": [],
                            "langs": [
                              "en"
                            ],
                            "createdAt": "2024-10-17T07:07:26.071Z",
                            "indexedAt": "2024-10-17T07:07:26.071Z",
                            "likeCount": 3245,
                            "replyCount": 61,
                            "repostCount": 283,
                            "quoteCount": 41,
                            "bookmarkCount": 10,
                            "media": [],
                            "linkCard": null,
                            "quotedPost": null,
                            "quotedUnavailable": null,
                            "replyTo": {
                              "parentUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                              "rootUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
                            },
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "replies": [
                            {
                              "post": {
                                "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovgyi7ah2t",
                                "cid": "bafyreifvkmpdgo4cbarvbt6he56cjchz5y2bpszsftrdackoobsba2lgiq",
                                "url": "https://bsky.app/profile/bsky.app/post/3l6ovgyi7ah2t",
                                "author": {
                                  "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                                  "handle": "bsky.app",
                                  "displayName": "Bluesky",
                                  "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                                  "url": "https://bsky.app/profile/bsky.app",
                                  "isVerified": false,
                                  "labels": [],
                                  "loggedOutVisibility": "public",
                                  "createdAt": "2023-04-12T04:53:57.057Z"
                                },
                                "text": "• On Bluesky, you own your online identity. If you own a website, you can set that as your username. We highly recommend official organizations / brands to do this , it's one form of self-verification here!",
                                "entities": [],
                                "tags": [],
                                "langs": [
                                  "en"
                                ],
                                "createdAt": "2024-10-17T07:08:19.185Z",
                                "indexedAt": "2024-10-17T07:08:19.185Z",
                                "likeCount": 3058,
                                "replyCount": 52,
                                "repostCount": 323,
                                "quoteCount": 83,
                                "bookmarkCount": 11,
                                "media": [],
                                "linkCard": {
                                  "url": "https://bsky.social/about/blog/4-28-2023-domain-handle-tutorial",
                                  "title": "How to set your domain as your handle - Bluesky",
                                  "description": "Using a domain as your handle helps with account identity, verification, and portability. Here's how to set your domain as your handle.",
                                  "imageUrl": null
                                },
                                "quotedPost": null,
                                "quotedUnavailable": null,
                                "replyTo": {
                                  "parentUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6ovfftinx2m",
                                  "rootUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l"
                                },
                                "labels": [],
                                "loggedOutVisibility": "public"
                              },
                              "replies": [],
                              "moreReplies": true
                            }
                          ],
                          "moreReplies": true
                        }
                      ],
                      "nextCursor": null,
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/post-quotes": {
      "post": {
        "operationId": "post-quotes",
        "tags": [
          "Posts & replies"
        ],
        "summary": "List the posts that quote a post",
        "description": "The posts that quote a post, each a full post. Up to 500 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "post": {
                    "type": "string",
                    "description": "A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many quote posts to return, 1-500. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "post": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The quoted post: { uri, url, quoteCount }."
                    },
                    "postCount": {
                      "type": "number",
                      "description": "How many quote posts are in this response. The price is set from it."
                    },
                    "posts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "uri": {
                            "type": "string",
                            "description": "The post’s at:// address. Every tool that takes post accepts it."
                          },
                          "cid": {
                            "type": "string",
                            "description": "The content hash of this version of the post."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the post on bsky.app."
                          },
                          "author": {
                            "type": "object",
                            "properties": {
                              "did": {
                                "type": "string",
                                "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                              },
                              "handle": {
                                "type": "string",
                                "description": "The handle, such as bsky.app."
                              },
                              "displayName": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The display name."
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The avatar image."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the profile."
                              },
                              "isVerified": {
                                "type": "boolean",
                                "description": "Whether the account shows Bluesky’s verification badge."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Moderation and self-applied labels on the account, such as bot."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When the account was created (ISO 8601)."
                              }
                            },
                            "additionalProperties": true
                          },
                          "text": {
                            "type": "string",
                            "description": "The post’s text."
                          },
                          "entities": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                          },
                          "tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Hashtags attached outside the text."
                          },
                          "langs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The languages the author declared."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When it was posted, as written by the author’s app (ISO 8601)."
                          },
                          "indexedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When Bluesky first saw it."
                          },
                          "replyCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Replies, as Bluesky counts them."
                          },
                          "repostCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Reposts, as Bluesky counts them."
                          },
                          "likeCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Likes, as Bluesky counts them."
                          },
                          "quoteCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Quotes, as Bluesky counts them."
                          },
                          "bookmarkCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Bookmarks, as Bluesky counts them."
                          },
                          "media": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                          },
                          "linkCard": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "A link card on the post: { url, title, description, imageUrl }."
                          },
                          "quotedPost": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "The post this one quotes, in the same shape, one level deep."
                          },
                          "quotedUnavailable": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                          },
                          "replyTo": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply: { parentUri, rootUri }."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Labels on the post."
                          }
                        }
                      },
                      "description": "The posts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more quote posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "post": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                        "quoteCount": 729
                      },
                      "postCount": 5,
                      "posts": [
                        {
                          "uri": "at://did:plc:example4/app.bsky.feed.post/3lexample4",
                          "cid": "bafyreiexample",
                          "url": "https://bsky.app/profile/example4.bsky.social/post/3lexample4",
                          "author": {
                            "did": "did:plc:example4",
                            "handle": "example4.bsky.social",
                            "displayName": "Example account 4",
                            "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                            "url": "https://bsky.app/profile/example4.bsky.social",
                            "isVerified": false,
                            "labels": [
                              "!no-unauthenticated"
                            ],
                            "loggedOutVisibility": "opted-out",
                            "createdAt": "2024-05-01T12:00:00.000Z"
                          },
                          "text": "Example post text.",
                          "entities": [],
                          "tags": [],
                          "langs": [
                            "en"
                          ],
                          "createdAt": "2026-11-10T16:25:40.241Z",
                          "indexedAt": "2026-11-10T16:25:40.569Z",
                          "likeCount": 0,
                          "replyCount": 0,
                          "repostCount": 0,
                          "quoteCount": 0,
                          "bookmarkCount": 0,
                          "media": [],
                          "linkCard": null,
                          "quotedPost": {
                            "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                            "cid": "bafyreicnt42y6vo6pfpvyro234ac4o6ijug6adwwrh7awflgrqlt4zibxq",
                            "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                            "author": {
                              "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                              "handle": "bsky.app",
                              "displayName": "Bluesky",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                              "url": "https://bsky.app/profile/bsky.app",
                              "isVerified": false,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2023-04-12T04:53:57.057Z"
                            },
                            "text": "👋  Bluesky is an open social network that gives creators independence from platforms, developers the freedom to build, and users a choice in their experience. We're so excited to have you here! \n\nWe share Bluesky updates & news from this account. A quick orientation thread: 🧵✨",
                            "entities": [],
                            "tags": [],
                            "langs": [
                              "en"
                            ],
                            "createdAt": "2024-10-17T07:06:51.491Z",
                            "indexedAt": "2024-10-17T07:06:51.491Z",
                            "likeCount": 63842,
                            "replyCount": 8778,
                            "repostCount": 9585,
                            "quoteCount": 729,
                            "bookmarkCount": null,
                            "media": [],
                            "linkCard": null,
                            "quotedPost": null,
                            "quotedUnavailable": null,
                            "replyTo": null,
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "quotedUnavailable": null,
                          "replyTo": null,
                          "labels": [],
                          "loggedOutVisibility": "opted-out"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoicG9zdC1xdW90ZXMiLCJz…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/post-likes": {
      "post": {
        "operationId": "post-likes",
        "tags": [
          "Posts & replies"
        ],
        "summary": "List the accounts that liked a post",
        "description": "The accounts that liked a post, most recent first, with when they liked it. Up to 1000 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "post": {
                    "type": "string",
                    "description": "A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many accounts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "post": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The post: { uri, url, likeCount }."
                    },
                    "userCount": {
                      "type": "number",
                      "description": "How many accounts are in this response. The price is set from it."
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "did": {
                            "type": "string",
                            "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                          },
                          "handle": {
                            "type": "string",
                            "description": "The handle, such as bsky.app."
                          },
                          "displayName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The display name."
                          },
                          "avatarUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The avatar image."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the profile."
                          },
                          "isVerified": {
                            "type": "boolean",
                            "description": "Whether the account shows Bluesky’s verification badge."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Moderation and self-applied labels on the account, such as bot."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account was created (ISO 8601)."
                          },
                          "at": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account liked the post."
                          }
                        }
                      },
                      "description": "The accounts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more accounts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "post": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                        "count": 63842
                      },
                      "userCount": 5,
                      "users": [
                        {
                          "did": "did:plc:example6",
                          "handle": "example6.bsky.social",
                          "displayName": "Example account 6",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example6.bsky.social",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z",
                          "at": "2026-11-25T13:55:39.007Z"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoicG9zdC1saWtlcyIsInMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/post-reposts": {
      "post": {
        "operationId": "post-reposts",
        "tags": [
          "Posts & replies"
        ],
        "summary": "List the accounts that reposted a post",
        "description": "The accounts that reposted a post. Up to 1000 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "post": {
                    "type": "string",
                    "description": "A post: its bsky.app link (https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l) or its at:// address. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many accounts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "post": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The post: { uri, url, repostCount }."
                    },
                    "userCount": {
                      "type": "number",
                      "description": "How many accounts are in this response. The price is set from it."
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "did": {
                            "type": "string",
                            "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                          },
                          "handle": {
                            "type": "string",
                            "description": "The handle, such as bsky.app."
                          },
                          "displayName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The display name."
                          },
                          "avatarUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The avatar image."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the profile."
                          },
                          "isVerified": {
                            "type": "boolean",
                            "description": "Whether the account shows Bluesky’s verification badge."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Moderation and self-applied labels on the account, such as bot."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account was created (ISO 8601)."
                          },
                          "at": {
                            "type": "object",
                            "additionalProperties": true,
                            "description": "Always null: Bluesky does not say when a repost was made in this list."
                          }
                        }
                      },
                      "description": "The accounts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more accounts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "post": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                        "count": 9585
                      },
                      "userCount": 5,
                      "users": [
                        {
                          "did": "did:plc:example5",
                          "handle": "example5.bsky.social",
                          "displayName": "Example account 5",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example5.bsky.social",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z",
                          "at": null
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoicG9zdC1yZXBvc3RzIiwi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/user-profile": {
      "post": {
        "operationId": "user-profile",
        "tags": [
          "Accounts"
        ],
        "summary": "Get an account’s profile",
        "description": "A Bluesky account’s profile: handle, display name, bio, avatar and banner, follower, following and post counts, verification, pinned post and how many lists, feeds and starter packs it made. Send user for one account or users for up to 25 at once. A single account that does not exist, or that Bluesky removed, is a 404; in a batch it is left out with a note. 1 credit, one account or 25.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Send user or users, not both."
                  },
                  "users": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "description": "Up to 25 accounts at once, in any of the forms user takes."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "user": "bsky.app"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "profile": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "For one account: the profile.",
                      "properties": {
                        "did": {
                          "type": "string",
                          "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                        },
                        "handle": {
                          "type": "string",
                          "description": "The handle, such as bsky.app."
                        },
                        "displayName": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The display name."
                        },
                        "avatarUrl": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The avatar image."
                        },
                        "url": {
                          "type": "string",
                          "description": "Link to the profile."
                        },
                        "isVerified": {
                          "type": "boolean",
                          "description": "Whether the account shows Bluesky’s verification badge."
                        },
                        "labels": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          },
                          "description": "Moderation and self-applied labels on the account, such as bot."
                        },
                        "loggedOutVisibility": {
                          "type": "string",
                          "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                        },
                        "createdAt": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "When the account was created (ISO 8601)."
                        },
                        "description": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The bio."
                        },
                        "bannerUrl": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The banner image."
                        },
                        "followersCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Followers, as Bluesky counts them."
                        },
                        "followsCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Accounts it follows."
                        },
                        "postsCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Posts."
                        },
                        "listsCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Lists it made."
                        },
                        "feedsCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Custom feeds it made."
                        },
                        "starterPacksCount": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "description": "Starter packs it made."
                        },
                        "isLabeler": {
                          "type": "boolean",
                          "description": "Whether the account runs a labelling service."
                        },
                        "pinnedPostUri": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "description": "The pinned post’s at:// address."
                        },
                        "isTrustedVerifier": {
                          "type": "boolean",
                          "description": "Whether Bluesky trusts the account to verify others."
                        }
                      }
                    },
                    "profiles": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "Every profile returned, in the same shape (one entry for a single account)."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "profiles": [
                        {
                          "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                          "handle": "bsky.app",
                          "displayName": "Bluesky",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                          "url": "https://bsky.app/profile/bsky.app",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2023-04-12T04:53:57.057Z",
                          "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
                          "bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
                          "followersCount": 35844833,
                          "followsCount": 44,
                          "postsCount": 928,
                          "listsCount": 26,
                          "feedsCount": 7,
                          "starterPacksCount": 23,
                          "isLabeler": false,
                          "pinnedPostUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                          "isTrustedVerifier": true
                        }
                      ],
                      "profile": {
                        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                        "handle": "bsky.app",
                        "displayName": "Bluesky",
                        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                        "url": "https://bsky.app/profile/bsky.app",
                        "isVerified": false,
                        "labels": [],
                        "loggedOutVisibility": "public",
                        "createdAt": "2023-04-12T04:53:57.057Z",
                        "description": "official Bluesky account (check username👆)\n\nBugs, feature requests, feedback: support@bsky.app",
                        "bannerUrl": "https://cdn.bsky.app/img/banner/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreichzyovokfzmymz36p5jibbjrhsur6n7hjnzxrpbt5jaydp2szvna",
                        "followersCount": 35844833,
                        "followsCount": 44,
                        "postsCount": 928,
                        "listsCount": 26,
                        "feedsCount": 7,
                        "starterPacksCount": 23,
                        "isLabeler": false,
                        "pinnedPostUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.post/3l6oveex3ii2l",
                        "isTrustedVerifier": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/user-posts": {
      "post": {
        "operationId": "user-posts",
        "tags": [
          "Accounts"
        ],
        "summary": "List an account’s posts",
        "description": "An account’s posts, newest first: posts only (default), posts and replies, media posts, videos, or its own threads. Reposts are included and marked with repostedBy. Up to 1000 a request, with nextCursor for older posts. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Required unless cursor is given."
                  },
                  "filter": {
                    "type": "string",
                    "description": "posts: without replies. posts_and_replies. media: posts with images or video. video. threads: posts and the account’s own multi-post threads.",
                    "example": "posts"
                  },
                  "includePins": {
                    "type": "boolean",
                    "description": "Put the account’s pinned post first.",
                    "example": "false"
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many entries to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "user": "bsky.app",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "user": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The account."
                    },
                    "filter": {
                      "type": "string",
                      "description": "The filter used."
                    },
                    "entryCount": {
                      "type": "number",
                      "description": "How many entries are in this response. The price is set from it."
                    },
                    "entries": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "post": {
                            "type": "object",
                            "additionalProperties": true,
                            "description": "The post.",
                            "properties": {
                              "uri": {
                                "type": "string",
                                "description": "The post’s at:// address. Every tool that takes post accepts it."
                              },
                              "cid": {
                                "type": "string",
                                "description": "The content hash of this version of the post."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the post on bsky.app."
                              },
                              "author": {
                                "type": "object",
                                "properties": {
                                  "did": {
                                    "type": "string",
                                    "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                                  },
                                  "handle": {
                                    "type": "string",
                                    "description": "The handle, such as bsky.app."
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The display name."
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The avatar image."
                                  },
                                  "url": {
                                    "type": "string",
                                    "description": "Link to the profile."
                                  },
                                  "isVerified": {
                                    "type": "boolean",
                                    "description": "Whether the account shows Bluesky’s verification badge."
                                  },
                                  "labels": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Moderation and self-applied labels on the account, such as bot."
                                  },
                                  "loggedOutVisibility": {
                                    "type": "string",
                                    "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                                  },
                                  "createdAt": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "When the account was created (ISO 8601)."
                                  }
                                },
                                "additionalProperties": true
                              },
                              "text": {
                                "type": "string",
                                "description": "The post’s text."
                              },
                              "entities": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Hashtags attached outside the text."
                              },
                              "langs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The languages the author declared."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it was posted, as written by the author’s app (ISO 8601)."
                              },
                              "indexedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When Bluesky first saw it."
                              },
                              "replyCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Replies, as Bluesky counts them."
                              },
                              "repostCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Reposts, as Bluesky counts them."
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Likes, as Bluesky counts them."
                              },
                              "quoteCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Quotes, as Bluesky counts them."
                              },
                              "bookmarkCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Bookmarks, as Bluesky counts them."
                              },
                              "media": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                              },
                              "linkCard": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "A link card on the post: { url, title, description, imageUrl }."
                              },
                              "quotedPost": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "The post this one quotes, in the same shape, one level deep."
                              },
                              "quotedUnavailable": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                              },
                              "replyTo": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "For a reply: { parentUri, rootUri }."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Labels on the post."
                              }
                            }
                          },
                          "repostedBy": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a repost, the account that reposted it."
                          },
                          "repostedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "For a repost, when."
                          },
                          "parent": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply, the post it answers, when available."
                          },
                          "isPinned": {
                            "type": "boolean",
                            "description": "Whether this is the account’s pinned post (with includePins)."
                          }
                        }
                      },
                      "description": "Each { post, repostedBy, repostedAt, parent, isPinned }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more entries exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "user": {
                        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                        "handle": "bsky.app",
                        "displayName": "Bluesky",
                        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                        "url": "https://bsky.app/profile/bsky.app",
                        "isVerified": false,
                        "labels": [],
                        "loggedOutVisibility": "public",
                        "createdAt": "2023-04-12T04:53:57.057Z"
                      },
                      "filter": "posts",
                      "entryCount": 5,
                      "entries": [
                        {
                          "post": {
                            "uri": "at://did:plc:example1/app.bsky.feed.post/3lexample1",
                            "cid": "bafyreiexample",
                            "url": "https://bsky.app/profile/example1.bsky.social/post/3lexample1",
                            "author": {
                              "did": "did:plc:example1",
                              "handle": "example1.bsky.social",
                              "displayName": "Example account 1",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                              "url": "https://bsky.app/profile/example1.bsky.social",
                              "isVerified": false,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2024-05-01T12:00:00.000Z"
                            },
                            "text": "Example post text.",
                            "entities": [],
                            "tags": [],
                            "langs": [
                              "en"
                            ],
                            "createdAt": "2026-11-23T09:38:25.356Z",
                            "indexedAt": "2026-11-23T09:38:28.548Z",
                            "likeCount": 1521,
                            "replyCount": 21,
                            "repostCount": 93,
                            "quoteCount": 4,
                            "bookmarkCount": 42,
                            "media": [
                              {
                                "type": "video",
                                "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:example/…@jpeg",
                                "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:example/…@jpeg",
                                "videoUrl": "https://video.bsky.app/watch/did%3Aplc%3Aexample/…/playlist.m3u8",
                                "width": 800,
                                "height": 1302,
                                "altText": null
                              }
                            ],
                            "linkCard": null,
                            "quotedPost": null,
                            "quotedUnavailable": null,
                            "replyTo": null,
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "repostedBy": {
                            "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                            "handle": "bsky.app",
                            "displayName": "Bluesky",
                            "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                            "url": "https://bsky.app/profile/bsky.app",
                            "isVerified": false,
                            "labels": [],
                            "loggedOutVisibility": "public",
                            "createdAt": "2023-04-12T04:53:57.057Z"
                          },
                          "repostedAt": "2026-11-23T16:29:58.241Z",
                          "parent": null,
                          "isPinned": false
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoidXNlci1wb3N0cyIsInMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/user-likes": {
      "post": {
        "operationId": "user-likes",
        "tags": [
          "Accounts"
        ],
        "summary": "List the posts an account liked",
        "description": "The posts an account liked, most recent like first, with when it liked each. post is null when the liked post is not available (deleted, or not returned by Bluesky), and a note gives the number. Likes of feeds and lists are not returned. Up to 500 a request, with nextCursor for more. 1 credit per 25 likes returned, minimum 1. Calls on this route run one at a time per API key: more wait their turn rather than fail.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many liked posts to return, 1-500. Each 25 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "user": "bsky.app",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "user": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The account."
                    },
                    "likeCount": {
                      "type": "number",
                      "description": "How many likes are in this response. The price is set from it."
                    },
                    "likes": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "likedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account liked it."
                          },
                          "postUri": {
                            "type": "string",
                            "description": "The liked post’s at:// address."
                          },
                          "post": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "The liked post, or null when it is not available."
                          }
                        }
                      },
                      "description": "Each { likedAt, postUri, post }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more likes exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [
                        "1 liked post is not available (deleted, or not returned by Bluesky); its post is null."
                      ],
                      "excludedCount": 0,
                      "user": {
                        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                        "handle": "bsky.app",
                        "displayName": "Bluesky",
                        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                        "url": "https://bsky.app/profile/bsky.app",
                        "isVerified": false,
                        "labels": [],
                        "loggedOutVisibility": "public",
                        "createdAt": "2023-04-12T04:53:57.057Z"
                      },
                      "likeCount": 5,
                      "likes": [
                        {
                          "likedAt": "2026-11-24T01:16:42.997Z",
                          "postUri": "at://did:plc:example/app.bsky.feed.post/3lexample",
                          "post": null
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoidXNlci1saWtlcyIsInMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/user-followers": {
      "post": {
        "operationId": "user-followers",
        "tags": [
          "Accounts"
        ],
        "summary": "List an account’s followers",
        "description": "The accounts that follow an account, most recent first. Up to 1000 a request, with nextCursor for more. How far the lists of very large accounts can be read has not been measured. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many accounts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "user": "bsky.app",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "user": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The account."
                    },
                    "userCount": {
                      "type": "number",
                      "description": "How many accounts are in this response. The price is set from it."
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "did": {
                            "type": "string",
                            "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                          },
                          "handle": {
                            "type": "string",
                            "description": "The handle, such as bsky.app."
                          },
                          "displayName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The display name."
                          },
                          "avatarUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The avatar image."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the profile."
                          },
                          "isVerified": {
                            "type": "boolean",
                            "description": "Whether the account shows Bluesky’s verification badge."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Moderation and self-applied labels on the account, such as bot."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account was created (ISO 8601)."
                          }
                        }
                      },
                      "description": "The accounts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more accounts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "user": {
                        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                        "handle": "bsky.app",
                        "displayName": "Bluesky",
                        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                        "url": "https://bsky.app/profile/bsky.app",
                        "isVerified": false,
                        "labels": [],
                        "loggedOutVisibility": "public",
                        "createdAt": "2023-04-12T04:53:57.057Z"
                      },
                      "userCount": 5,
                      "users": [
                        {
                          "did": "did:plc:example2",
                          "handle": "example2.bsky.social",
                          "displayName": "Example account 2",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example2.bsky.social",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoidXNlci1mb2xsb3dlcnMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/user-following": {
      "post": {
        "operationId": "user-following",
        "tags": [
          "Accounts"
        ],
        "summary": "List the accounts an account follows",
        "description": "The accounts an account follows, most recent first. Up to 1000 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "user": {
                    "type": "string",
                    "description": "An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many accounts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "user": "bsky.app",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "user": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The account."
                    },
                    "userCount": {
                      "type": "number",
                      "description": "How many accounts are in this response. The price is set from it."
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "did": {
                            "type": "string",
                            "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                          },
                          "handle": {
                            "type": "string",
                            "description": "The handle, such as bsky.app."
                          },
                          "displayName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The display name."
                          },
                          "avatarUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The avatar image."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the profile."
                          },
                          "isVerified": {
                            "type": "boolean",
                            "description": "Whether the account shows Bluesky’s verification badge."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Moderation and self-applied labels on the account, such as bot."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account was created (ISO 8601)."
                          }
                        }
                      },
                      "description": "The accounts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more accounts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "user": {
                        "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                        "handle": "bsky.app",
                        "displayName": "Bluesky",
                        "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                        "url": "https://bsky.app/profile/bsky.app",
                        "isVerified": false,
                        "labels": [],
                        "loggedOutVisibility": "public",
                        "createdAt": "2023-04-12T04:53:57.057Z"
                      },
                      "userCount": 5,
                      "users": [
                        {
                          "did": "did:plc:example3",
                          "handle": "example3.bsky.social",
                          "displayName": "Example account 3",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example3.bsky.social",
                          "isVerified": true,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoidXNlci1mb2xsb3dpbmci…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/search-posts": {
      "post": {
        "operationId": "search-posts",
        "tags": [
          "Search & trending"
        ],
        "summary": "Search posts",
        "description": "Posts matching words or a quoted phrase, newest first or in Bluesky’s ranking, with filters for date range, author, mentioned account, language, linked domain and linked URL. latest continues with nextCursor further back in time; top is one page. How far back a walk can go is not promised. Up to 1000 a request. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "Words to search for. Quoted phrases are supported."
                  },
                  "sort": {
                    "type": "string",
                    "description": "latest: newest first, continued with nextCursor further back in time. top: Bluesky’s ranking, one page of up to 100 (a larger limit with top is a 400). Posts near the point where one page ends and the next begins may be missed or repeated.",
                    "example": "latest"
                  },
                  "since": {
                    "type": "string",
                    "description": "Only posts from this date and time on (ISO 8601, such as 2026-11-01T00:00:00Z)."
                  },
                  "until": {
                    "type": "string",
                    "description": "Only posts before this date and time (ISO 8601)."
                  },
                  "lang": {
                    "type": "string",
                    "description": "Only posts in this language, a code such as en or pt-BR."
                  },
                  "author": {
                    "type": "string",
                    "description": "Only posts by this account (handle or account id)."
                  },
                  "mentions": {
                    "type": "string",
                    "description": "Only posts mentioning this account."
                  },
                  "domain": {
                    "type": "string",
                    "description": "Only posts linking to this domain."
                  },
                  "url": {
                    "type": "string",
                    "description": "Only posts linking to this exact URL."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many posts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "query"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "query": "bluesky",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "query": {
                      "type": "string",
                      "description": "The search."
                    },
                    "sort": {
                      "type": "string",
                      "description": "The order used."
                    },
                    "postCount": {
                      "type": "number",
                      "description": "How many posts are in this response. The price is set from it."
                    },
                    "posts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "uri": {
                            "type": "string",
                            "description": "The post’s at:// address. Every tool that takes post accepts it."
                          },
                          "cid": {
                            "type": "string",
                            "description": "The content hash of this version of the post."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the post on bsky.app."
                          },
                          "author": {
                            "type": "object",
                            "properties": {
                              "did": {
                                "type": "string",
                                "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                              },
                              "handle": {
                                "type": "string",
                                "description": "The handle, such as bsky.app."
                              },
                              "displayName": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The display name."
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The avatar image."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the profile."
                              },
                              "isVerified": {
                                "type": "boolean",
                                "description": "Whether the account shows Bluesky’s verification badge."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Moderation and self-applied labels on the account, such as bot."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When the account was created (ISO 8601)."
                              }
                            },
                            "additionalProperties": true
                          },
                          "text": {
                            "type": "string",
                            "description": "The post’s text."
                          },
                          "entities": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                          },
                          "tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Hashtags attached outside the text."
                          },
                          "langs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The languages the author declared."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When it was posted, as written by the author’s app (ISO 8601)."
                          },
                          "indexedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When Bluesky first saw it."
                          },
                          "replyCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Replies, as Bluesky counts them."
                          },
                          "repostCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Reposts, as Bluesky counts them."
                          },
                          "likeCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Likes, as Bluesky counts them."
                          },
                          "quoteCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Quotes, as Bluesky counts them."
                          },
                          "bookmarkCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Bookmarks, as Bluesky counts them."
                          },
                          "media": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                          },
                          "linkCard": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "A link card on the post: { url, title, description, imageUrl }."
                          },
                          "quotedPost": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "The post this one quotes, in the same shape, one level deep."
                          },
                          "quotedUnavailable": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                          },
                          "replyTo": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply: { parentUri, rootUri }."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Labels on the post."
                          }
                        }
                      },
                      "description": "The posts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "query": "bluesky",
                      "sort": "latest",
                      "postCount": 5,
                      "posts": [
                        {
                          "uri": "at://did:plc:example7/app.bsky.feed.post/3lexample7",
                          "cid": "bafyreiexample",
                          "url": "https://bsky.app/profile/example7.bsky.social/post/3lexample7",
                          "author": {
                            "did": "did:plc:example7",
                            "handle": "example7.bsky.social",
                            "displayName": "Example account 7",
                            "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                            "url": "https://bsky.app/profile/example7.bsky.social",
                            "isVerified": false,
                            "labels": [],
                            "loggedOutVisibility": "public",
                            "createdAt": "2024-05-01T12:00:00.000Z"
                          },
                          "text": "Example post text.",
                          "entities": [],
                          "tags": [],
                          "langs": [],
                          "createdAt": "2026-11-25T15:57:29Z",
                          "indexedAt": "2026-11-25T15:57:30.043Z",
                          "likeCount": 0,
                          "replyCount": 0,
                          "repostCount": 0,
                          "quoteCount": 0,
                          "bookmarkCount": 0,
                          "media": [],
                          "linkCard": {
                            "url": "https://example.com/",
                            "title": "Example link",
                            "description": "Example description.",
                            "imageUrl": null
                          },
                          "quotedPost": null,
                          "quotedUnavailable": null,
                          "replyTo": null,
                          "labels": [],
                          "loggedOutVisibility": "public"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoic2VhcmNoLXBvc3RzIiwi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/hashtag-posts": {
      "post": {
        "operationId": "hashtag-posts",
        "tags": [
          "Search & trending"
        ],
        "summary": "Posts carrying a hashtag",
        "description": "Posts carrying a hashtag, newest first (continued with nextCursor) or top-ranked (one page), with optional date range, author and language. Up to 1000 a request. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "tag": {
                    "type": "string",
                    "description": "The hashtag, with or without #."
                  },
                  "sort": {
                    "type": "string",
                    "description": "latest: newest first, continued with nextCursor further back in time. top: Bluesky’s ranking, one page of up to 100 (a larger limit with top is a 400). Posts near the point where one page ends and the next begins may be missed or repeated.",
                    "example": "latest"
                  },
                  "since": {
                    "type": "string",
                    "description": "Only posts from this date and time on (ISO 8601, such as 2026-11-01T00:00:00Z)."
                  },
                  "until": {
                    "type": "string",
                    "description": "Only posts before this date and time (ISO 8601)."
                  },
                  "lang": {
                    "type": "string",
                    "description": "Only posts in this language, a code such as en or pt-BR."
                  },
                  "author": {
                    "type": "string",
                    "description": "Only posts by this account (handle or account id)."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many posts to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "tag"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "tag": "bluesky",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "tag": {
                      "type": "string",
                      "description": "The hashtag."
                    },
                    "sort": {
                      "type": "string",
                      "description": "The order used."
                    },
                    "postCount": {
                      "type": "number",
                      "description": "How many posts are in this response. The price is set from it."
                    },
                    "posts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "uri": {
                            "type": "string",
                            "description": "The post’s at:// address. Every tool that takes post accepts it."
                          },
                          "cid": {
                            "type": "string",
                            "description": "The content hash of this version of the post."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the post on bsky.app."
                          },
                          "author": {
                            "type": "object",
                            "properties": {
                              "did": {
                                "type": "string",
                                "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                              },
                              "handle": {
                                "type": "string",
                                "description": "The handle, such as bsky.app."
                              },
                              "displayName": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The display name."
                              },
                              "avatarUrl": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "The avatar image."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the profile."
                              },
                              "isVerified": {
                                "type": "boolean",
                                "description": "Whether the account shows Bluesky’s verification badge."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Moderation and self-applied labels on the account, such as bot."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When the account was created (ISO 8601)."
                              }
                            },
                            "additionalProperties": true
                          },
                          "text": {
                            "type": "string",
                            "description": "The post’s text."
                          },
                          "entities": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                          },
                          "tags": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Hashtags attached outside the text."
                          },
                          "langs": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "The languages the author declared."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When it was posted, as written by the author’s app (ISO 8601)."
                          },
                          "indexedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When Bluesky first saw it."
                          },
                          "replyCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Replies, as Bluesky counts them."
                          },
                          "repostCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Reposts, as Bluesky counts them."
                          },
                          "likeCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Likes, as Bluesky counts them."
                          },
                          "quoteCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Quotes, as Bluesky counts them."
                          },
                          "bookmarkCount": {
                            "type": [
                              "number",
                              "null"
                            ],
                            "description": "Bookmarks, as Bluesky counts them."
                          },
                          "media": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "additionalProperties": true
                            },
                            "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                          },
                          "linkCard": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "A link card on the post: { url, title, description, imageUrl }."
                          },
                          "quotedPost": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "The post this one quotes, in the same shape, one level deep."
                          },
                          "quotedUnavailable": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                          },
                          "replyTo": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply: { parentUri, rootUri }."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Labels on the post."
                          }
                        }
                      },
                      "description": "The posts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "tag": "bluesky",
                      "sort": "latest",
                      "postCount": 5,
                      "posts": [
                        {
                          "uri": "at://did:plc:example8/app.bsky.feed.post/3lexample8",
                          "cid": "bafyreiexample",
                          "url": "https://bsky.app/profile/example8.bsky.social/post/3lexample8",
                          "author": {
                            "did": "did:plc:example8",
                            "handle": "example8.bsky.social",
                            "displayName": "Example account 8",
                            "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                            "url": "https://bsky.app/profile/example8.bsky.social",
                            "isVerified": false,
                            "labels": [],
                            "loggedOutVisibility": "public",
                            "createdAt": "2024-05-01T12:00:00.000Z"
                          },
                          "text": "Example post text.",
                          "entities": [],
                          "tags": [],
                          "langs": [
                            "en"
                          ],
                          "createdAt": "2026-11-25T15:56:16.214991Z",
                          "indexedAt": "2026-11-25T15:56:16.649Z",
                          "likeCount": 0,
                          "replyCount": 0,
                          "repostCount": 0,
                          "quoteCount": 0,
                          "bookmarkCount": 0,
                          "media": [],
                          "linkCard": null,
                          "quotedPost": null,
                          "quotedUnavailable": null,
                          "replyTo": null,
                          "labels": [],
                          "loggedOutVisibility": "public"
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoiaGFzaHRhZy1wb3N0cyIs…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/search-users": {
      "post": {
        "operationId": "search-users",
        "tags": [
          "Search & trending"
        ],
        "summary": "Search accounts",
        "description": "Accounts matching a name, a handle or words in their profile, with bio and avatar. Up to 300 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "query": {
                    "type": "string",
                    "description": "A name, handle or words from a profile."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many accounts to return, 1-300. Each 100 returned is 1 credit, minimum 1.",
                    "example": "25"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false,
                "required": [
                  "query"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "query": "news",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "query": {
                      "type": "string",
                      "description": "The search."
                    },
                    "userCount": {
                      "type": "number",
                      "description": "How many accounts are in this response. The price is set from it."
                    },
                    "users": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "did": {
                            "type": "string",
                            "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                          },
                          "handle": {
                            "type": "string",
                            "description": "The handle, such as bsky.app."
                          },
                          "displayName": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The display name."
                          },
                          "avatarUrl": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The avatar image."
                          },
                          "url": {
                            "type": "string",
                            "description": "Link to the profile."
                          },
                          "isVerified": {
                            "type": "boolean",
                            "description": "Whether the account shows Bluesky’s verification badge."
                          },
                          "labels": {
                            "type": "array",
                            "items": {
                              "type": "string"
                            },
                            "description": "Moderation and self-applied labels on the account, such as bot."
                          },
                          "loggedOutVisibility": {
                            "type": "string",
                            "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                          },
                          "createdAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "When the account was created (ISO 8601)."
                          },
                          "description": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "The bio."
                          }
                        }
                      },
                      "description": "The accounts."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more accounts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "query": "news",
                      "userCount": 5,
                      "users": [
                        {
                          "did": "did:plc:example9",
                          "handle": "example9.bsky.social",
                          "displayName": "Example account 9",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example9.bsky.social",
                          "isVerified": true,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z",
                          "description": "Example bio."
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoic2VhcmNoLXVzZXJzIiwi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/trending-topics": {
      "post": {
        "operationId": "trending-topics",
        "tags": [
          "Search & trending"
        ],
        "summary": "What is trending now",
        "description": "What is trending on Bluesky now, in Bluesky’s own selection, which changes through the day: each topic’s title, a one-line summary, how many posts it has, its category, when it started and its feedUrl, which topic-posts reads. 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "limit": {
                    "type": "integer",
                    "description": "How many topics to return, 1-25.",
                    "example": "10"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "limit": 3
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "topicCount": {
                      "type": "number",
                      "description": "How many topics are in this response."
                    },
                    "topics": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "Each { topic, title, summary, postCount, status, category, startedAt, feedUrl }. Pass feedUrl to topic-posts."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [
                        "Trending topics are Bluesky's own selection and change through the day."
                      ],
                      "excludedCount": 0,
                      "topicCount": 3,
                      "topics": [
                        {
                          "topic": "89f3020c5157",
                          "title": "Measles risk grows for adults",
                          "summary": "Experts say vaccinated Americans born before 1989 may need an MMR booster for protection.",
                          "postCount": 436,
                          "status": "trending",
                          "category": "science-tech",
                          "startedAt": "2026-11-24T00:34:24.180214+00:00",
                          "feedUrl": "https://bsky.app/profile/did:plc:qrz3lhbyuxbeilrc6nekdqme/feed/89f3020c5157"
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/topic-posts": {
      "post": {
        "operationId": "topic-posts",
        "tags": [
          "Search & trending"
        ],
        "summary": "The posts behind a trending topic",
        "description": "The posts in a trending topic, given the feedUrl trending-topics returned. Up to 500 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "topic": {
                    "type": "string",
                    "description": "The topic’s feedUrl, as trending-topics returned it. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many posts to return, 1-500. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "topic": "https://bsky.app/profile/did:plc:qrz3lhbyuxbeilrc6nekdqme/feed/89f3020c5157",
                    "limit": 3
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "feed": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The topic’s feed."
                    },
                    "entryCount": {
                      "type": "number",
                      "description": "How many posts are in this response. The price is set from it."
                    },
                    "entries": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "post": {
                            "type": "object",
                            "additionalProperties": true,
                            "description": "The post.",
                            "properties": {
                              "uri": {
                                "type": "string",
                                "description": "The post’s at:// address. Every tool that takes post accepts it."
                              },
                              "cid": {
                                "type": "string",
                                "description": "The content hash of this version of the post."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the post on bsky.app."
                              },
                              "author": {
                                "type": "object",
                                "properties": {
                                  "did": {
                                    "type": "string",
                                    "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                                  },
                                  "handle": {
                                    "type": "string",
                                    "description": "The handle, such as bsky.app."
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The display name."
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The avatar image."
                                  },
                                  "url": {
                                    "type": "string",
                                    "description": "Link to the profile."
                                  },
                                  "isVerified": {
                                    "type": "boolean",
                                    "description": "Whether the account shows Bluesky’s verification badge."
                                  },
                                  "labels": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Moderation and self-applied labels on the account, such as bot."
                                  },
                                  "loggedOutVisibility": {
                                    "type": "string",
                                    "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                                  },
                                  "createdAt": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "When the account was created (ISO 8601)."
                                  }
                                },
                                "additionalProperties": true
                              },
                              "text": {
                                "type": "string",
                                "description": "The post’s text."
                              },
                              "entities": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Hashtags attached outside the text."
                              },
                              "langs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The languages the author declared."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it was posted, as written by the author’s app (ISO 8601)."
                              },
                              "indexedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When Bluesky first saw it."
                              },
                              "replyCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Replies, as Bluesky counts them."
                              },
                              "repostCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Reposts, as Bluesky counts them."
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Likes, as Bluesky counts them."
                              },
                              "quoteCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Quotes, as Bluesky counts them."
                              },
                              "bookmarkCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Bookmarks, as Bluesky counts them."
                              },
                              "media": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                              },
                              "linkCard": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "A link card on the post: { url, title, description, imageUrl }."
                              },
                              "quotedPost": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "The post this one quotes, in the same shape, one level deep."
                              },
                              "quotedUnavailable": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                              },
                              "replyTo": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "For a reply: { parentUri, rootUri }."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Labels on the post."
                              }
                            }
                          },
                          "repostedBy": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a repost, the account that reposted it."
                          },
                          "repostedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "For a repost, when."
                          },
                          "parent": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply, the post it answers, when available."
                          },
                          "isPinned": {
                            "type": "boolean",
                            "description": "Whether this is the account’s pinned post (with includePins)."
                          }
                        }
                      },
                      "description": "Each { post, repostedBy, repostedAt, parent, isPinned }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "feed": {
                        "uri": "at://did:plc:qrz3lhbyuxbeilrc6nekdqme/app.bsky.feed.generator/89f3020c5157",
                        "url": "https://bsky.app/profile/trending.bsky.app/feed/89f3020c5157"
                      },
                      "entryCount": 3,
                      "entries": [
                        {
                          "post": {
                            "uri": "at://did:plc:example10/app.bsky.feed.post/3lexample10",
                            "cid": "bafyreiexample",
                            "url": "https://bsky.app/profile/example10.bsky.social/post/3lexample10",
                            "author": {
                              "did": "did:plc:example10",
                              "handle": "example10.bsky.social",
                              "displayName": "Example account 10",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                              "url": "https://bsky.app/profile/example10.bsky.social",
                              "isVerified": true,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2024-05-01T12:00:00.000Z"
                            },
                            "text": "Example post text.",
                            "entities": [],
                            "tags": [],
                            "langs": [
                              "en"
                            ],
                            "createdAt": "2026-11-25T13:11:39.605Z",
                            "indexedAt": "2026-11-25T13:11:39.851Z",
                            "likeCount": 158,
                            "replyCount": 21,
                            "repostCount": 34,
                            "quoteCount": 5,
                            "bookmarkCount": 4,
                            "media": [],
                            "linkCard": null,
                            "quotedPost": {
                              "uri": "at://did:plc:example11/app.bsky.feed.post/3lexample11",
                              "cid": "bafyreiexample",
                              "url": "https://bsky.app/profile/example11.bsky.social/post/3lexample11",
                              "author": {
                                "did": "did:plc:example11",
                                "handle": "example11.bsky.social",
                                "displayName": "Example account 11",
                                "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                                "url": "https://bsky.app/profile/example11.bsky.social",
                                "isVerified": true,
                                "labels": [],
                                "loggedOutVisibility": "public",
                                "createdAt": "2024-05-01T12:00:00.000Z"
                              },
                              "text": "Example post text.",
                              "entities": [],
                              "tags": [],
                              "langs": [
                                "en"
                              ],
                              "createdAt": "2026-11-25T02:35:01.863Z",
                              "indexedAt": "2026-11-25T02:35:02.947Z",
                              "likeCount": 1403,
                              "replyCount": 0,
                              "repostCount": 628,
                              "quoteCount": 330,
                              "bookmarkCount": null,
                              "media": [],
                              "linkCard": {
                                "url": "https://example.com/",
                                "title": "Example link",
                                "description": "Example description.",
                                "imageUrl": null
                              },
                              "quotedPost": null,
                              "quotedUnavailable": null,
                              "replyTo": null,
                              "labels": [],
                              "loggedOutVisibility": "public"
                            },
                            "quotedUnavailable": null,
                            "replyTo": null,
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "repostedBy": null,
                          "repostedAt": null,
                          "parent": null,
                          "isPinned": false
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoidG9waWMtcG9zdHMiLCJz…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/feed-posts": {
      "post": {
        "operationId": "feed-posts",
        "tags": [
          "Feeds, lists & starter packs"
        ],
        "summary": "Read a custom feed",
        "description": "The posts in a public custom feed (for example Discover), in the feed’s own order. Feeds that depend on who is reading are not available, and a note says when a feed reports that it is not answering. Up to 500 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "feed": {
                    "type": "string",
                    "description": "The feed’s bsky.app link (https://bsky.app/profile/bsky.app/feed/whats-hot) or at:// address. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many posts to return, 1-500. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "feed": "https://bsky.app/profile/bsky.app/feed/whats-hot",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "feed": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The feed."
                    },
                    "entryCount": {
                      "type": "number",
                      "description": "How many posts are in this response. The price is set from it."
                    },
                    "entries": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "post": {
                            "type": "object",
                            "additionalProperties": true,
                            "description": "The post.",
                            "properties": {
                              "uri": {
                                "type": "string",
                                "description": "The post’s at:// address. Every tool that takes post accepts it."
                              },
                              "cid": {
                                "type": "string",
                                "description": "The content hash of this version of the post."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the post on bsky.app."
                              },
                              "author": {
                                "type": "object",
                                "properties": {
                                  "did": {
                                    "type": "string",
                                    "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                                  },
                                  "handle": {
                                    "type": "string",
                                    "description": "The handle, such as bsky.app."
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The display name."
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The avatar image."
                                  },
                                  "url": {
                                    "type": "string",
                                    "description": "Link to the profile."
                                  },
                                  "isVerified": {
                                    "type": "boolean",
                                    "description": "Whether the account shows Bluesky’s verification badge."
                                  },
                                  "labels": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Moderation and self-applied labels on the account, such as bot."
                                  },
                                  "loggedOutVisibility": {
                                    "type": "string",
                                    "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                                  },
                                  "createdAt": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "When the account was created (ISO 8601)."
                                  }
                                },
                                "additionalProperties": true
                              },
                              "text": {
                                "type": "string",
                                "description": "The post’s text."
                              },
                              "entities": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Hashtags attached outside the text."
                              },
                              "langs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The languages the author declared."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it was posted, as written by the author’s app (ISO 8601)."
                              },
                              "indexedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When Bluesky first saw it."
                              },
                              "replyCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Replies, as Bluesky counts them."
                              },
                              "repostCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Reposts, as Bluesky counts them."
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Likes, as Bluesky counts them."
                              },
                              "quoteCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Quotes, as Bluesky counts them."
                              },
                              "bookmarkCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Bookmarks, as Bluesky counts them."
                              },
                              "media": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                              },
                              "linkCard": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "A link card on the post: { url, title, description, imageUrl }."
                              },
                              "quotedPost": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "The post this one quotes, in the same shape, one level deep."
                              },
                              "quotedUnavailable": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                              },
                              "replyTo": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "For a reply: { parentUri, rootUri }."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Labels on the post."
                              }
                            }
                          },
                          "repostedBy": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a repost, the account that reposted it."
                          },
                          "repostedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "For a repost, when."
                          },
                          "parent": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply, the post it answers, when available."
                          },
                          "isPinned": {
                            "type": "boolean",
                            "description": "Whether this is the account’s pinned post (with includePins)."
                          }
                        }
                      },
                      "description": "Each { post, repostedBy, repostedAt, parent, isPinned }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "feed": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/whats-hot",
                        "url": "https://bsky.app/profile/bsky.app/feed/whats-hot"
                      },
                      "entryCount": 5,
                      "entries": [
                        {
                          "post": {
                            "uri": "at://did:plc:example12/app.bsky.feed.post/3lexample12",
                            "cid": "bafyreiexample",
                            "url": "https://bsky.app/profile/example12.bsky.social/post/3lexample12",
                            "author": {
                              "did": "did:plc:example12",
                              "handle": "example12.bsky.social",
                              "displayName": "Example account 12",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                              "url": "https://bsky.app/profile/example12.bsky.social",
                              "isVerified": true,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2024-05-01T12:00:00.000Z"
                            },
                            "text": "Example post text.",
                            "entities": [],
                            "tags": [],
                            "langs": [
                              "en"
                            ],
                            "createdAt": "2026-11-25T10:46:47.250Z",
                            "indexedAt": "2026-11-25T10:46:48.443Z",
                            "likeCount": 282,
                            "replyCount": 6,
                            "repostCount": 32,
                            "quoteCount": 0,
                            "bookmarkCount": 4,
                            "media": [
                              {
                                "type": "image",
                                "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:example/…@jpeg",
                                "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:example/…@jpeg",
                                "videoUrl": null,
                                "width": 526,
                                "height": 694,
                                "altText": null
                              }
                            ],
                            "linkCard": null,
                            "quotedPost": null,
                            "quotedUnavailable": null,
                            "replyTo": null,
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "repostedBy": null,
                          "repostedAt": null,
                          "parent": null,
                          "isPinned": false
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoiZmVlZC1wb3N0cyIsInMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/feed-detail": {
      "post": {
        "operationId": "feed-detail",
        "tags": [
          "Feeds, lists & starter packs"
        ],
        "summary": "Describe a custom feed",
        "description": "One custom feed’s name, description, creator, like count and whether it is answering; or, with user, the custom feeds an account made (up to 100, with nextCursor for more). Send feed or user, not both. 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "feed": {
                    "type": "string",
                    "description": "One feed: its bsky.app link or at:// address."
                  },
                  "user": {
                    "type": "string",
                    "description": "Or an account, to list the feeds it made. An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many feeds to return, 1-100.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400. Only with user."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "feed": "https://bsky.app/profile/bsky.app/feed/whats-hot"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "feedCount": {
                      "type": "number",
                      "description": "How many feeds are in this response."
                    },
                    "feeds": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "Each { uri, url, displayName, description, avatarUrl, likeCount, creator, isOnline }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more feeds exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "feedCount": 1,
                      "feeds": [
                        {
                          "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/whats-hot",
                          "url": "https://bsky.app/profile/bsky.app/feed/whats-hot",
                          "displayName": "Discover",
                          "description": "Trending content from your personal network",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreidljdg62x3zhlweyzshoekrw2znokytt5tmib7g4xsngwvpnf6ule",
                          "likeCount": 39666,
                          "creator": {
                            "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                            "handle": "bsky.app",
                            "displayName": "Bluesky",
                            "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                            "url": "https://bsky.app/profile/bsky.app",
                            "isVerified": false,
                            "labels": [],
                            "loggedOutVisibility": "public",
                            "createdAt": "2023-04-12T04:53:57.057Z"
                          },
                          "isOnline": true
                        }
                      ],
                      "nextCursor": null,
                      "hasMore": false
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/list-detail": {
      "post": {
        "operationId": "list-detail",
        "tags": [
          "Feeds, lists & starter packs"
        ],
        "summary": "Read a list and its members",
        "description": "A list’s name, purpose (curation, moderation or reference), description, member count and creator, with its members (up to 1000 a request, with nextCursor for more); or, with user, the lists an account made (up to 100). Send list or user, not both. 1 credit per 100 returned, minimum 1. members; an account’s lists are 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "list": {
                    "type": "string",
                    "description": "One list: its bsky.app link (https://bsky.app/profile/<account>/lists/<id>) or at:// address."
                  },
                  "user": {
                    "type": "string",
                    "description": "Or an account, to list the lists it made. An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many members (at most 100 lists with user) to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "list": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "list": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": true,
                      "description": "The list: { name, purpose, description, memberCount, creator }."
                    },
                    "memberCount": {
                      "type": "number",
                      "description": "How many members are in this response. The price is set from it."
                    },
                    "members": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "The members, as accounts."
                    },
                    "listCount": {
                      "type": "number",
                      "description": "With user: how many lists are in this response."
                    },
                    "lists": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "With user: the lists the account made."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more members exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "list": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26",
                        "url": "https://bsky.app/profile/bsky.app/lists/3lvpca43j5z26",
                        "name": "Community Showcase",
                        "purpose": "curation",
                        "description": "Community projects built on the Bluesky API ✨",
                        "avatarUrl": null,
                        "memberCount": 21,
                        "creator": {
                          "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                          "handle": "bsky.app",
                          "displayName": "Bluesky",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                          "url": "https://bsky.app/profile/bsky.app",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2023-04-12T04:53:57.057Z"
                        }
                      },
                      "memberCount": 5,
                      "members": [
                        {
                          "did": "did:plc:example13",
                          "handle": "example13.bsky.social",
                          "displayName": "Example account 13",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example13.bsky.social",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z"
                        }
                      ],
                      "listCount": 0,
                      "lists": [],
                      "nextCursor": "eyJ2IjoxLCJrIjoibGlzdC1kZXRhaWwiLCJz…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/list-posts": {
      "post": {
        "operationId": "list-posts",
        "tags": [
          "Feeds, lists & starter packs"
        ],
        "summary": "Recent posts by a list’s members",
        "description": "Recent posts by the members of a list, newest first. Up to 500 a request, with nextCursor for more. 1 credit per 100 returned, minimum 1.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "list": {
                    "type": "string",
                    "description": "The list: its bsky.app link or at:// address. Required unless cursor is given."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many posts to return, 1-500. Each 100 returned is 1 credit, minimum 1.",
                    "example": "50"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "list": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "list": {
                      "type": "object",
                      "additionalProperties": true,
                      "description": "The list."
                    },
                    "entryCount": {
                      "type": "number",
                      "description": "How many posts are in this response. The price is set from it."
                    },
                    "entries": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true,
                        "properties": {
                          "post": {
                            "type": "object",
                            "additionalProperties": true,
                            "description": "The post.",
                            "properties": {
                              "uri": {
                                "type": "string",
                                "description": "The post’s at:// address. Every tool that takes post accepts it."
                              },
                              "cid": {
                                "type": "string",
                                "description": "The content hash of this version of the post."
                              },
                              "url": {
                                "type": "string",
                                "description": "Link to the post on bsky.app."
                              },
                              "author": {
                                "type": "object",
                                "properties": {
                                  "did": {
                                    "type": "string",
                                    "description": "The account id. It stays the same when the handle changes; every tool that takes user accepts it."
                                  },
                                  "handle": {
                                    "type": "string",
                                    "description": "The handle, such as bsky.app."
                                  },
                                  "displayName": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The display name."
                                  },
                                  "avatarUrl": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "The avatar image."
                                  },
                                  "url": {
                                    "type": "string",
                                    "description": "Link to the profile."
                                  },
                                  "isVerified": {
                                    "type": "boolean",
                                    "description": "Whether the account shows Bluesky’s verification badge."
                                  },
                                  "labels": {
                                    "type": "array",
                                    "items": {
                                      "type": "string"
                                    },
                                    "description": "Moderation and self-applied labels on the account, such as bot."
                                  },
                                  "loggedOutVisibility": {
                                    "type": "string",
                                    "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                                  },
                                  "createdAt": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "description": "When the account was created (ISO 8601)."
                                  }
                                },
                                "additionalProperties": true
                              },
                              "text": {
                                "type": "string",
                                "description": "The post’s text."
                              },
                              "entities": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "What the text holds, in order: mentions (did), links (url) and hashtags (tag)."
                              },
                              "tags": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Hashtags attached outside the text."
                              },
                              "langs": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "The languages the author declared."
                              },
                              "createdAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When it was posted, as written by the author’s app (ISO 8601)."
                              },
                              "indexedAt": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "When Bluesky first saw it."
                              },
                              "replyCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Replies, as Bluesky counts them."
                              },
                              "repostCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Reposts, as Bluesky counts them."
                              },
                              "likeCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Likes, as Bluesky counts them."
                              },
                              "quoteCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Quotes, as Bluesky counts them."
                              },
                              "bookmarkCount": {
                                "type": [
                                  "number",
                                  "null"
                                ],
                                "description": "Bookmarks, as Bluesky counts them."
                              },
                              "media": {
                                "type": "array",
                                "items": {
                                  "type": "object",
                                  "additionalProperties": true
                                },
                                "description": "Images and video: { type (image or video), url, thumbnailUrl, videoUrl (a streaming playlist), width, height, altText }."
                              },
                              "linkCard": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "A link card on the post: { url, title, description, imageUrl }."
                              },
                              "quotedPost": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "The post this one quotes, in the same shape, one level deep."
                              },
                              "quotedUnavailable": {
                                "type": [
                                  "string",
                                  "null"
                                ],
                                "description": "Why a quoted post is not returned: excluded (excludeOptedOut), removed (by Bluesky), not_found, blocked, or other (a quoted feed, list or pack)."
                              },
                              "replyTo": {
                                "type": [
                                  "object",
                                  "null"
                                ],
                                "additionalProperties": true,
                                "description": "For a reply: { parentUri, rootUri }."
                              },
                              "loggedOutVisibility": {
                                "type": "string",
                                "description": "public, opted-out or unknown. opted-out: the person asked to be shown only to people with a Bluesky account, so do not show it to anyone without one. unknown: the preference was not available in this answer; treat it as not public until a user-profile lookup says otherwise."
                              },
                              "labels": {
                                "type": "array",
                                "items": {
                                  "type": "string"
                                },
                                "description": "Labels on the post."
                              }
                            }
                          },
                          "repostedBy": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a repost, the account that reposted it."
                          },
                          "repostedAt": {
                            "type": [
                              "string",
                              "null"
                            ],
                            "description": "For a repost, when."
                          },
                          "parent": {
                            "type": [
                              "object",
                              "null"
                            ],
                            "additionalProperties": true,
                            "description": "For a reply, the post it answers, when available."
                          },
                          "isPinned": {
                            "type": "boolean",
                            "description": "Whether this is the account’s pinned post (with includePins)."
                          }
                        }
                      },
                      "description": "Each { post, repostedBy, repostedAt, parent, isPinned }."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more posts exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "list": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3lvpca43j5z26",
                        "url": "https://bsky.app/profile/did:plc:z72i7hdynmk6r22z27h6tvur/lists/3lvpca43j5z26"
                      },
                      "entryCount": 5,
                      "entries": [
                        {
                          "post": {
                            "uri": "at://did:plc:example14/app.bsky.feed.post/3lexample14",
                            "cid": "bafyreiexample",
                            "url": "https://bsky.app/profile/example14.bsky.social/post/3lexample14",
                            "author": {
                              "did": "did:plc:example14",
                              "handle": "example14.bsky.social",
                              "displayName": "Example account 14",
                              "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                              "url": "https://bsky.app/profile/example14.bsky.social",
                              "isVerified": true,
                              "labels": [],
                              "loggedOutVisibility": "public",
                              "createdAt": "2024-05-01T12:00:00.000Z"
                            },
                            "text": "Example post text.",
                            "entities": [],
                            "tags": [],
                            "langs": [],
                            "createdAt": "2026-11-25T14:28:12.154Z",
                            "indexedAt": "2026-11-25T14:28:13.347Z",
                            "likeCount": 6,
                            "replyCount": 0,
                            "repostCount": 2,
                            "quoteCount": 0,
                            "bookmarkCount": 0,
                            "media": [
                              {
                                "type": "video",
                                "url": "https://cdn.bsky.app/img/feed_fullsize/plain/did:plc:example/…@jpeg",
                                "thumbnailUrl": "https://cdn.bsky.app/img/feed_thumbnail/plain/did:plc:example/…@jpeg",
                                "videoUrl": "https://video.bsky.app/watch/did%3Aplc%3Aexample/…/playlist.m3u8",
                                "width": 1920,
                                "height": 1080,
                                "altText": null
                              }
                            ],
                            "linkCard": null,
                            "quotedPost": null,
                            "quotedUnavailable": null,
                            "replyTo": null,
                            "labels": [],
                            "loggedOutVisibility": "public"
                          },
                          "repostedBy": null,
                          "repostedAt": null,
                          "parent": null,
                          "isPinned": false
                        }
                      ],
                      "nextCursor": "eyJ2IjoxLCJrIjoibGlzdC1wb3N0cyIsInMi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/starter-pack": {
      "post": {
        "operationId": "starter-pack",
        "tags": [
          "Feeds, lists & starter packs"
        ],
        "summary": "Read a starter pack",
        "description": "A starter pack’s name, description, creator, how many people joined through it (all time and this week), its feeds and its members (up to 1000 a request, with nextCursor for more); or, with user, the starter packs an account made (up to 100). Send starterPack or user, not both. 1 credit per 100 returned, minimum 1. members; an account’s packs are 1 credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "starterPack": {
                    "type": "string",
                    "description": "One starter pack: its bsky.app link (https://bsky.app/starter-pack/<account>/<id>) or at:// address."
                  },
                  "user": {
                    "type": "string",
                    "description": "Or an account, to list the starter packs it made. An account: its handle (bsky.app or @bsky.app), its account id (did:plc:…) or its profile link (https://bsky.app/profile/bsky.app). Handles can change; the account id never does."
                  },
                  "limit": {
                    "type": "integer",
                    "description": "How many members (at most 100 packs with user) to return, 1-1000. Each 100 returned is 1 credit, minimum 1.",
                    "example": "100"
                  },
                  "cursor": {
                    "type": "string",
                    "description": "Continue from a previous response’s nextCursor, passed back unchanged with the same other parameters. An altered cursor, or one from another listing, is a 400."
                  },
                  "excludeOptedOut": {
                    "type": "boolean",
                    "description": "Leave out entries whose account is known to be opted-out: their posts, their reposts, their place in a follower, liker or member list, and a quoted post or reply parent by them. Entries marked unknown are kept. The account or post you asked for is never left out itself. excludedCount says how many were left out, nested ones included. Mentions of such accounts inside other people’s posts are returned as written.",
                    "example": "false"
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown; any other value is a 400. Over MCP the default is markdown, the result rendered as text; the REST API accepts it and returns JSON.",
                    "example": "json"
                  },
                  "timeoutMs": {
                    "type": "integer",
                    "description": "Time limit for the whole request, in milliseconds (1000-120000); a value outside that range is a 400. When it runs out, a listing returns what it has with nextCursor and a note, billed for what it returned; a request with nothing to return yet fails with a retryable 503. We answer at the latest about 2 seconds before timeoutMs runs out (15% of it, at least 0.75 s, for limits under 13 seconds). Send timeoutMs equal to your own client’s timeout: then we can answer in time, fast, instead of your client dropping the connection while the request is still running."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "default": {
                  "value": {
                    "starterPack": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.starterpack/3mzdvli2fkq23",
                    "limit": 5
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "Caveats you can act on, such as a listing that stopped early or entries that were left out. Empty when there are none."
                    },
                    "excludedCount": {
                      "type": "number",
                      "description": "How many entries this response left out because of excludeOptedOut, nested ones included. 0 without the flag."
                    },
                    "starterPack": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": true,
                      "description": "The pack: { name, description, creator, joinedAllTimeCount, joinedWeekCount, memberCount, feeds }."
                    },
                    "memberCount": {
                      "type": "number",
                      "description": "How many members are in this response. The price is set from it."
                    },
                    "members": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "The members, as accounts."
                    },
                    "starterPackCount": {
                      "type": "number",
                      "description": "With user: how many packs are in this response."
                    },
                    "starterPacks": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      },
                      "description": "With user: the packs the account made."
                    },
                    "hasMore": {
                      "type": "boolean",
                      "description": "true when more members exist. false is the end, and is reported only when Bluesky says there is nothing more. true with nextCursor null means more exists but cannot be read further, and a note says so."
                    },
                    "nextCursor": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "An opaque token to pass back unchanged as cursor, with the same other parameters, to continue. Up to 30,000 characters."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "excludedCount": 0,
                      "starterPack": {
                        "uri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.starterpack/3mzdvli2fkq23",
                        "url": "https://bsky.app/starter-pack/bsky.app/3mzdvli2fkq23",
                        "name": "Midterms 2026: Battleground",
                        "description": null,
                        "creator": {
                          "did": "did:plc:z72i7hdynmk6r22z27h6tvur",
                          "handle": "bsky.app",
                          "displayName": "Bluesky",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:z72i7hdynmk6r22z27h6tvur/bafkreihwihm6kpd6zuwhhlro75p5qks5qtrcu55jp3gddbfjsieiv7wuka",
                          "url": "https://bsky.app/profile/bsky.app",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2023-04-12T04:53:57.057Z"
                        },
                        "joinedAllTimeCount": 8,
                        "joinedWeekCount": 0,
                        "memberCount": 137,
                        "listUri": "at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.graph.list/3mzdvlhcw5l2g",
                        "feeds": [
                          {
                            "uri": "at://did:plc:examplefeedowner/app.bsky.feed.generator/example-feed",
                            "url": "https://bsky.app/profile/examplefeedowner.bsky.social/feed/example-feed",
                            "displayName": "Example feed",
                            "loggedOutVisibility": "public"
                          },
                          {
                            "uri": "at://did:plc:examplefeedowner/app.bsky.feed.generator/example-feed",
                            "url": "https://bsky.app/profile/examplefeedowner.bsky.social/feed/example-feed",
                            "displayName": "Example feed",
                            "loggedOutVisibility": "public"
                          }
                        ]
                      },
                      "memberCount": 5,
                      "members": [
                        {
                          "did": "did:plc:example15",
                          "handle": "example15.bsky.social",
                          "displayName": "Example account 15",
                          "avatarUrl": "https://cdn.bsky.app/img/avatar/plain/did:plc:example/…@jpeg",
                          "url": "https://bsky.app/profile/example15.bsky.social",
                          "isVerified": false,
                          "labels": [],
                          "loggedOutVisibility": "public",
                          "createdAt": "2024-05-01T12:00:00.000Z"
                        }
                      ],
                      "starterPackCount": 0,
                      "starterPacks": [],
                      "nextCursor": "eyJ2IjoxLCJrIjoic3RhcnRlci1wYWNrIiwi…",
                      "hasMore": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/resolve-url": {
      "post": {
        "operationId": "resolve-url",
        "tags": [
          "Utilities"
        ],
        "summary": "Parse a Bluesky link",
        "description": "What a bsky.app link or at:// address points to (a profile or one of its tabs, a post, a feed, a list, a starter pack, a hashtag, a search, trending or home), with the canonical link, the parts it carries and the tool and arguments that read it. Short links (go.bsky.app) are not accepted: open them and pass the address they lead to. Fetches nothing and costs no credit.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "url": {
                    "type": "string",
                    "description": "Any bsky.app link or at:// address."
                  },
                  "format": {
                    "type": "string",
                    "description": "json or markdown.",
                    "example": "json"
                  }
                },
                "additionalProperties": false,
                "required": [
                  "url"
                ]
              },
              "examples": {
                "default": {
                  "value": {
                    "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "transport": {
                      "type": "string",
                      "description": "The data source: always the platform id, \"bluesky\"."
                    },
                    "notes": {
                      "type": "array",
                      "items": {
                        "type": "string"
                      },
                      "description": "What to do with a link that is not one of the above."
                    },
                    "kind": {
                      "type": "string",
                      "description": "post, feed, list, starter_pack, profile, profile_tab, hashtag, search, trending or home."
                    },
                    "url": {
                      "type": "string",
                      "description": "The canonical address."
                    },
                    "account": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The account the link names."
                    },
                    "rkey": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The record key, for a post, feed, list or starter pack."
                    },
                    "tag": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The hashtag, for a hashtag link."
                    },
                    "query": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The search words, for a search link."
                    },
                    "tool": {
                      "type": [
                        "string",
                        "null"
                      ],
                      "description": "The tool that reads this link, such as bluesky_post_detail."
                    },
                    "arguments": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": true,
                      "description": "The arguments to give that tool."
                    }
                  },
                  "additionalProperties": true
                },
                "examples": {
                  "default": {
                    "value": {
                      "transport": "bluesky",
                      "notes": [],
                      "kind": "post",
                      "url": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l",
                      "account": "bsky.app",
                      "rkey": "3l6oveex3ii2l",
                      "tool": "bluesky_post_detail",
                      "arguments": {
                        "post": "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    },
    "/media": {
      "get": {
        "operationId": "media",
        "tags": [
          "Utilities"
        ],
        "summary": "Download an image or video",
        "description": "Delivers one image or video from a result, by the link the result gave, with Range support so players can seek and downloads can resume. Video comes as a streaming playlist plus a poster image. The file’s owner account is checked first: one that does not exist, or that Bluesky removed, is a 404. The status of the individual post a file belongs to is not checked: if that matters, check the post first with post-detail. 1 credit per request.",
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "required": true,
            "description": "An image or video link as a result gave it (media[].url, thumbnailUrl or videoUrl, an avatar or a banner). Only Bluesky media links; anything else is a 400.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/octet-stream": {
                "schema": {
                  "type": "string",
                  "format": "binary"
                }
              }
            }
          },
          "400": {
            "description": "invalid_input: the request needs fixing; error names the field.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "401": {
            "description": "unauthorized: the API key is missing or not valid.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "402": {
            "description": "insufficient_credits: no credits, trial or monthly allowance left.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "403": {
            "description": "forbidden: this key or account is not allowed this request.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "429": {
            "description": "quota_exceeded: a request-rate limit was reached.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          },
          "503": {
            "description": "temporarily_unavailable, time_limit or (on a store route) store_unreachable: ask again (with time_limit, allow more time). Retryable.",
            "headers": {
              "X-Request-Id": {
                "description": "The request id, equal to requestId in the body.",
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            }
          }
        },
        "security": [
          {
            "BearerAuth": []
          }
        ]
      }
    }
  }
}