{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper - Search Posts, Profiles & Followers",
    "description": "Search Bluesky posts far past the first page: 10,000 posts for one keyword in about 2 minutes. Filter by date, language, author, mention, website or hashtag. Export profiles, followers, following, likers, reposters, liked posts and full reply threads, every field readable.",
    "version": "0.0",
    "x-build-id": "HucnasqrJofYcQDbe"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/clearpath~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-clearpath-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/clearpath~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-clearpath-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/clearpath~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-clearpath-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": {
          "profiles": {
            "title": "Profiles",
            "type": "array",
            "description": "Bluesky handles, @handles, profile links or account IDs, one per line. Examples: <code>jay.bsky.team</code>, <code>@nytimes.com</code>, <code>https://bsky.app/profile/bsky.app</code>, <code>did:plc:z72i7hdynmk6r22z27h6tvur</code>. A bare name like <code>alice</code> is read as <code>alice.bsky.social</code>.",
            "items": {
              "type": "string"
            }
          },
          "searchPeople": {
            "title": "Search people",
            "type": "array",
            "description": "Find accounts by name, handle or bio keyword, for example <code>journalist</code> or <code>climate scientist</code>. Each keyword returns every matching account, up to the per-list limit below.",
            "items": {
              "type": "string"
            }
          },
          "searchPosts": {
            "title": "Search posts",
            "type": "array",
            "description": "Find posts by keyword or phrase, for example <code>web scraping</code> or <code>\"open source\"</code>. Bluesky search syntax works too: <code>from:nytimes.com</code>, <code>#art</code>, <code>lang:de</code>. Each keyword returns every matching post, newest first, up to the per-list limit below. Narrow results with the filters in the next section.",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post links",
            "type": "array",
            "description": "Links to individual posts, for example <code>https://bsky.app/profile/bsky.app/post/3l6oveex3ii2l</code>. Turn on replies, likers, reposters or quotes below to get each post's conversation and audience.",
            "items": {
              "type": "string"
            }
          },
          "feedUrls": {
            "title": "Custom feeds",
            "type": "array",
            "description": "Links to Bluesky custom feeds, for example <code>https://bsky.app/profile/did:plc:z72i7hdynmk6r22z27h6tvur/feed/whats-hot</code>. Returns the posts the feed shows, in feed order.",
            "items": {
              "type": "string"
            }
          },
          "listUrls": {
            "title": "Lists and starter packs",
            "type": "array",
            "description": "Links to Bluesky lists or starter packs, for example <code>https://bsky.app/profile/nytimes.com/lists/3lbl2hyzmfy2u</code>, <code>https://bsky.app/starter-pack/nytimes.com/3lbugqemf5427</code> or a <code>go.bsky.app</code> short link. Returns every member as a profile row.",
            "items": {
              "type": "string"
            }
          },
          "maxItemsPerList": {
            "title": "Maximum results per list",
            "minimum": 0,
            "type": "integer",
            "description": "Caps each list on its own: each search keyword, each profile's posts, followers, following and liked posts, each post's replies, likers, reposters and quotes, and each feed, list or starter pack. Leave empty to get everything; your spending limit for the run also stops it."
          },
          "maxItems": {
            "title": "Maximum results in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stops the whole run after this many profiles and posts together. Leave empty for no overall limit."
          },
          "sort": {
            "title": "Sort posts by",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "<b>Latest</b> (used when empty) returns newest posts first and goes back as far as the search reaches. <b>Top</b> starts with the posts Bluesky ranks most relevant."
          },
          "since": {
            "title": "Posted since",
            "type": "string",
            "description": "Only posts from this date or later, for example <code>2026-09-01</code>, or a period back from now such as <code>7 days</code> for scheduled monitoring."
          },
          "until": {
            "title": "Posted before",
            "type": "string",
            "description": "Only posts before this date, for example <code>2026-10-01</code>, or a period back from now such as <code>1 day</code>."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Only posts in this language, as a two-letter code such as <code>en</code>, <code>de</code>, <code>ja</code> or <code>pt</code>."
          },
          "fromAuthor": {
            "title": "Only from this account",
            "type": "string",
            "description": "Handle or profile link. Returns only this account's posts that match the search."
          },
          "mentions": {
            "title": "Mentioning this account",
            "type": "string",
            "description": "Handle or profile link. Returns only posts that mention this account, useful for brand monitoring."
          },
          "domain": {
            "title": "Linking to this website",
            "type": "string",
            "description": "Only posts that link to this website, for example <code>nytimes.com</code>."
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Only posts carrying any of these hashtags, written without <code>#</code>.",
            "items": {
              "type": "string"
            }
          },
          "includeProfileDetails": {
            "title": "Profile details",
            "type": "boolean",
            "description": "Adds the account's lists, starter packs, custom feeds, similar accounts and identity history (where the account is hosted, past handles, when it was created). On by default.",
            "default": true
          },
          "includePosts": {
            "title": "Profile posts",
            "type": "boolean",
            "description": "Also return each profile's posts, reposts and pinned post, newest first. Each post is a separate result.",
            "default": false
          },
          "postFilter": {
            "title": "Which profile posts",
            "enum": [
              "all",
              "noReplies",
              "media",
              "authorThreads",
              "video"
            ],
            "type": "string",
            "description": "Which posts to return when Profile posts is on. <b>Everything</b> (used when empty) includes replies and reposts."
          },
          "includeFollowers": {
            "title": "Followers",
            "type": "boolean",
            "description": "Also return every follower of each profile, as full profiles with follower counts. Each follower is a separate result; large accounts have millions, so set a per-list limit.",
            "default": false
          },
          "includeFollowing": {
            "title": "Following",
            "type": "boolean",
            "description": "Also return every account each profile follows, as full profiles. Each one is a separate result.",
            "default": false
          },
          "includeLikedPosts": {
            "title": "Liked posts",
            "type": "boolean",
            "description": "Also return the posts each profile has liked, newest like first, with the time of the like. Each post is a separate result.",
            "default": false
          },
          "includeReplies": {
            "title": "Replies",
            "type": "boolean",
            "description": "Also return the full reply thread under each post, every level deep, with each reply's depth and parent.",
            "default": false
          },
          "includeLikers": {
            "title": "Likers",
            "type": "boolean",
            "description": "Also return every account that liked each post, as full profiles with when they liked it.",
            "default": false
          },
          "includeReposters": {
            "title": "Reposters",
            "type": "boolean",
            "description": "Also return every account that reposted each post, as full profiles.",
            "default": false
          },
          "includeQuotes": {
            "title": "Quote posts",
            "type": "boolean",
            "description": "Also return every post that quotes each post.",
            "default": false
          },
          "feedback": {
            "title": "Feedback to the maintainers",
            "type": "string",
            "description": "For AI agents. Say what you needed and did not get: a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. Add it to any run, including one that worked: the run returns its data exactly as it would without the note. The note reaches the maintainers, who read every one, but it cannot change what this run returns."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}