{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper API - posts, followers, likers, starter packs",
    "description": "Search Bluesky posts, export timelines, threads, quote posts, profiles, followers, likers, reposters and starter-pack members via the official public AT Protocol API. No login. Engagement filters, only-new-posts monitoring. $1 / 1,000 posts.",
    "version": "1.1",
    "x-build-id": "LwSPgolNg5P9LlXRq"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/beguiling_equator~bluesky-public-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-beguiling_equator-bluesky-public-data",
        "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/beguiling_equator~bluesky-public-data/runs": {
      "post": {
        "operationId": "runs-sync-beguiling_equator-bluesky-public-data",
        "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/beguiling_equator~bluesky-public-data/run-sync": {
      "post": {
        "operationId": "run-sync-beguiling_equator-bluesky-public-data",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "authorFeed",
              "thread",
              "profile",
              "followers",
              "follows",
              "customFeed",
              "likers",
              "reposters",
              "quotes",
              "listMembers"
            ],
            "type": "string",
            "description": "search: keyword search for posts (uses `queries`). authorFeed: posts by one or more accounts (uses `actors`). thread: a post and its full reply tree (uses `postUrls`). profile: detailed profiles (uses `actors`). followers / follows: the follower or following list of accounts (uses `actors`). customFeed: posts from a custom feed generator (uses `feedUrls`). likers / reposters: who liked or reposted the given posts (postUrls). quotes: every post quoting the given posts (postUrls). listMembers: members of a curated list or starter pack (listUrls).",
            "default": "authorFeed"
          },
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "One search per entry (mode = search). Plain words, phrases in quotes, hashtags (#apify) or domains. Lucene-style syntax is accepted by Bluesky but not guaranteed.",
            "items": {
              "type": "string"
            }
          },
          "actors": {
            "title": "Accounts (handles, DIDs or profile URLs)",
            "type": "array",
            "description": "For authorFeed, profile, followers and follows modes. Accepts bsky.app profile URLs (https://bsky.app/profile/bsky.app), handles (bsky.app, name.bsky.social, @name) or DIDs (did:plc:...).",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post URLs or AT URIs",
            "type": "array",
            "description": "For thread mode. Accepts https://bsky.app/profile/{handle}/post/{id} links or at://did:plc:.../app.bsky.feed.post/... URIs. Used by thread, likers, reposters and quotes modes.",
            "items": {
              "type": "string"
            }
          },
          "feedUrls": {
            "title": "Custom feed URLs or AT URIs",
            "type": "array",
            "description": "For customFeed mode. Accepts https://bsky.app/profile/{handle}/feed/{name} links or at://did:plc:.../app.bsky.feed.generator/... URIs.",
            "items": {
              "type": "string"
            }
          },
          "listUrls": {
            "title": "List or starter-pack URLs",
            "type": "array",
            "description": "For mode listMembers: curated / moderation list URLs (https://bsky.app/profile/<handle>/lists/<id>), starter-pack URLs (https://bsky.app/starter-pack/<handle>/<id>) or their at:// URIs. Short go.bsky.app links are not supported.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerQuery": {
            "title": "Max items per query",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many posts (or profiles / graph entries) per query, account, thread or feed. Hard cap 20,000. In thread mode this caps the number of posts collected from one thread.",
            "default": 100
          },
          "includeRaw": {
            "title": "Include raw AT Protocol record",
            "type": "boolean",
            "description": "Attach the untouched post / profile view from the API under `raw` (larger dataset items).",
            "default": false
          },
          "sort": {
            "title": "Search sort",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "latest (chronological, supports paging past the first 100 results without login) or top (relevance; without login only the first page of up to 100 posts is reachable).",
            "default": "latest"
          },
          "since": {
            "title": "Since (ISO datetime, inclusive)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}",
            "type": "string",
            "description": "Only posts created at or after this time, e.g. 2026-10-01T00:00:00Z. Ignored when `sinceLastRun` finds a stored checkpoint for the query."
          },
          "until": {
            "title": "Until (ISO datetime, exclusive)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}",
            "type": "string",
            "description": "Only posts created before this time, e.g. 2026-10-07T00:00:00Z."
          },
          "lang": {
            "title": "Language",
            "type": "string",
            "description": "BCP-47 language code such as en, de, ja, pt-BR."
          },
          "author": {
            "title": "Only posts by author",
            "type": "string",
            "description": "Restrict the search to one account (handle or DID)."
          },
          "mentions": {
            "title": "Only posts mentioning",
            "type": "string",
            "description": "Restrict the search to posts that mention this account (handle or DID). Great for brand monitoring."
          },
          "domain": {
            "title": "Only posts linking to domain",
            "type": "string",
            "description": "Restrict to posts containing a link to this domain, e.g. apify.com."
          },
          "url": {
            "title": "Only posts linking to URL",
            "type": "string",
            "description": "Restrict to posts containing this exact link."
          },
          "tags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Restrict to posts carrying all of these hashtags (without #).",
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Min likes",
            "minimum": 0,
            "type": "integer",
            "description": "Only output posts with at least this many likes (0 = no filter). Posts below the threshold are not written and not charged. Applies to every post mode."
          },
          "minReposts": {
            "title": "Min reposts",
            "minimum": 0,
            "type": "integer",
            "description": "Only output posts with at least this many reposts (0 = no filter)."
          },
          "minReplies": {
            "title": "Min replies",
            "minimum": 0,
            "type": "integer",
            "description": "Only output posts with at least this many replies (0 = no filter)."
          },
          "authorFeedFilter": {
            "title": "Author feed filter",
            "enum": [
              "posts_with_replies",
              "posts_no_replies",
              "posts_with_media",
              "posts_and_author_threads",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Which posts of an account to return in authorFeed mode.",
            "default": "posts_with_replies"
          },
          "includePins": {
            "title": "Include pinned post first",
            "type": "boolean",
            "description": "authorFeed mode: return the pinned post at the top of the feed.",
            "default": false
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "authorFeed / customFeed modes: keep reposts (marked isRepost = true with repostedByHandle). Turn off to export only original posts and replies.",
            "default": true
          },
          "threadDepth": {
            "title": "Thread reply depth",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "thread mode: how many levels of replies to include (0-1000; the AppView may cap very deep threads).",
            "default": 50
          },
          "threadParentHeight": {
            "title": "Thread parent height",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "thread mode: how many parent posts above the given post to include (0-1000).",
            "default": 80
          },
          "graphSort": {
            "title": "Followers sort",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "followers mode only: latest (most recent followers first) or top.",
            "default": "latest"
          },
          "sinceLastRun": {
            "title": "Only new items since last run (monitoring)",
            "type": "boolean",
            "description": "Keep a checkpoint per query / account / thread / feed in the named key-value store and output only posts (or graph entries) not seen in previous runs. Schedule the Actor to build a monitor; the first run seeds the checkpoint.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Name of the key-value store holding the checkpoints. Use different names for independent monitors.",
            "default": "bluesky-public-data-state"
          },
          "respectNoUnauthenticated": {
            "title": "Skip accounts that opted out of logged-out visibility",
            "type": "boolean",
            "description": "Bluesky users can ask that their profile and posts are hidden from logged-out viewers (the !no-unauthenticated label). When on (recommended), such accounts and their posts are skipped unless you run with your own credentials.",
            "default": true
          },
          "requestsPerSecond": {
            "title": "Requests per second",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Global request rate against the Bluesky API (1-8). The AppView documents no fixed quota for reads; the Actor also honours 429 / Retry-After with exponential backoff.",
            "default": 3
          },
          "maxRetries": {
            "title": "Max retries",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Retries for 429 / 5xx / network errors (0-5). After that the query is skipped with a warning.",
            "default": 3
          },
          "identifier": {
            "title": "Your Bluesky handle or email (optional)",
            "type": "string",
            "description": "Optional. Together with an App Password the Actor logs in to YOUR account through the official com.atproto.server.createSession endpoint. Logged-in requests can page through search results with cursors (also sort=top), see accounts that opted out of logged-out visibility, and get your own account's rate limits. Never required."
          },
          "appPassword": {
            "title": "Bluesky App Password (optional)",
            "type": "string",
            "description": "An App Password for the account above (format xxxx-xxxx-xxxx-xxxx). Marked secret: encrypted at rest, hidden in the UI, never written to logs or the dataset."
          },
          "pdsHost": {
            "title": "PDS host for login",
            "type": "string",
            "description": "Only used with identifier + appPassword. Default https://bsky.social; set your own PDS URL if your account lives elsewhere.",
            "default": "https://bsky.social"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}