{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Posts, Profiles & Followers Exporter + Monitor",
    "description": "Export Bluesky posts, replies, profiles, followers and follows to JSON, CSV or Excel without login. Keyword, hashtag, language, likes and date filters, reply threads, and a monitor mode that outputs only new posts or new followers on each scheduled run.",
    "version": "0.0",
    "x-build-id": "P2fgoQ3ZBrBI1YE5U"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/solverpilot~bluesky-posts-profiles-exporter/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-solverpilot-bluesky-posts-profiles-exporter",
        "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/solverpilot~bluesky-posts-profiles-exporter/runs": {
      "post": {
        "operationId": "runs-sync-solverpilot-bluesky-posts-profiles-exporter",
        "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/solverpilot~bluesky-posts-profiles-exporter/run-sync": {
      "post": {
        "operationId": "run-sync-solverpilot-bluesky-posts-profiles-exporter",
        "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": {
          "profiles": {
            "title": "Profiles",
            "type": "array",
            "description": "One per line: a handle (alice.bsky.social or @alice.bsky.social), a custom-domain handle (nytimes.com), a DID (did:plc:...) or a profile URL (https://bsky.app/profile/alice.bsky.social). No login needed.",
            "items": {
              "type": "string"
            }
          },
          "postUrls": {
            "title": "Post URLs (export the post and its replies)",
            "type": "array",
            "description": "Bluesky post links (https://bsky.app/profile/<handle>/post/<id>). Each returns the post plus its reply thread (up to 10 levels deep). No login needed.",
            "items": {
              "type": "string"
            }
          },
          "includePosts": {
            "title": "Profiles: get posts",
            "type": "boolean",
            "description": "Export each profile's posts (newest first).",
            "default": true
          },
          "includeProfile": {
            "title": "Profiles: get profile details",
            "type": "boolean",
            "description": "Add one row per profile with bio, follower / following / post counts, join date and verification.",
            "default": false
          },
          "includeFollowers": {
            "title": "Profiles: get followers",
            "type": "boolean",
            "description": "Export the accounts that follow each profile (handle, name, bio, DID).",
            "default": false
          },
          "includeFollows": {
            "title": "Profiles: get following",
            "type": "boolean",
            "description": "Export the accounts each profile follows.",
            "default": false
          },
          "postFilter": {
            "title": "Which posts",
            "enum": [
              "posts_no_replies",
              "posts_with_replies",
              "posts_and_author_threads",
              "posts_with_media",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Bluesky's own feed filter for profile posts.",
            "default": "posts_no_replies"
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Also export posts the profile reposted (marked isRepost = true).",
            "default": false
          },
          "includeReplies": {
            "title": "Include replies",
            "type": "boolean",
            "description": "Keep posts that are replies to someone (for 'Posts and replies'). Thread exports always include replies.",
            "default": true
          },
          "keywords": {
            "title": "Keep posts containing (any)",
            "type": "array",
            "description": "Keep posts whose text, hashtags or link title contain any of these words or #hashtags (whole word, case-insensitive). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Drop posts containing",
            "type": "array",
            "description": "Drop posts containing any of these words or #hashtags.",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Languages (any)",
            "type": "array",
            "description": "Keep posts tagged with any of these language codes, e.g. en, de, ja.",
            "items": {
              "type": "string"
            }
          },
          "minLikes": {
            "title": "Minimum likes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only posts with at least this many likes.",
            "default": 0
          },
          "dateFrom": {
            "title": "Posts from (date or 'N days')",
            "type": "string",
            "description": "Keep posts created on or after this date: 2026-11-01, or relative like '7 days' or '24 hours'."
          },
          "maxPostsPerSource": {
            "title": "Max posts per profile / post thread",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each source after this many posts (after filters). 0 = no limit.",
            "default": 100
          },
          "maxFollowersPerProfile": {
            "title": "Max followers / following per profile",
            "minimum": 0,
            "type": "integer",
            "description": "Stop each follower or following list after this many accounts. 0 = no limit.",
            "default": 1000
          },
          "maxItems": {
            "title": "Max items in total",
            "minimum": 0,
            "type": "integer",
            "description": "Stop the whole run after this many results (keeps cost predictable). 0 = no limit.",
            "default": 0
          },
          "onlyNewPosts": {
            "title": "Monitor: only new items since the last run",
            "type": "boolean",
            "description": "Remember what was already exported and output only new posts, replies and new followers / follows on each run. Schedule the actor (e.g. hourly) to get alerts. Profile rows are always output.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Runs with the same monitor name share one memory. If empty, a name is made from your profiles and post URLs."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}