{
  "openapi": "3.0.1",
  "info": {
    "title": "X (Twitter) Follower Tracker | Unfollow Alerts | $0.0045/Hour",
    "description": "Track new & lost followers of any X (Twitter) account, & whom it follows or unfollows. Each alert holds the other account's full profile. Get it in Telegram, Discord, Slack or a webhook at $0.0045 per monitor-hour. World's fastest & cheapest X (Twitter) scraper service. Not affiliated with X Corp.",
    "version": "1.0",
    "x-build-id": "L5fCuuan2ZtGS7cFn"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xquik~x-twitter-follower-tracker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xquik-x-twitter-follower-tracker",
        "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/xquik~x-twitter-follower-tracker/runs": {
      "post": {
        "operationId": "runs-sync-xquik-x-twitter-follower-tracker",
        "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/xquik~x-twitter-follower-tracker/run-sync": {
      "post": {
        "operationId": "run-sync-xquik-x-twitter-follower-tracker",
        "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": {
          "twitterHandles": {
            "title": "X Accounts",
            "type": "array",
            "description": "Usernames with or without @, or x.com profile URLs, 1 a line. Each account is 1 monitor.",
            "items": {
              "type": "string"
            }
          },
          "monitorName": {
            "title": "Monitor Name",
            "type": "string",
            "description": "Names this monitor for runs without a saved task. A run with the same name continues it. A saved task is its own monitor."
          },
          "followerChanges": {
            "title": "New & Lost Followers",
            "type": "boolean",
            "description": "Accounts that start or stop following each watched account.",
            "default": true
          },
          "followingChanges": {
            "title": "Follows & Unfollows",
            "type": "boolean",
            "description": "New follows & unfollows of each watched account.",
            "default": true
          },
          "webhookUrls": {
            "title": "Webhook URLs",
            "type": "string",
            "description": "HTTPS URLs, 1 a line. Slack & Discord webhook URLs get their own message format. Other URLs get signed JSON. Each new URL gets a test alert."
          },
          "telegram": {
            "title": "Telegram",
            "type": "boolean",
            "description": "Send alerts to Telegram. The run gives you a link. Open it & press Start.",
            "default": false
          },
          "stop": {
            "title": "Stop This Monitor",
            "type": "boolean",
            "description": "Stops every target & turns alerts off. The run charges the hours watched until now.",
            "default": false
          },
          "searchTerms": {
            "title": "Keywords",
            "type": "array",
            "description": "X searches, with any search operator, such as \"x api\" lang:en. Each search is 1 monitor & sends every new matching tweet.",
            "items": {
              "type": "string"
            }
          },
          "newPosts": {
            "title": "New Tweets",
            "type": "boolean",
            "description": "Every new tweet.",
            "default": false
          },
          "replies": {
            "title": "Replies",
            "type": "boolean",
            "description": "Replies the accounts send or that match a keyword.",
            "default": false
          },
          "quotes": {
            "title": "Quotes",
            "type": "boolean",
            "description": "Quote tweets.",
            "default": false
          },
          "reposts": {
            "title": "Reposts",
            "type": "boolean",
            "description": "Reposts by the accounts.",
            "default": false
          },
          "deletedPosts": {
            "title": "Deleted Tweets",
            "type": "boolean",
            "description": "Tweets an account deletes.",
            "default": false
          },
          "liveVideos": {
            "title": "Live Videos & Spaces",
            "type": "boolean",
            "description": "A live video or Space an account starts.",
            "default": false
          },
          "profileChanges": {
            "title": "Profile Changes",
            "type": "boolean",
            "description": "Display name, username, bio, profile photo, banner, location, website, verification, protection, pinned tweet & availability.",
            "default": false
          },
          "eventTypes": {
            "title": "Exact Event Types",
            "type": "array",
            "description": "The exact event types, which replace the checkboxes when set. They add tweets with mentions, hashtags, media, links, polls or long text.",
            "items": {
              "type": "string"
            }
          },
          "since": {
            "title": "Replay Events Since",
            "type": "string",
            "description": "A date in the last 30 days, such as 2026-10-01. The run saves the events kept since then, once."
          },
          "alwaysSaveRunRecords": {
            "title": "Always save run records",
            "type": "boolean",
            "description": "Save run-report on every run. When off, small runs that go well skip it & cost less.",
            "default": false
          },
          "handles": {
            "title": "Handles",
            "type": "array",
            "description": "Another name for X Accounts, for inputs that use it.",
            "items": {
              "type": "string"
            }
          },
          "usernames": {
            "title": "Usernames",
            "type": "array",
            "description": "Another name for X Accounts, for inputs that use it.",
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keyword List",
            "type": "array",
            "description": "Another name for Keywords, for inputs that use it.",
            "items": {
              "type": "string"
            }
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Another name for 1 Webhook URL, for inputs that use it."
          },
          "webhook": {
            "title": "Webhook",
            "type": "string",
            "description": "Another name for 1 Webhook URL, for inputs that use it."
          },
          "slackWebhookUrl": {
            "title": "Slack Webhook URL",
            "type": "string",
            "description": "Another name for 1 Webhook URL, for inputs that use it."
          },
          "discordWebhookUrl": {
            "title": "Discord Webhook URL",
            "type": "string",
            "description": "Another name for 1 Webhook URL, for inputs that use it."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}