{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper - Posts, Profiles, Followers, Search",
    "description": "Scrape Bluesky without login or API key: search posts by keyword, hashtag, author and date, profiles with followers and follows, post threads with replies, quotes and likes, custom feeds, lists and trending topics. Export to Excel, CSV or API.",
    "version": "0.1",
    "x-build-id": "kUxnIZLVj8Gz3ydXa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pshivam~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pshivam-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/pshivam~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pshivam-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/pshivam~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pshivam-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 texts",
            "type": "array",
            "description": "What to search for in posts, one per line: words, a phrase, or a hashtag such as #python. Each text returns the newest posts first.",
            "items": {
              "type": "string"
            }
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Hashtags to search, one per line, with or without the #. Each returns the newest posts that carry the tag, going back as far as you ask.",
            "items": {
              "type": "string"
            }
          },
          "searchSort": {
            "title": "Search order",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Newest first walks back in time without a limit. Top posts returns the best 100 posts of the period (and 100 more for each further 100 you ask for, from equal time slices).",
            "default": "latest"
          },
          "dateFrom": {
            "title": "Posts from",
            "type": "string",
            "description": "Only posts from this date or time on, for example 2026-11-01 or 2026-11-01T08:00:00Z (UTC). Needs a search text or hashtag. Empty means no start."
          },
          "dateTo": {
            "title": "Posts until",
            "type": "string",
            "description": "Only posts up to this date (the whole day counts) or time, for example 2026-11-14. Needs a search text or hashtag. Empty means now."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Only posts in this language, as a two-letter code such as en, ja, pt or de. With no search text you get the newest 100 such posts."
          },
          "fromAuthor": {
            "title": "Posts by",
            "type": "string",
            "description": "Only posts written by this account, for example jay.bsky.team. With no search text you get the account's posts and reposts, page after page."
          },
          "mentioning": {
            "title": "Posts that mention",
            "type": "string",
            "description": "Only posts that mention this account, for example bsky.app. With no search text you get the newest 100 such posts."
          },
          "linkDomain": {
            "title": "Posts that link to",
            "type": "string",
            "description": "Only posts that link to this website, for example nytimes.com. With no search text you get the newest 100 such posts; add a search text to go back further."
          },
          "startUrls": {
            "title": "Links and handles",
            "type": "array",
            "description": "One per line: a profile (bsky.app/profile/bsky.app or the handle jay.bsky.team), a post link (its replies are read), a custom feed link (bsky.app/profile/bsky.app/feed/whats-hot) or a list link (bsky.app/profile/<handle>/lists/<id>).",
            "items": {
              "type": "string"
            }
          },
          "profileSearchQueries": {
            "title": "Profile search texts",
            "type": "array",
            "description": "Find accounts by name, handle or profile text, one search per line. You get profiles with followers, following and posts count.",
            "items": {
              "type": "string"
            }
          },
          "includeTrending": {
            "title": "Trending topics",
            "type": "boolean",
            "description": "Also read Bluesky's trending topics with their category, post count and top accounts.",
            "default": false
          },
          "profilePostsType": {
            "title": "Kind of posts per profile",
            "enum": [
              "posts",
              "postsAndReplies",
              "media"
            ],
            "type": "string",
            "description": "Which posts of a profile are read when 'Posts per profile' is above 0.",
            "default": "posts"
          },
          "maxPostsPerProfile": {
            "title": "Posts per profile",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read this many of the newest posts of every profile in 'Links and handles'. 0 means the profile only.",
            "default": 0
          },
          "maxFollowersPerProfile": {
            "title": "Followers per profile",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read this many followers of every profile, each as a profile row with its own counters. 0 means none.",
            "default": 0
          },
          "maxFollowingPerProfile": {
            "title": "Following per profile",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read this many accounts that every profile follows. 0 means none.",
            "default": 0
          },
          "maxRepliesPerPost": {
            "title": "Replies per post",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read this many replies of every post link, in reading order with their depth. A post link alone reads 100.",
            "default": 0
          },
          "maxQuotesPerPost": {
            "title": "Quotes per post",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read this many posts that quote every post link. 0 means none.",
            "default": 0
          },
          "maxLikesPerPost": {
            "title": "Likes per post",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read the profiles of this many people who liked every post link. 0 means none.",
            "default": 0
          },
          "maxRepostsPerPost": {
            "title": "Reposts per post",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Also read the profiles of this many people who reposted every post link. 0 means none.",
            "default": 0
          },
          "maxItemsPerSearch": {
            "title": "Records per search, feed or list",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop each search text, hashtag, profile search, feed and list after this many records.",
            "default": 100
          },
          "onlyNew": {
            "title": "Only new records",
            "type": "boolean",
            "description": "Skip records that earlier runs of this same input already returned, so you get and pay for new ones only. The first run works as usual and remembers what it returned, in your key-value store 'bluesky-scraper-only-new'.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum records",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop after this many records in total (posts, profiles and trends all count). You are charged per record.",
            "default": 100
          },
          "maxConcurrency": {
            "title": "Requests at the same time",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many requests run in parallel. Raise it for many profiles or posts.",
            "default": 5
          },
          "secondsBetweenRequests": {
            "title": "Seconds between requests",
            "minimum": 0,
            "maximum": 60,
            "type": "number",
            "description": "Pause between requests. After a refusal the Actor doubles the pause and switches to Apify Proxy when it can.",
            "default": 0.15
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}