{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Posts Scraper - Search, Profiles, Threads, No Login",
    "description": "Public Bluesky posts by keyword (author, mention, hashtag, domain, language and date filters, latest or top), profile posts by handle, full threads with replies, and profile rows with followers. New-post alerts. No account needed.",
    "version": "0.1",
    "x-build-id": "hbfiUduVavv9HZGUO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/dottti~bluesky-posts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-dottti-bluesky-posts",
        "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/dottti~bluesky-posts/runs": {
      "post": {
        "operationId": "runs-sync-dottti-bluesky-posts",
        "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/dottti~bluesky-posts/run-sync": {
      "post": {
        "operationId": "run-sync-dottti-bluesky-posts",
        "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 terms",
            "type": "array",
            "description": "One per line. Words, a phrase in \"quotes\", or Bluesky search syntax such as from:nytimes.com or #climate. Each term is one search. Empty input runs a short demo (10 posts about climate and the bsky.app profile).",
            "items": {
              "type": "string"
            }
          },
          "sort": {
            "title": "Sort search results",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Latest = newest first. Top = Bluesky's ranking. Either way you get up to 100 posts per search term per run.",
            "default": "latest"
          },
          "maxPostsPerQuery": {
            "title": "Max posts per search term",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Posts to collect for each search term, up to 100 per run. For ongoing monitoring, turn on alert mode and schedule the actor. Higher numbers are treated as 100.",
            "default": 100
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Optional. Only posts tagged with this language code: en, ar, fr, es, ja, pt. Bluesky uses the language the author's app set."
          },
          "author": {
            "title": "From author",
            "type": "string",
            "description": "Optional. Only posts by this handle, for example nytimes.com."
          },
          "mentions": {
            "title": "Mentions",
            "type": "string",
            "description": "Optional. Only posts that mention this handle. Good for brand monitoring."
          },
          "hashtags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Optional. Only posts with all of these hashtags (without #).",
            "items": {
              "type": "string"
            }
          },
          "domain": {
            "title": "Links to domain",
            "type": "string",
            "description": "Optional. Only posts that link to this website, for example theguardian.com."
          },
          "since": {
            "title": "Posted since",
            "type": "string",
            "description": "Optional. Only posts from this time on: 2026-10-01, 2026-10-01T08:00:00Z, or a relative time such as 24 hours, 7 days, 2 weeks. Applies to search and profile posts."
          },
          "until": {
            "title": "Posted until",
            "type": "string",
            "description": "Optional. Only posts before this time (same formats)."
          },
          "handles": {
            "title": "Profiles (handles or links)",
            "type": "array",
            "description": "One per line: nytimes.com, @name.bsky.social, a bsky.app/profile link, or a did:plc id. Each profile gives one profile row and its latest posts.",
            "items": {
              "type": "string"
            }
          },
          "includeProfiles": {
            "title": "Include profile rows",
            "type": "boolean",
            "description": "One row per profile with display name, bio, followers, following, post count and verification.",
            "default": true
          },
          "maxPostsPerProfile": {
            "title": "Max posts per profile",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Latest posts to collect from each profile. 0 = profile row only.",
            "default": 50
          },
          "profileFeedFilter": {
            "title": "Profile posts",
            "enum": [
              "posts_and_author_threads",
              "posts_no_replies",
              "posts_with_replies",
              "posts_with_media",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Which posts to take from each profile.",
            "default": "posts_and_author_threads"
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Also deliver posts the profile reposted. They have isRepost true and repostedBy set.",
            "default": false
          },
          "postUrls": {
            "title": "Post links (threads)",
            "type": "array",
            "description": "One per line: https://bsky.app/profile/<handle>/post/<id> or an at:// post uri. You get the post, the posts above it when it is a reply, and its replies.",
            "items": {
              "type": "string"
            }
          },
          "maxRepliesPerPost": {
            "title": "Max replies per post",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Replies to collect for each post link, most liked first at each level, down to 30 levels deep.",
            "default": 100
          },
          "includeParents": {
            "title": "Include parent posts",
            "type": "boolean",
            "description": "When a post link is a reply, also deliver the posts above it up to the start of the thread.",
            "default": true
          },
          "onlyNew": {
            "title": "Only new posts (alert mode)",
            "type": "boolean",
            "description": "Remembers the posts each search, profile and thread returned last time and delivers only new ones on the next run. Schedule the actor for alerts. The first run delivers everything and saves the baseline. Profile rows show the follower change since the last run. You pay only for new posts.",
            "default": false
          },
          "stateName": {
            "title": "Alert list name",
            "type": "string",
            "description": "Name for the saved only-new list, so several schedules (for example 'brand' and 'competitors') keep separate memories.",
            "default": "default"
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. Leave empty: the actor starts without a proxy and moves to Apify datacenter proxy only if Bluesky rate-limits it. Set your own proxy here to use only that."
          },
          "autoProxyFallback": {
            "title": "Automatic proxy fallback",
            "type": "boolean",
            "description": "Move to Apify Proxy when Bluesky rate-limits the direct connection.",
            "default": true
          },
          "allowResidentialFallback": {
            "title": "Allow residential proxy",
            "type": "boolean",
            "description": "Let the fallback use residential proxy as the last step. Bluesky rarely needs it.",
            "default": false
          },
          "maxRetries": {
            "title": "Max retries per request",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Retries for each request on rate limits, server errors or network errors, with growing waits.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}