{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper — Posts, Profiles, Followers & Search",
    "description": "Scrape Bluesky posts by keyword or hashtag, user profiles, author feeds, followers, follows and full reply threads. No login, no browser — fast, cheap, clean JSON.",
    "version": "0.0",
    "x-build-id": "nE1ZBCAT17BREFcsT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/yasaslive~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-yasaslive-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/yasaslive~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-yasaslive-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/yasaslive~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-yasaslive-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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "search",
              "profile",
              "authorFeed",
              "followers",
              "follows",
              "thread"
            ],
            "type": "string",
            "description": "Search: posts matching keywords or hashtags. Profile: profile details for handles. Author feed: a user's posts. Followers / Follows: who follows a user / whom they follow. Thread: a post and all its replies.",
            "default": "search"
          },
          "queries": {
            "title": "Search terms",
            "type": "array",
            "description": "Used in Search mode. Keywords, phrases or hashtags, one per line — e.g. \"#ai\", \"climate change\", \"from:bsky.app\". Logged out, Bluesky returns up to ~100 posts per term; add a login below for more.",
            "default": [
              "#ai"
            ],
            "items": {
              "type": "string"
            }
          },
          "handles": {
            "title": "Bluesky handles",
            "type": "array",
            "description": "Used in Profile, Author feed, Followers and Follows modes. Handles (\"bsky.app\", \"@jay.bsky.team\"), DIDs, or profile URLs.",
            "default": [
              "bsky.app"
            ],
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post URLs",
            "type": "array",
            "description": "Used in Thread mode. Links like https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l or at:// URIs.",
            "default": [
              "https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum posts or profiles saved for each search term, handle or thread. In Profile mode it caps the number of handles.",
            "default": 200
          },
          "since": {
            "title": "Posted on or after",
            "type": "string",
            "description": "Only posts created on or after this date (UTC), e.g. 2025-01-31. Leave empty for no lower limit. Applies to post modes."
          },
          "until": {
            "title": "Posted before",
            "type": "string",
            "description": "Only posts created before this date (UTC). Leave empty for no upper limit."
          },
          "includeReplies": {
            "title": "Include replies",
            "type": "boolean",
            "description": "Include posts that are replies to other posts (Search and Author feed modes). Thread mode always returns replies.",
            "default": false
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Author feed mode: include posts the user reposted. Reposts carry repostedByHandle and repostedAt.",
            "default": false
          },
          "expandEmbeds": {
            "title": "Expand quoted posts and link cards",
            "type": "boolean",
            "description": "Add the full quoted post and link-preview details to each post. Images and video are always included.",
            "default": true
          },
          "searchSort": {
            "title": "Search sort order",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Search mode: newest first (latest) or most popular (top).",
            "default": "latest"
          },
          "blueskyHandle": {
            "title": "Bluesky handle (optional, for deep search)",
            "type": "string",
            "description": "Your Bluesky handle (e.g. alice.bsky.social) or account email. Leave empty to run without login. Used only in Search mode."
          },
          "blueskyAppPassword": {
            "title": "Bluesky app password",
            "type": "string",
            "description": "An app password like abcd-efgh-ijkl-mnop, created at https://bsky.app/settings/app-passwords. Never use your main password. It is stored encrypted and never logged."
          },
          "blueskyServiceUrl": {
            "title": "Bluesky service URL",
            "type": "string",
            "description": "Where to log in. Keep https://bsky.social unless your account is on a self-hosted PDS.",
            "default": "https://bsky.social"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used to reach Bluesky. The default Apify Proxy spreads requests across IPs to avoid rate limits.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}