{
  "openapi": "3.0.1",
  "info": {
    "title": "Bluesky Posts Scraper - Author Feeds & Stats",
    "description": "Your go-to Bluesky scraper for public author-feed research. Export text, timestamps, links, media URLs and available engagement counts to JSON or CSV. Supply handles, DIDs or profile URLs; choose feed filters and optional reposts. No login required.",
    "version": "1.0",
    "x-build-id": "psNSaH8CVvTr2Xfww"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pellucid_bird~bluesky-posts-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pellucid_bird-bluesky-posts-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/pellucid_bird~bluesky-posts-scraper/runs": {
      "post": {
        "operationId": "runs-sync-pellucid_bird-bluesky-posts-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/pellucid_bird~bluesky-posts-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-pellucid_bird-bluesky-posts-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",
        "required": [
          "actors"
        ],
        "properties": {
          "actors": {
            "title": "Bluesky profiles",
            "minItems": 1,
            "maxItems": 20,
            "type": "array",
            "description": "1–20 public handles, did:plc or did:web identifiers, or https://bsky.app/profile/... URLs. Aliases resolving to the same DID are collected once.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 1024
            }
          },
          "maxItems": {
            "title": "Maximum total posts",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum saved feed-post rows across all authors. The same post in two different author feeds is a separate row when reposts are enabled."
          },
          "maxPostsPerAuthor": {
            "title": "Maximum posts per author",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "Maximum matching posts saved for one resolved author DID."
          },
          "maxPagesPerAuthor": {
            "title": "Maximum pages per author",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Bounds the number of feed pages, including pages excluded by your filters. A reached page limit is reported as partial coverage."
          },
          "pageSize": {
            "title": "Source page size",
            "minimum": 5,
            "maximum": 100,
            "type": "integer",
            "description": "Records requested per public API page. The source may return fewer records and may omit historical posts."
          },
          "feedFilter": {
            "title": "Source feed filter",
            "enum": [
              "posts_with_replies",
              "posts_no_replies",
              "posts_with_media",
              "posts_and_author_threads",
              "posts_with_video"
            ],
            "type": "string",
            "description": "Filter supplied to the official author-feed API. Pinned posts are not requested. Replies and reposts follow the selected source filter."
          },
          "includeReposts": {
            "title": "Include reposts",
            "type": "boolean",
            "description": "Include posts this profile reposted. Each row identifies both the feed owner and original author, with repost time when exposed. Disabled by default."
          },
          "keywords": {
            "title": "Post text keywords",
            "maxItems": 20,
            "type": "array",
            "description": "Optional case-insensitive substrings; a post must match at least one. Applies to post text only. Excluded rows are not saved or charged as results.",
            "items": {
              "type": "string",
              "minLength": 1,
              "maxLength": 200
            }
          },
          "createdAfter": {
            "title": "Created at or after",
            "type": "string",
            "description": "Optional inclusive original-post timestamp, including a timezone, e.g. 2026-01-01T00:00:00Z. This is not the repost timestamp."
          },
          "createdBefore": {
            "title": "Created at or before",
            "type": "string",
            "description": "Optional inclusive original-post timestamp with timezone. Old date windows may require many pages and can stop at resource or page limits."
          },
          "requestTimeoutSecs": {
            "title": "Request timeout in seconds",
            "minimum": 5,
            "maximum": 30,
            "type": "integer",
            "description": "One timer covers DNS, TLS and response reading. Each physical retry consumes its own allowance."
          },
          "maxRetries": {
            "title": "Retries per source request",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Retries only transient network failures, HTTP 429 and server errors. Retry-After over 30 seconds stops that author; resource limits may stop retries sooner."
          },
          "requestDelayMs": {
            "title": "Minimum delay between requests",
            "minimum": 200,
            "maximum": 2000,
            "type": "integer",
            "description": "Minimum spacing between public API request starts; retries also respect the server delay."
          },
          "maxEstimatedCostUsd": {
            "title": "Estimated run spending limit (USD)",
            "minimum": 0,
            "maximum": 10,
            "type": "number",
            "description": "Additional Actor-side spending bound. Also set Apify Maximum cost per run. Pricing is $0.018 per run start plus $0.00029 per saved feed-post row, with platform resources included. Zero prevents source collection; the startup charge still applies."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}