{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper: Posts, Profiles, Followers & Search",
    "description": "Scrape Bluesky posts, profiles, followers, follows, threads, replies, quotes, likes, reposts, custom feeds, lists and starter packs. Keyword search with Bluesky's operators and an only-new monitor. No login, no proxy. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "et3w4nQc2decwujOr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-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/steadyscrape~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-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/steadyscrape~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-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": {
          "targets": {
            "title": "Bluesky links or handles",
            "type": "array",
            "description": "One per line: a profile (<code>https://bsky.app/profile/bsky.app</code>, <code>@bsky.app</code> or a DID), its followers or follows (<code>…/profile/bsky.app/followers</code>), a post for its thread (<code>…/profile/bsky.app/post/3n25midjy722x</code>) or its <code>/liked-by</code>, <code>/reposted-by</code> or <code>/quotes</code>, a custom feed (<code>…/profile/…/feed/whats-hot</code>), a list (<code>…/profile/…/lists/…</code>), a starter pack (<code>https://bsky.app/starter-pack/…</code> or <code>https://go.bsky.app/…</code>), a search or hashtag link, or an AT URI.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Search terms",
            "type": "array",
            "description": "Bluesky post searches, one per line, with Bluesky's own operators: <code>\"exact phrase\"</code>, <code>#hashtag</code>, <code>from:handle</code>, <code>to:handle</code>, <code>mentions:handle</code>, <code>domain:example.com</code>, <code>lang:en</code>, <code>since:2026-01-01</code>, <code>until:2026-02-01</code>. Bluesky gives logged-out clients the first 100 posts of each search: for brand or keyword monitoring, turn on <b>Only new posts</b> and schedule the run.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "searchSort": {
            "title": "Search sort",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "<b>Latest</b> suits monitoring; <b>Top</b> gives the most engaging posts first.",
            "default": "latest"
          },
          "searchLanguage": {
            "title": "Search language",
            "type": "string",
            "description": "Only posts in this language: a code such as <code>en</code>, <code>pt</code>, <code>ja</code>. Empty for every language.",
            "default": ""
          },
          "searchPostedInLastDays": {
            "title": "Search: posted in the last N days",
            "minimum": 0,
            "type": "integer",
            "description": "Only posts from the last N days. 0 for any time.",
            "default": 0
          },
          "maxPostsPerTarget": {
            "title": "Maximum posts per profile, feed, search or quotes list",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each profile's posts, feed, search and quotes list after this many posts. 0 means no maximum (a search gives at most 100).",
            "default": 100
          },
          "maxRepliesPerPost": {
            "title": "Maximum replies per post link",
            "minimum": 0,
            "type": "integer",
            "description": "Replies of each post link, at every depth, in the order Bluesky shows them. 0 means every reply.",
            "default": 100
          },
          "maxAccountsPerList": {
            "title": "Maximum accounts per list",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each followers, follows, likes, reposts, list or starter pack list after this many accounts. 0 means no maximum.",
            "default": 100
          },
          "profileDetails": {
            "title": "Profile with counts",
            "type": "boolean",
            "description": "For each profile link, its profile: bio, avatar, followers, follows and posts counts, lists, feeds and starter packs (priced as <code>profile</code>).",
            "default": true
          },
          "profilePosts": {
            "title": "Profile posts",
            "type": "boolean",
            "description": "For each profile link, its posts, newest first (priced as <code>post</code>).",
            "default": true
          },
          "authorFeedFilter": {
            "title": "Which posts of a profile",
            "enum": [
              "posts_and_author_threads",
              "posts_no_replies",
              "posts_with_replies",
              "posts_with_media",
              "posts_with_video"
            ],
            "type": "string",
            "description": "The profile tabs of the Bluesky app.",
            "default": "posts_and_author_threads"
          },
          "includeRepostsInProfile": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Also deliver the posts a profile reposted, marked with <code>isRepost</code> and <code>repostedByHandle</code>.",
            "default": false
          },
          "includeFollowers": {
            "title": "Followers of each profile",
            "type": "boolean",
            "description": "The accounts that follow each profile link, newest first (priced as <code>account</code>).",
            "default": false
          },
          "includeFollows": {
            "title": "Follows of each profile",
            "type": "boolean",
            "description": "The accounts each profile link follows (priced as <code>account</code>).",
            "default": false
          },
          "threadReplies": {
            "title": "Replies of post links",
            "type": "boolean",
            "description": "For each post link, its replies at every depth, with <code>threadDepth</code> and <code>replyToUri</code> (priced as <code>post</code>).",
            "default": true
          },
          "includeQuotes": {
            "title": "Quotes of post links",
            "type": "boolean",
            "description": "The posts that quote each post link (priced as <code>post</code>).",
            "default": false
          },
          "includeLikes": {
            "title": "Likes of post links",
            "type": "boolean",
            "description": "The accounts that liked each post link, with when (priced as <code>account</code>).",
            "default": false
          },
          "includeRepostedBy": {
            "title": "Reposts of post links",
            "type": "boolean",
            "description": "The accounts that reposted each post link (priced as <code>account</code>).",
            "default": false
          },
          "accountDetails": {
            "title": "Full profile for each account",
            "type": "boolean",
            "description": "Deliver each account of a followers, follows, likes, reposts, list or starter pack list as a full profile with its followers, follows and posts counts (priced as <code>profile</code> instead of <code>account</code>).",
            "default": false
          },
          "onlyNew": {
            "title": "Only new posts",
            "type": "boolean",
            "description": "Skip posts and accounts an earlier run with the same options already delivered, per link and search term, and stop a list at the first page of known items: schedule the run to monitor a brand, a keyword, a profile or new followers. Profiles are delivered every run. Kept in your key-value store <code>steadyscrape-bluesky-scraper-state</code>.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}