{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper - Posts, Profiles, Followers & Search",
    "description": "Bluesky scraper and API: search posts by keyword, hashtag, author or domain; profiles with their posts; people search; followers / following; reply threads; a #journorequest feed (HARO alternative). No login. $0.30 per 1,000 results (posts or accounts), no start fee.",
    "version": "1.0",
    "x-build-id": "x21Nlr243NMf62wlY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/rel8ble~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-rel8ble-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/rel8ble~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-rel8ble-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/rel8ble~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-rel8ble-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": {
          "searchQueries": {
            "title": "Search posts",
            "type": "array",
            "description": "Keywords, phrases or Bluesky search syntax, one search per line: \"ai agents\", \"\\\"open source\\\"\", \"#buildinpublic\", \"from:nytimes.com storm\", \"domain:github.com\", \"lang:de klima\", \"mentions:bsky.app\". bsky.app/search?q=... links work too. Bluesky gives logged-out clients one page of up to 100 posts per search and sort, so split big topics into several narrower lines or date windows.",
            "items": {
              "type": "string"
            }
          },
          "searchSort": {
            "title": "Search sort",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Latest = the newest matching posts; Top = Bluesky's ranking by engagement.",
            "default": "latest"
          },
          "since": {
            "title": "Posted after",
            "type": "string",
            "description": "Optional. Only posts created after this time: a date (2026-11-01), an ISO time (2026-11-01T09:00:00Z) or a relative time (\"24 hours\", \"7 days\", \"1 month\"). Applies to searches (and the journalist-request feed, which defaults to the last 14 days)."
          },
          "until": {
            "title": "Posted before",
            "type": "string",
            "description": "Optional. Only posts created before this time (same formats as Posted after). Together with Posted after it gives a date window per search."
          },
          "language": {
            "title": "Languages",
            "type": "string",
            "description": "Optional. Language codes, comma-separated (en, de, ja, pt ...). One code is sent to Bluesky search; several are applied to all post rows (posts without a language tag are kept)."
          },
          "maxPostsPerQuery": {
            "title": "Max posts per search",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Up to 100 (one page: Bluesky's limit for logged-out search).",
            "default": 50
          },
          "journalistRequests": {
            "title": "Journalist requests feed (HARO alternative)",
            "type": "boolean",
            "description": "Also search the request hashtags journalists, producers and PR desks use when they need sources, experts or case studies (#journorequest, #journorequests, #prrequest, #mediarequest, #sourcerequest, #expertrequest, #casestudyrequest, #bloggerrequest, #podcastguest, #haro), newest first, last 14 days unless Posted after is set. Rows get requestHashtag, isRequest, deadlineText and contactEmails. Combine with Must contain words to keep only your topics.",
            "default": false
          },
          "profiles": {
            "title": "Profiles",
            "type": "array",
            "description": "Bluesky accounts, one per line: handle (nytimes.com, @jay.bsky.team), bare name (= name.bsky.social), bsky.app/profile/... URL or DID. Each gives one profile row (followers, following, posts count, bio, links, verification) plus its latest posts.",
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerProfile": {
            "title": "Max posts per profile",
            "minimum": 0,
            "type": "integer",
            "description": "Latest posts read from each profile (100 per request, no upper limit). 0 = profile row only.",
            "default": 25
          },
          "feedFilter": {
            "title": "Profile posts filter",
            "enum": [
              "posts_no_replies",
              "posts_with_replies",
              "posts_with_media",
              "posts_and_author_threads",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Which posts of each profile to read.",
            "default": "posts_no_replies"
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Also save posts the profile reposted (isRepost, repostedBy, repostedAt). Off = the profile's own posts only.",
            "default": false
          },
          "peopleSearch": {
            "title": "Search people",
            "type": "array",
            "description": "Find accounts by name, handle or bio words, one search per line (\"climate journalist\", \"founder saas\", \"real estate agent london\"). Each match is a profile row with follower counts (see Add profile stats).",
            "items": {
              "type": "string"
            }
          },
          "maxProfilesPerSearch": {
            "title": "Max accounts per people search",
            "minimum": 1,
            "type": "integer",
            "description": "Accounts read per people search (100 per request).",
            "default": 50
          },
          "followersOf": {
            "title": "Followers of",
            "type": "array",
            "description": "Accounts whose followers you want listed, one per line (handle, URL or DID). One profile row per follower, with connectionOf set.",
            "items": {
              "type": "string"
            }
          },
          "followingOf": {
            "title": "Following of",
            "type": "array",
            "description": "Accounts whose followed accounts you want listed, one per line. One profile row per followed account.",
            "items": {
              "type": "string"
            }
          },
          "maxConnectionsPerAccount": {
            "title": "Max followers / following per account",
            "minimum": 1,
            "type": "integer",
            "description": "Followers or followed accounts read per account (100 per request).",
            "default": 100
          },
          "includeProfileStats": {
            "title": "Add profile stats to people / follower rows",
            "type": "boolean",
            "description": "People search and follower lists return bare accounts; on = one extra request per 25 accounts adds followers, following and posts counts, banner and pinned post. Same price per row.",
            "default": true
          },
          "postUrls": {
            "title": "Posts and threads",
            "type": "array",
            "description": "bsky.app post links or at:// post URIs, one per line. Each gives the post row plus its replies (threadDepth, threadRootUri).",
            "items": {
              "type": "string"
            }
          },
          "maxRepliesPerPost": {
            "title": "Max replies per post",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Replies read per post, breadth-first (direct replies first). 0 = the post only.",
            "default": 50
          },
          "mustContain": {
            "title": "Must contain words",
            "type": "array",
            "description": "Optional. Keep only posts (text, link card, quoted post, hashtags) or accounts (name, handle, bio) that contain at least one of these words. Dropped rows are free.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Optional. Drop posts or accounts containing any of these words. Dropped rows are free.",
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Min likes",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Drop posts with fewer likes. Dropped rows are free.",
            "default": 0
          },
          "minFollowers": {
            "title": "Min followers",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Drop accounts with fewer followers (accounts without stats are kept). Dropped rows are free.",
            "default": 0
          },
          "dedupe": {
            "title": "Remove duplicates",
            "type": "boolean",
            "description": "On: one row per post and per account for the whole run (the first input that found it). Off: a post found by two inputs is saved twice.",
            "default": true
          },
          "maxResults": {
            "title": "Max results (whole run)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many rows in total. 0 = no limit.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Parallel requests to the Bluesky API (its robots.txt asks for \"a handful\"). 429 answers pause the run automatically.",
            "default": 4
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries per request on network errors, 429 and 5xx answers.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}