{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Post Search Scraper",
    "description": "Search public Bluesky posts by keyword, exact phrase, author, hashtag, mention, domain, language and date. Export up to 1,000 posts per query in about a minute, with optional author follower and bio data. No Bluesky account needed.",
    "version": "1.2",
    "x-build-id": "KGBDdje0HIVmpn5oi"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/khadinakbar~search-bluesky-posts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-khadinakbar-search-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/khadinakbar~search-bluesky-posts/runs": {
      "post": {
        "operationId": "runs-sync-khadinakbar-search-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/khadinakbar~search-bluesky-posts/run-sync": {
      "post": {
        "operationId": "run-sync-khadinakbar-search-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": {
          "searchQuery": {
            "title": "Post search query",
            "type": "string",
            "description": "Use this when you need posts matching text, a phrase, or supported Lucene-style syntax. Enter a focused query such as 'open source' or '\"climate change\"', up to 500 characters. Needed unless you fill searchQueries. This is not a profile handle or Bluesky post URL."
          },
          "searchQueries": {
            "title": "More search queries",
            "type": "array",
            "description": "Use this to run several searches in one run, for example your brand plus two competitors. Each phrase gets its own search with the same filters and up to maxResults posts; duplicates across queries are saved once. Up to 20 phrases. Leave empty to run only searchQuery.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "exactPhrase": {
            "title": "Exact phrase",
            "type": "string",
            "description": "Use this when posts must contain a word-for-word phrase, for example a brand name or slogan. Enter up to 200 characters without double quotes. Posts without the phrase are dropped and not charged. Can be used alone, without a search query. Defaults to no phrase filter.",
            "default": ""
          },
          "excludeWords": {
            "title": "Exclude words",
            "maxItems": 20,
            "type": "array",
            "description": "Use this to leave out noisy posts, for example giveaway or spam. Enter up to 20 single words (no spaces, no minus sign). Posts containing any of them are dropped and not charged. Defaults to none.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "sort": {
            "title": "Result order",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "Use this when choosing how Bluesky orders matching posts. 'latest' returns newest posts first and can go past 100 posts. 'top' returns relevance-ranked posts and stops at 100 per query. Defaults to 'latest'.",
            "default": "latest"
          },
          "maxResults": {
            "title": "Maximum posts per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Use this to bound dataset size and charges. Enter a whole number from 1 to 1000. 'latest' order can return up to 1000 posts per query; 'top' order stops at 100. Posts skipped by your filters are not charged. Defaults to 100; the Console prefill is 25.",
            "default": 100
          },
          "since": {
            "title": "Posts since",
            "type": "string",
            "description": "Use this when restricting results to posts indexed at or after a date. Enter YYYY-MM-DD or an ISO 8601 timestamp, such as '2026-07-01'. Defaults to no lower date bound. This filter uses Bluesky search time and may differ from the post's createdAt value.",
            "default": ""
          },
          "until": {
            "title": "Posts until",
            "type": "string",
            "description": "Use this when restricting results to posts before a date. Enter YYYY-MM-DD or an ISO 8601 timestamp, such as '2026-07-15'. Defaults to no upper date bound and is exclusive. This must be later than Posts since.",
            "default": ""
          },
          "lang": {
            "title": "Post language",
            "type": "string",
            "description": "Use this when you need posts tagged with one language. Enter a BCP 47 tag such as 'en', 'ja', or 'pt-BR'. Defaults to all languages. This is not a country or proxy location.",
            "default": ""
          },
          "author": {
            "title": "Author handle or DID",
            "type": "string",
            "description": "Use this when limiting search to posts from one public Bluesky account. Enter a handle or DID such as 'jay.bsky.team'; a leading @ is accepted. Defaults to any author. This does not scrape a user's full feed or profile.",
            "default": ""
          },
          "mentions": {
            "title": "Mentioned account",
            "type": "string",
            "description": "Use this when finding posts that mention one Bluesky account through a rich-text mention facet. Enter a handle or DID such as 'bsky.app'; a leading @ is accepted. Defaults to any mention. Plain text that only resembles a handle may not match.",
            "default": ""
          },
          "domain": {
            "title": "Linked domain",
            "type": "string",
            "description": "Use this when finding posts whose facets or embeds link to a hostname. Enter a domain such as 'github.com'; a full https URL is normalized to its hostname. Defaults to any linked domain. This is not a keyword search within page contents.",
            "default": ""
          },
          "url": {
            "title": "Linked URL",
            "type": "string",
            "description": "Use this when finding posts that link to one absolute web URL. Enter an http or https URL such as 'https://example.com/report'. Defaults to any linked URL. This is not the URL of a Bluesky post to fetch directly.",
            "default": ""
          },
          "tags": {
            "title": "Hashtags",
            "maxItems": 10,
            "type": "array",
            "description": "Use this when posts must contain specific hashtags. Enter up to 10 tags without #, such as ['ai', 'opensource']; multiple tags use AND matching. Defaults to no hashtag filter. These are structured hashtag facets, not free-text keywords.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "includeReplies": {
            "title": "Include replies",
            "type": "boolean",
            "description": "Use this when deciding whether reply posts may appear in the dataset. Set false to drop posts containing Bluesky reply metadata after search. Defaults to true. This does not fetch complete reply threads.",
            "default": true
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Use this to keep only posts with at least this many likes. Enter a whole number, such as 10. Defaults to 0 (no minimum). Skipped posts are not charged and do not count toward Maximum posts.",
            "default": 0
          },
          "minReposts": {
            "title": "Minimum reposts",
            "minimum": 0,
            "type": "integer",
            "description": "Use this to keep only posts with at least this many reposts. Enter a whole number, such as 3. Defaults to 0 (no minimum). Skipped posts are not charged.",
            "default": 0
          },
          "minReplies": {
            "title": "Minimum replies",
            "minimum": 0,
            "type": "integer",
            "description": "Use this to keep only posts with at least this many replies. Enter a whole number, such as 2. Defaults to 0 (no minimum). Skipped posts are not charged.",
            "default": 0
          },
          "onlyNewSinceLastRun": {
            "title": "Only posts new since the last run",
            "type": "boolean",
            "description": "Use this for scheduled monitoring. When on, each query remembers the newest post it delivered and returns only newer posts next time. Needs 'latest' order. The first run returns everything up to Maximum posts. Defaults to off.",
            "default": false
          },
          "monitoringStoreName": {
            "title": "Monitoring memory name",
            "type": "string",
            "description": "Use this only with 'Only posts new since the last run' when you want separate memories, for example one per client. Enter 3-63 letters, digits or hyphens. Defaults to 'bluesky-post-search-monitor'. Each distinct query and filter set is remembered separately inside it.",
            "default": "bluesky-post-search-monitor"
          },
          "includeAuthorProfile": {
            "title": "Add author profile data",
            "type": "boolean",
            "description": "Use this to get follower count, following count, post count, bio, join date and verified status for each post's author, in the same row. One free profile lookup per 25 authors, no extra charge. If a lookup fails the post is still saved and authorProfile says 'unavailable'. Defaults to off.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}