{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper — Export Posts, Profiles & Followers",
    "description": "Scrape Bluesky posts, profiles, followers and keyword search without an API key. Export to JSON, CSV or Excel. Free AT Protocol data, no OAuth setup.",
    "version": "0.1",
    "x-build-id": "x0RGXId0FOH7oeorn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/night_space~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-night_space-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/night_space~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-night_space-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/night_space~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-night_space-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": {
          "handles": {
            "title": "Bluesky handles",
            "type": "array",
            "description": "Accounts to scrape. Accepts a bare handle (alice.bsky.social), an @handle, or a full profile URL (https://bsky.app/profile/alice.bsky.social).",
            "default": [
              "bsky.app"
            ],
            "items": {
              "type": "string"
            }
          },
          "scrapeProfiles": {
            "title": "Scrape profiles",
            "type": "boolean",
            "description": "Return the profile record for each handle: display name, bio, avatar, banner, follower/following/post counts and join date.",
            "default": true
          },
          "scrapePosts": {
            "title": "Scrape posts",
            "type": "boolean",
            "description": "Return posts from each handle's feed, including engagement counts, hashtags, mentions, links and images.",
            "default": true
          },
          "maxPostsPerHandle": {
            "title": "Max posts per handle",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit on posts returned for each handle. Set to 0 to skip posts.",
            "default": 100
          },
          "scrapeFollowers": {
            "title": "Scrape followers",
            "type": "boolean",
            "description": "Return the accounts following each handle. Off by default because large accounts produce a lot of rows.",
            "default": false
          },
          "maxFollowersPerHandle": {
            "title": "Max followers per handle",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit on followers returned for each handle.",
            "default": 500
          },
          "scrapeFollowing": {
            "title": "Scrape following",
            "type": "boolean",
            "description": "Return the accounts each handle follows.",
            "default": false
          },
          "maxFollowingPerHandle": {
            "title": "Max following per handle",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit on followed accounts returned for each handle.",
            "default": 500
          },
          "searchTerms": {
            "title": "Keyword post search",
            "type": "array",
            "description": "Search all of Bluesky for posts matching these keywords - useful for brand monitoring and sentiment tracking. Bluesky requires a logged-in session for post search, so this needs the credentials below. Leave empty to skip.",
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerSearch": {
            "title": "Max posts per search term",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper limit on posts returned for each search term.",
            "default": 100
          },
          "blueskyIdentifier": {
            "title": "Bluesky handle (for login)",
            "type": "string",
            "description": "Your own Bluesky handle, e.g. yourname.bsky.social. Only used for keyword post search."
          },
          "blueskyAppPassword": {
            "title": "Bluesky app password",
            "type": "string",
            "description": "Create one at Bluesky Settings > Privacy and Security > App Passwords. Never use your real account password - an app password cannot change your email or password, so it is safe to revoke."
          },
          "searchPeopleTerms": {
            "title": "People search",
            "type": "array",
            "description": "Find Bluesky accounts by keyword, name or topic. Works without login. Leave empty to skip.",
            "items": {
              "type": "string"
            }
          },
          "maxPeoplePerSearch": {
            "title": "Max people per search term",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Upper limit on accounts returned for each people-search term.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}