{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper: Posts, Profiles, Replies & Search",
    "description": "Scrape Bluesky posts by keyword, hashtag, profile or post link: text, likes, reposts, replies, images, links and author followers. No login, free filters.",
    "version": "0.1",
    "x-build-id": "SIMBo292lSedpeMNY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/techliondev~bluesky-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-techliondev-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/techliondev~bluesky-scraper/runs": {
      "post": {
        "operationId": "runs-sync-techliondev-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/techliondev~bluesky-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-techliondev-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": {
          "searchTerms": {
            "title": "🔎 Search terms",
            "type": "array",
            "description": "Words, phrases or hashtags to search Bluesky posts for, one per line (for example AI agents, #buildinpublic, \"local seo\"). Bluesky search syntax works too, such as from:handle or domain:example.com.",
            "default": [
              "AI agents"
            ],
            "items": {
              "type": "string"
            }
          },
          "profiles": {
            "title": "👤 Profiles",
            "type": "array",
            "description": "Bluesky handles or profile links, one per line (for example bsky.app, @jay.bsky.team or https://bsky.app/profile/bsky.app). The Actor saves the posts each profile published.",
            "default": [
              "bsky.app"
            ],
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "💬 Post links (save the post and all replies)",
            "type": "array",
            "description": "Bluesky post links, one per line (https://bsky.app/profile/<handle>/post/<id>). The Actor saves the post and every reply in the thread, with reply depth.",
            "items": {
              "type": "string"
            }
          },
          "maxPostsPerSource": {
            "title": "💯 Maximum posts per source",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many saved posts for each search term, profile or post link. Posts removed by filters are not counted or charged.",
            "default": 25
          },
          "sort": {
            "title": "Search order",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Latest lists the newest posts first and can collect thousands of posts per term. Top lists the most popular posts first; without a login Bluesky returns at most 100 of them per term.",
            "default": "latest"
          },
          "includeReplies": {
            "title": "Include replies",
            "type": "boolean",
            "description": "Keep posts that are replies to someone else. Turn off to keep only original posts. (Post links always include their replies.)",
            "default": true
          },
          "includeReposts": {
            "title": "Include reposts on profiles",
            "type": "boolean",
            "description": "Also save posts a profile reposted from other accounts. The row shows who reposted it.",
            "default": false
          },
          "languages": {
            "title": "Languages",
            "type": "array",
            "description": "Two-letter language codes, for example en, es, ja, de. Leave empty for all languages.",
            "items": {
              "type": "string"
            }
          },
          "since": {
            "title": "Only posts since",
            "type": "string",
            "description": "A date like 2026-01-31 or a period like \"7 days\" or \"24 hours\"."
          },
          "until": {
            "title": "Only posts before",
            "type": "string",
            "description": "A date like 2026-01-31 or a period like \"1 day\" (posts older than one day)."
          },
          "includeKeywords": {
            "title": "Posts must mention one of these words",
            "type": "array",
            "description": "Matched against the post text. Leave empty to keep everything. Short words (3 letters or fewer) match whole words only.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Skip posts mentioning",
            "type": "array",
            "description": "Posts that mention any of these words are skipped.",
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts with at least this many likes."
          },
          "onlyWithMedia": {
            "title": "Only posts with images or video",
            "type": "boolean",
            "description": "Skip text-only posts and link-only posts.",
            "default": false
          },
          "includeAuthorDetails": {
            "title": "Add author follower counts and bio",
            "type": "boolean",
            "description": "Adds each author's followers, following, post count, bio and join date to every row. Free; turn off only for slightly faster runs.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new posts",
            "type": "boolean",
            "description": "Remembers every post and, after the first run, saves only posts that are new since last time. The first run saves everything and remembers it. Scheduled runs then cost almost nothing when nothing new appeared.",
            "default": false
          },
          "stateName": {
            "title": "Tracking name (optional)",
            "type": "string",
            "description": "Use a different name for each separate watch list. Leave empty to use a name based on your sources."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}