{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Scraper - Posts, Profiles, Followers, Threads",
    "description": "Search Bluesky posts, get profiles, author feeds, full threads, followers, following, likes, reposts and quotes, or monitor keywords for new posts. Official AT Protocol API, no login, no cookies.",
    "version": "0.1",
    "x-build-id": "nyLJz0uIq9ATaMrSs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omar_jarvis~bluesky-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omar_jarvis-bluesky-data",
        "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/omar_jarvis~bluesky-data/runs": {
      "post": {
        "operationId": "runs-sync-omar_jarvis-bluesky-data",
        "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/omar_jarvis~bluesky-data/run-sync": {
      "post": {
        "operationId": "run-sync-omar_jarvis-bluesky-data",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "search",
              "monitor",
              "profiles",
              "authorFeed",
              "thread",
              "followers",
              "following",
              "likes",
              "reposts",
              "quotes"
            ],
            "type": "string",
            "description": "What to fetch. search and monitor use Search queries. profiles, authorFeed, followers and following use Accounts. thread, likes, reposts and quotes use Posts.",
            "default": "search"
          },
          "queries": {
            "title": "Search queries",
            "maxItems": 1000,
            "type": "array",
            "description": "For search and monitor. One query per line. Supports phrases in quotes and Lucene-style syntax. Leave empty to search on the filters below only.",
            "items": {
              "type": "string"
            }
          },
          "accounts": {
            "title": "Accounts",
            "maxItems": 10000,
            "type": "array",
            "description": "For profiles, authorFeed, followers and following. Handles (bsky.app, @jay.bsky.team), DIDs (did:plc:...) or profile URLs (https://bsky.app/profile/...).",
            "items": {
              "type": "string"
            }
          },
          "posts": {
            "title": "Posts",
            "maxItems": 1000,
            "type": "array",
            "description": "For thread, likes, reposts and quotes. Post URLs (https://bsky.app/profile/<handle>/post/<id>) or at:// URIs.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Upper limit of results for each query, account or post. You pay only for results delivered.",
            "default": 200
          },
          "sort": {
            "title": "Sort (search)",
            "enum": [
              "latest",
              "top"
            ],
            "type": "string",
            "description": "latest = newest first. top = Bluesky's ranking.",
            "default": "latest"
          },
          "author": {
            "title": "Author",
            "type": "string",
            "description": "Only posts by this account (handle or DID)."
          },
          "mentions": {
            "title": "Mentions",
            "type": "string",
            "description": "Only posts that mention this account (handle or DID)."
          },
          "lang": {
            "title": "Language",
            "type": "string",
            "description": "Only posts in this language, as a two-letter code (en, nl, de, ja)."
          },
          "domain": {
            "title": "Linked domain",
            "type": "string",
            "description": "Only posts that link to this domain, e.g. nytimes.com."
          },
          "tags": {
            "title": "Hashtags",
            "type": "array",
            "description": "Only posts with all of these hashtags (without #).",
            "items": {
              "type": "string"
            }
          },
          "since": {
            "title": "Since",
            "type": "string",
            "description": "Only posts from this date or time on (inclusive). YYYY-MM-DD or ISO date-time."
          },
          "until": {
            "title": "Until",
            "type": "string",
            "description": "Only posts before this date or time (exclusive). YYYY-MM-DD or ISO date-time."
          },
          "includeReplies": {
            "title": "Include replies (authorFeed)",
            "type": "boolean",
            "description": "Include the account's replies to other posts.",
            "default": true
          },
          "includeReposts": {
            "title": "Include reposts (authorFeed)",
            "type": "boolean",
            "description": "Include posts the account reposted. Each repost row has feed_reason = repost.",
            "default": true
          },
          "includePins": {
            "title": "Include pinned post (authorFeed)",
            "type": "boolean",
            "description": "Include the account's pinned post first.",
            "default": false
          },
          "mediaOnly": {
            "title": "Only posts with media (authorFeed)",
            "type": "boolean",
            "description": "Only posts with images or video.",
            "default": false
          },
          "includeParents": {
            "title": "Include parent posts (thread)",
            "type": "boolean",
            "description": "If the post is a reply, also return the posts above it, up to the root.",
            "default": true
          },
          "enrichProfiles": {
            "title": "Add follower and post counts (followers, following, likes, reposts)",
            "type": "boolean",
            "description": "Adds followers_count, follows_count and posts_count to each account. Uses one extra request per 25 accounts. Same price.",
            "default": false
          },
          "monitorStateName": {
            "title": "Monitor state store",
            "type": "string",
            "description": "Name of the key-value store that remembers what monitor already returned. Use a different name per monitoring project. Schedule the same input to get only new posts on each run.",
            "default": "bluesky-data-monitor"
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many inputs to process in parallel.",
            "default": 2
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}