{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Followers Scraper & Tracker: Export Followers List",
    "description": "Export Bluesky followers and following lists without login, with each account's follower, following and post counts, bio email and follow time. Also who liked or reposted a post, list and starter pack members, people search. Track new followers, unfollowers and follower count over time.",
    "version": "0.1",
    "x-build-id": "ngoEL3JRnION0o6MW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/s_actors~bluesky-followers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-s_actors-bluesky-followers-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/s_actors~bluesky-followers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-s_actors-bluesky-followers-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/s_actors~bluesky-followers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-s_actors-bluesky-followers-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": {
          "profiles": {
            "title": "👤 Profiles",
            "type": "array",
            "description": "One per line: a handle (name.bsky.social or a custom domain like nytimes.com), @handle, a profile link (bsky.app/profile/...) or a DID. You get their followers, the accounts they follow, or both (see List).",
            "items": {
              "type": "string"
            }
          },
          "lists": {
            "title": "📋 List",
            "enum": [
              "followers",
              "following",
              "both"
            ],
            "type": "string",
            "description": "Which list of each profile to export. Both = followers and following, each row says which list it came from (inputType).",
            "default": "followers"
          },
          "postUrls": {
            "title": "❤️ Post links: who liked or reposted",
            "type": "array",
            "description": "Optional: post links (bsky.app/profile/<handle>/post/<id>). You get the accounts that liked the post (with the time of each like), reposted it, or both (see Post list).",
            "items": {
              "type": "string"
            }
          },
          "postLists": {
            "title": "🔁 Post list",
            "enum": [
              "likes",
              "reposts",
              "both"
            ],
            "type": "string",
            "description": "For post links: the accounts that liked, reposted, or both.",
            "default": "likes"
          },
          "listUrls": {
            "title": "📚 Lists and starter packs",
            "type": "array",
            "description": "Optional: user lists (bsky.app/profile/<handle>/lists/<id>) or starter packs (bsky.app/starter-pack/<handle>/<id> or a go.bsky.app share link). You get every member account.",
            "items": {
              "type": "string"
            }
          },
          "searchPeople": {
            "title": "🔍 Search people",
            "type": "array",
            "description": "Optional: words to find accounts by name, handle or bio, as in the Bluesky search (e.g. journalist, photographer berlin). Up to 10 000 accounts per search, in Bluesky's order.",
            "items": {
              "type": "string"
            }
          },
          "maxPerInput": {
            "title": "💯 Max accounts per list",
            "minimum": 0,
            "type": "integer",
            "description": "How many accounts to take from each list (followers of one profile, likes of one post, one starter pack...). 0 = all: the whole list, newest first.",
            "default": 1000
          },
          "includeProfileStats": {
            "title": "📊 Follower and post counts of each account",
            "type": "boolean",
            "description": "Add followersCount, followsCount, postsCount, pinned post, banner and verification to every account. One extra light request per 25 accounts. Off = only what the list itself shows (name, handle, bio, avatar).",
            "default": true
          },
          "exactFollowTime": {
            "title": "⏱️ Exact follow time",
            "type": "boolean",
            "description": "For followers and following: the exact time of every follow (followedAt). Slower, one request per account. Off = every row still gets the time window of its page (followedAfter / followedBefore, usually minutes or hours).",
            "default": false
          },
          "minFollowers": {
            "title": "👥 Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only accounts with at least this many followers (e.g. 1000 to find influencers among the followers)."
          },
          "maxFollowers": {
            "title": "👤 Maximum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only accounts with at most this many followers. Leave empty for no limit."
          },
          "verifiedOnly": {
            "title": "✅ Verified accounts only",
            "type": "boolean",
            "description": "Only accounts with the Bluesky blue check.",
            "default": false
          },
          "onlyWithEmail": {
            "title": "📧 Only accounts with an email in the bio",
            "type": "boolean",
            "description": "Only accounts whose bio contains an email address (for outreach lists).",
            "default": false
          },
          "bioKeywords": {
            "title": "🔤 Bio keywords",
            "type": "array",
            "description": "Only accounts whose bio, name or handle contains one of these words (from the start of a word: design finds designer).",
            "items": {
              "type": "string"
            }
          },
          "onlyNew": {
            "title": "🔔 Only new followers since the previous run",
            "type": "boolean",
            "description": "Output only accounts that were not in the same list in an earlier run of your account (key-value store bluesky-followers-state). The first run outputs the list as usual and remembers it. A run with no new accounts costs only the start.",
            "default": false
          },
          "detectUnfollows": {
            "title": "👋 Unfollowers",
            "type": "boolean",
            "description": "Also output accounts that left the list since the previous run (change = unfollowed, unliked or removed). Reads the whole list on every run, for lists up to 50 000 accounts; the first run only remembers the list.",
            "default": false
          },
          "maxConcurrency": {
            "title": "⚡ Lists at the same time",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many profiles, posts and lists are read in parallel (100 accounts a request).",
            "default": 5
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy",
            "type": "object",
            "description": "Requests go direct to the Bluesky API and switch to Apify datacenter proxies only if it refuses them. The default works for most runs.",
            "default": {
              "useApifyProxy": true
            }
          },
          "debugLog": {
            "title": "🐞 Debug log",
            "type": "boolean",
            "description": "Log every retried request (for troubleshooting).",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}