{
  "openapi": "3.0.1",
  "info": {
    "title": "TikTok Followers Scraper: Followers, Following & Unfollows",
    "description": "Export TikTok followers and following lists with no login: bio, e-mail, followers, likes, country, language, linked Instagram/YouTube and when each follow happened. Filter leads and influencers, track new followers and unfollows on a schedule. 100 accounts a request. CSV, Excel, API.",
    "version": "0.1",
    "x-build-id": "PkINS4pvrZw53PEFS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/blueskyscraper~tiktok-followers-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-blueskyscraper-tiktok-followers-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/blueskyscraper~tiktok-followers-scraper/runs": {
      "post": {
        "operationId": "runs-sync-blueskyscraper-tiktok-followers-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/blueskyscraper~tiktok-followers-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-blueskyscraper-tiktok-followers-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": "👤 TikTok accounts",
            "type": "array",
            "description": "One per line: username or profile link — <code>nasa</code>, <code>@khaby.lame</code>, <code>https://www.tiktok.com/@nasa</code>. Add as many accounts as you like; each list is exported separately and every row says which account it belongs to (<code>ofProfile</code>). The account must be public.",
            "items": {
              "type": "string"
            }
          },
          "listType": {
            "title": "📋 Which list",
            "enum": [
              "followers",
              "following",
              "both"
            ],
            "type": "string",
            "description": "Followers = accounts that follow the profile, newest first. Following = accounts the profile follows, latest follows first (some accounts hide this list — you get a free error row). Both = two lists per account.",
            "default": "followers"
          },
          "exactFollowTime": {
            "title": "🕒 Exact follow time (paid add-on from 29 Nov 2026)",
            "type": "boolean",
            "description": "Adds <code>followedAt</code> — the exact second each account followed (or was followed) — to <b>every</b> row. Without it every row already has <code>followedAfter</code> / <code>followedBefore</code> (the window of its batch of 100) and the first and last account of each batch an exact time, free. Add-on $0.0016 per row. Works without filters and without unfollow detection.",
            "default": false
          },
          "minFollowers": {
            "title": "Min followers of the account",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts with fewer followers, e.g. <code>1000</code> to find creators and drop bots and empty accounts."
          },
          "maxFollowers": {
            "title": "Max followers of the account",
            "minimum": 0,
            "type": "integer",
            "description": "Skip accounts with more followers, e.g. <code>100000</code> for micro-influencers. Empty = no limit."
          },
          "verifiedOnly": {
            "title": "Verified accounts only",
            "type": "boolean",
            "description": "Only accounts with TikTok's verified badge (<code>verifiedAs</code> says which one).",
            "default": false
          },
          "onlyWithEmail": {
            "title": "Only accounts with an e-mail in the bio",
            "type": "boolean",
            "description": "Only accounts that put an e-mail address in their bio (<code>email</code>) — outreach and lead lists.",
            "default": false
          },
          "onlyWithLinkedSocials": {
            "title": "Only accounts with Instagram or YouTube linked",
            "type": "boolean",
            "description": "Only accounts that linked an Instagram username or a YouTube channel to their TikTok profile — creators who work across platforms.",
            "default": false
          },
          "skipPrivate": {
            "title": "Skip private accounts",
            "type": "boolean",
            "description": "Leave out private accounts (you cannot see their videos anyway).",
            "default": false
          },
          "bioKeywords": {
            "title": "Keywords in bio, name or username",
            "type": "array",
            "description": "Keep only accounts whose bio, display name or username contains one of these words, from the start of a word (<code>coach</code> finds <i>coaching</i> and <i>#coach</i>). Case does not matter.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Keep only accounts registered in these countries — two-letter codes: <code>US</code>, <code>GB</code>, <code>ID</code>, <code>DE</code>. TikTok gives the country of most accounts in lists; accounts without one are skipped when this filter is set.",
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "App languages",
            "type": "array",
            "description": "Keep only accounts that use TikTok in these languages — codes like <code>en</code>, <code>es</code>, <code>id</code>, <code>pt</code>.",
            "items": {
              "type": "string"
            }
          },
          "deepSearch": {
            "title": "🔎 Deep search (paid add-on from 29 Nov 2026)",
            "type": "boolean",
            "description": "For rare matches (e.g. verified accounts among a million followers). Filtered reading is free for about the first 1,000 accounts of a run plus ~16 more for every account returned. With Deep search the whole list is read (TikTok shows up to ~10,000 per list): each further page of 100 accounts costs $0.0035 ($0.35 for a whole 10,000 list), matching accounts cost as usual. Without it a list stops with a free notice row when the free part is used up.",
            "default": false
          },
          "onlyNew": {
            "title": "🆕 Only new followers (tracking)",
            "type": "boolean",
            "description": "Return only accounts that were not in the list at the previous run in your Apify account (snapshot kept in your key-value store <code>tiktok-followers-state</code>). The first run returns the latest accounts as a baseline; every later run returns only the new ones with <code>change</code> = <code>new</code>, and stops reading as soon as it reaches accounts it already knows — so a daily check costs a page.",
            "default": false
          },
          "detectUnfollows": {
            "title": "👋 Detect unfollows",
            "type": "boolean",
            "description": "Every run reads the whole list (up to 10,000 accounts) and adds a row with <code>change</code> = <code>unfollowed</code> for every account that left it since the previous run, plus <code>change</code> = <code>new</code> rows for new accounts. Changed accounts cost as usual; reading the unchanged ones past the free part costs $0.0035 per 100 (Deep search price, from 29 Nov 2026). Lists over 10,000 accounts cannot be checked (TikTok shows only the latest ones) — you get a free notice.",
            "default": false
          },
          "maxResultsPerInput": {
            "title": "💯 Results per input",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Cap for each account and list: e.g. 1000 = up to 1,000 followers (and up to 1,000 following when you pick both). Newest followers come first; TikTok shows about the latest 10,000 accounts of a list.",
            "default": 100
          },
          "maxItems": {
            "title": "Maximum rows per run",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many rows in the whole run — a hard ceiling on cost.",
            "default": 10000
          },
          "monitoringStoreName": {
            "title": "🔔 Monitoring mode — store name",
            "type": "string",
            "description": "Give the run a name (e.g. <code>brand-mentions</code>) and every later run with the same name returns <b>only rows it has not delivered before</b>. Empty = normal run."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}