{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper: Posts, Followers, Feeds, Lists & Starter Packs",
    "description": "Enter Bluesky handles, bsky.app profile, post, topic feed, list or starter pack URLs, or account keywords. Get a flat row per post or account: text, links, likes, reposts, replies, followers. Also followers, following, likers, reposters, quotes, threads. No login or API key. No keyword post search.",
    "version": "0.1",
    "x-build-id": "5SSKSuDwLsJLWx0yK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/ctriolab~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-ctriolab-bluesky-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/ctriolab~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-ctriolab-bluesky-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/ctriolab~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-ctriolab-bluesky-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "authorFeeds": {
            "title": "Author feeds: accounts",
            "type": "array",
            "description": "Bluesky accounts whose own posts you want, newest first, one post row each. Handles (bsky.app, @name.bsky.social, a custom domain like nytimes.com), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/<handle>) are all accepted. Example: bsky.app. Leave empty to skip this mode.",
            "items": {
              "type": "string"
            }
          },
          "feedUrls": {
            "title": "Topic feeds (custom feed URLs)",
            "type": "array",
            "description": "Bluesky custom feed URLs (the topic feeds people pin in the app, like Science or News). One post row per post in the feed, in feed order. Format: https://bsky.app/profile/<handle or DID>/feed/<id> or at://<did>/app.bsky.feed.generator/<id>. Example: https://bsky.app/profile/did:plc:jfhpnnst6flqway4eaeqzj2a/feed/for-science. Use this to follow a topic, because keyword post search is not available to logged-out clients. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "accountSearch": {
            "title": "Find accounts by keyword",
            "type": "array",
            "description": "Keywords to find accounts by name, handle or bio, one profile row per matching account (this searches accounts, not posts). Example: climate scientist. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "authorFeedFilter": {
            "title": "Author feed: which posts",
            "enum": [
              "posts_no_replies",
              "posts_with_replies",
              "posts_and_author_threads",
              "posts_with_media",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Which posts to take from each account in Author feeds, the same tabs as on a Bluesky profile page. Default posts_no_replies = original posts and quotes without replies. posts_with_replies adds replies, posts_and_author_threads adds only replies in the author's own threads, posts_with_media keeps posts with images or video, posts_with_video keeps posts with video.",
            "default": "posts_no_replies"
          },
          "includeReposts": {
            "title": "Author feed: include reposts",
            "type": "boolean",
            "description": "Author feeds only. true = also save posts the account reposted, as rows with postType repost and repostedByHandle, repostedByDid, repostedAt. Default false = only the account's own posts.",
            "default": false
          },
          "profiles": {
            "title": "Profiles",
            "type": "array",
            "description": "Accounts to describe, one profile row each with bio, avatar, followersCount, followsCount, postsCount and join date. Handles (bsky.app, @name.bsky.social, a custom domain like nytimes.com), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/<handle>) are all accepted. Example: atproto.com. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "followersOf": {
            "title": "Followers of",
            "type": "array",
            "description": "Accounts whose followers you want, newest followers first, one profile row per follower (relation follower, subjectHandle = the account you entered). Handles (bsky.app, @name.bsky.social, a custom domain like nytimes.com), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/<handle>) are all accepted. Example: bsky.app. Turn on Add counts to also get the follower counts of each follower. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "followingOf": {
            "title": "Following of",
            "type": "array",
            "description": "Accounts whose followed accounts you want, one profile row per followed account (relation following). Handles (bsky.app, @name.bsky.social, a custom domain like nytimes.com), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/<handle>) are all accepted. Example: jay.bsky.team. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "listUrls": {
            "title": "List members (list URLs)",
            "type": "array",
            "description": "Bluesky list URLs. One profile row per list member, with listUri, listName and listUrl. Format: https://bsky.app/profile/<handle or DID>/lists/<id> or at://<did>/app.bsky.graph.list/<id>. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "starterPackUrls": {
            "title": "Starter pack members (starter pack URLs)",
            "type": "array",
            "description": "Bluesky starter pack URLs. One profile row per member, with starterPackName and starterPackUrl. Format: https://bsky.app/starter-pack/<handle or DID>/<id>, for example https://bsky.app/starter-pack/bsky.app/3mv3qhvnmkd2l. Open go.bsky.app short links in a browser first to get this URL. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post threads (post URLs)",
            "type": "array",
            "description": "Post URLs whose thread you want: the post itself and its replies, one post row each with threadDepth (0 = the post, 1 = direct reply). Format: https://bsky.app/profile/<handle or DID>/post/<id> or at://<did>/app.bsky.feed.post/<id>. Example: https://bsky.app/profile/bsky.app/post/3mwolmfws5k2r. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeThreadRoot": {
            "title": "Thread: include the post itself",
            "type": "boolean",
            "description": "Post threads only. Default true = save the post you entered as the first row (threadDepth 0). false = replies only.",
            "default": true
          },
          "threadDepth": {
            "title": "Thread: reply depth",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Post threads only. How many levels of replies to follow, from 0 to 1000. 1 = direct replies only. Default 10. Bluesky only returns the replies it shows on the post page.",
            "default": 10
          },
          "likesOf": {
            "title": "Likes of posts (post URLs)",
            "type": "array",
            "description": "Post URLs (same format as Post threads). One profile row per account that liked the post, with likedAt (when they liked it) and subjectPostUrl. Example: https://bsky.app/profile/bsky.app/post/3mwolmfws5k2r. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "repostsOf": {
            "title": "Reposts of posts (post URLs)",
            "type": "array",
            "description": "Post URLs (same format as Post threads). One profile row per account that reposted the post, with subjectPostUrl. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "quotesOf": {
            "title": "Quotes of posts (post URLs)",
            "type": "array",
            "description": "Post URLs (same format as Post threads). One post row per post that quotes the post, with subjectPostUrl. Default: empty.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "enrichProfiles": {
            "title": "Add counts to follower, like, list and search results",
            "type": "boolean",
            "description": "Rows from Followers of, Following of, Likes, Reposts, List members, Starter pack members and Find accounts come with handle, name, bio and avatar, but followersCount, followsCount and postsCount are null. true = also fill those counts (one extra request per 25 accounts, slower, no extra charge). Default false.",
            "default": false
          },
          "maxItemsPerInput": {
            "title": "Max results per input",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows saved for each entry (each account, feed, keyword, list or post you entered). Unit: rows. Default 100, 0 = no cap. Each saved row is one charged result, so this also caps cost.",
            "default": 100
          },
          "maxItems": {
            "title": "Max results in total",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum rows saved in the whole run across all entries. Unit: rows. Default 1000, 0 = no cap (the run still stops at the max charge you set). Each saved row is one charged result.",
            "default": 1000
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "How many times to retry one request after HTTP 429 or 5xx, from 0 to 10, with exponential backoff that waits as long as Bluesky asks (Retry-After and RateLimit headers). Default 6. You rarely need to change this.",
            "default": 6
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}