{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Reactions Scraper: Likes and Who Reacted",
    "description": "Scrape who reacted to public Facebook posts, photos, videos, reels, group posts and comments, no login. Each row is one person or Page: name, id, profile link, picture where shown and reaction (like, love, care, haha, wow, sad, angry), plus exact totals per type. CSV, Excel, API. Pay per reactor.",
    "version": "0.1",
    "x-build-id": "ijhK3KXdcn7XrpnqH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation_craft~facebook-reactions-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation_craft-facebook-reactions-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/automation_craft~facebook-reactions-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automation_craft-facebook-reactions-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/automation_craft~facebook-reactions-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automation_craft-facebook-reactions-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",
        "properties": {
          "postUrls": {
            "title": "Post or comment links",
            "type": "array",
            "description": "Links of public Facebook posts whose reactors you want: page and profile posts (number or pfbid links), photos (/photo/?fbid=, photo.php, /<page>/photos/), videos (/videos/, /watch/?v=), reels (/reel/), public group posts, permalink.php and story.php links, share links (/share/p/, /share/r/, /share/v/), fb.watch and m.facebook.com links. Add ?comment_id=<number> to a post link to read who reacted to that comment. Up to 5,000 links. Page, profile and group home links are not read (a free row says so).",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Pages or profiles (newest posts)",
            "type": "array",
            "description": "Optional: Facebook pages or profiles (links such as facebook.com/nasa or profile.php?id=<number>, or page names). For each, the newest posts (or reels, see the next field) are read and their reactors delivered like pasted links. Up to 200. Each post found gets its own rows; one free profile row per page says how many posts were found and read.",
            "items": {
              "type": "string"
            }
          },
          "profileContent": {
            "title": "What to read of each page",
            "enum": [
              "posts",
              "reels"
            ],
            "type": "string",
            "description": "posts: the page's newest posts from its timeline (read through Apify residential exits). reels: the newest reels of its Reels tab. Empty: posts."
          },
          "maxPostsPerProfile": {
            "title": "Posts per page or profile",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "How many of the newest posts (or reels) of each page are read. Empty: 10."
          },
          "reactionTypes": {
            "title": "Reaction types",
            "type": "array",
            "description": "Only people who reacted with these reactions. Empty: every type. Rows of other types are not read and not charged.",
            "items": {
              "type": "string",
              "enum": [
                "like",
                "love",
                "care",
                "haha",
                "wow",
                "sad",
                "angry"
              ],
              "enumTitles": [
                "Like",
                "Love",
                "Care",
                "Haha",
                "Wow",
                "Sad",
                "Angry"
              ]
            }
          },
          "maxReactorsPerPost": {
            "title": "Reactors per post or comment",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "At most this many reactor rows per post or comment, in Facebook's order (the most frequent reaction type first). Empty: every name Facebook shows logged out (up to 19 per reaction type, so up to 133)."
          },
          "maxReactors": {
            "title": "Reactors in all",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Stop the run after this many reactor rows in all. Empty: no cap (the charge limit you set on the run still applies)."
          },
          "pictureSize": {
            "title": "Profile picture size",
            "enum": [
              "40",
              "80",
              "120",
              "160"
            ],
            "type": "string",
            "description": "Size in pixels of the profile picture links in reactorPictureUrl (Facebook gives pictures for the first 10 names of each reaction type). Empty: 120."
          },
          "maxConcurrency": {
            "title": "Links read at once",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many links are read at the same time (each on its own address). Empty: 4."
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. This Actor reads Facebook through the Apify datacenter pool on its own, and the timeline of a profile walk (profileUrls with posts) through Apify residential exits, which Facebook requires for it. Add your own proxy addresses here (Custom proxies) to read everything through them instead. Residential groups chosen here are not used."
          },
          "proxyUrls": {
            "title": "Your own proxies (text)",
            "type": "string",
            "description": "Optional: your own proxy addresses, one per line, as http://user:password@host:port, used instead of the Apify datacenter pool. Up to 50. Send either this or the proxy editor's own addresses, not both."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}