{
  "openapi": "3.0.1",
  "info": {
    "title": "Social Media Follower Count Scraper (multi-platform)",
    "description": "Social Media Follower Count Scraper (multi-platform) SD - Social Media Follower Count Scraper is a multi-platform social media analytics tool that extracts follower, following, likes, posts and views counts from Instagram, TikTok, YouTube, X, Facebook, LinkedIn, Reddit, Threads, Twitch, GitHub and P",
    "version": "1.0",
    "x-build-id": "UKwKxnSBnJmojcsQa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~social-media-follower-count-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-social-media-follower-count-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/neuro-scraper~social-media-follower-count-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-social-media-follower-count-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/neuro-scraper~social-media-follower-count-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-social-media-follower-count-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": {
          "profiles": {
            "title": "Profile links (any platform)",
            "type": "array",
            "description": "Profile or channel links of any supported platform, one per line, e.g. https://www.instagram.com/nasa/, https://www.tiktok.com/@khaby.lame, https://www.youtube.com/@MrBeast, https://x.com/NASA, https://www.facebook.com/NASA, https://www.linkedin.com/company/microsoft, https://www.reddit.com/r/python, https://www.threads.net/@zuck, https://www.twitch.tv/shroud, https://github.com/torvalds, https://www.pinterest.com/pinterest/. You can also write platform:handle, e.g. tiktok:khaby.lame.",
            "items": {
              "type": "string"
            }
          },
          "operation": {
            "title": "What to measure",
            "enum": [
              "profile_metrics",
              "post_metrics"
            ],
            "type": "string",
            "description": "Profile metrics: one row per profile link or username. Post metrics: one row per post link (Instagram post / reel, X post, YouTube video / short, TikTok video) with its likes, comments, shares, views, date and the author's followers.",
            "default": "profile_metrics"
          },
          "platform": {
            "title": "Platform of plain usernames",
            "enum": [
              "auto",
              "instagram",
              "tiktok",
              "youtube",
              "twitter",
              "facebook",
              "linkedin",
              "reddit",
              "threads",
              "twitch",
              "github",
              "pinterest"
            ],
            "type": "string",
            "description": "Which platform a plain username in Profile links belongs to (e.g. nasa). auto = only links and platform:handle lines are recognised.",
            "default": "auto"
          },
          "instagram": {
            "title": "Instagram usernames",
            "type": "array",
            "description": "Instagram usernames without @, e.g. nasa, natgeo.",
            "items": {
              "type": "string"
            }
          },
          "tiktok": {
            "title": "TikTok usernames",
            "type": "array",
            "description": "TikTok usernames, e.g. khaby.lame.",
            "items": {
              "type": "string"
            }
          },
          "youtube": {
            "title": "YouTube channels",
            "type": "array",
            "description": "YouTube @handles or channel ids, e.g. @MrBeast or UCX6OQ3DkcsbYNE6H8uQQuVA.",
            "items": {
              "type": "string"
            }
          },
          "twitter": {
            "title": "X (Twitter) usernames",
            "type": "array",
            "description": "X usernames without @, e.g. NASA, elonmusk.",
            "items": {
              "type": "string"
            }
          },
          "facebook": {
            "title": "Facebook pages",
            "type": "array",
            "description": "Facebook page names, e.g. NASA, Cristiano.",
            "items": {
              "type": "string"
            }
          },
          "linkedin": {
            "title": "LinkedIn companies",
            "type": "array",
            "description": "LinkedIn company page names, e.g. microsoft, google.",
            "items": {
              "type": "string"
            }
          },
          "reddit": {
            "title": "Reddit users and subreddits",
            "type": "array",
            "description": "Reddit usernames (u/spez) or subreddits (r/python).",
            "items": {
              "type": "string"
            }
          },
          "threads": {
            "title": "Threads usernames",
            "type": "array",
            "description": "Threads usernames, e.g. zuck.",
            "items": {
              "type": "string"
            }
          },
          "twitch": {
            "title": "Twitch channels",
            "type": "array",
            "description": "Twitch channel logins, e.g. shroud.",
            "items": {
              "type": "string"
            }
          },
          "github": {
            "title": "GitHub users and organisations",
            "type": "array",
            "description": "GitHub logins, e.g. torvalds, microsoft.",
            "items": {
              "type": "string"
            }
          },
          "pinterest": {
            "title": "Pinterest usernames",
            "type": "array",
            "description": "Pinterest usernames, e.g. pinterest.",
            "items": {
              "type": "string"
            }
          },
          "includeEngagement": {
            "title": "Engagement from recent posts",
            "type": "boolean",
            "description": "Where the profile page lists recent posts (Instagram, X, YouTube), add average likes, comments and views, the engagement rate and the latest post.",
            "default": true
          },
          "maxProfiles": {
            "title": "Max profiles",
            "minimum": 0,
            "type": "integer",
            "description": "Optional cap on profiles in the run (0 = all inputs).",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Parallel profiles",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "How many profiles are checked at the same time.",
            "default": 5
          },
          "continueOnError": {
            "title": "Output a row for failed profiles",
            "type": "boolean",
            "description": "On: a profile that cannot be read gives a row with status error and the reason. Off: failed profiles are only logged.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential IPs are used by default (most platforms refuse datacenter IPs).",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}