{
  "openapi": "3.0.1",
  "info": {
    "title": "X (Twitter) Follower Scraper | $0.15/1K | Pay-Per Result",
    "description": "Scrape X (Twitter) followers, following, verified followers, list members & list subscribers for $0.15 per 1,000 profiles. Filter by follower count, verification, bio keyword, or location before you pay. No X API key. No rate limits. No mock data. Built by Xquik.",
    "version": "1.0",
    "x-build-id": "4ex4VzQbV7ONXJ2dr"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xquik~x-follower-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xquik-x-follower-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/xquik~x-follower-scraper/runs": {
      "post": {
        "operationId": "runs-sync-xquik-x-follower-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/xquik~x-follower-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-xquik-x-follower-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "X URLs to scrape. Supports profile relation URLs (/followers, /verified_followers, /following), list URLs (/lists/ID/members, /lists/ID/followers) and community URLs (/communities/ID/members). Mix freely.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "twitterHandles": {
            "title": "Twitter Handles",
            "type": "array",
            "description": "X usernames to scrape (with or without @). Use together with the Relation field below to decide what to pull. Example: elonmusk, @nasa",
            "items": {
              "type": "string"
            }
          },
          "userIds": {
            "title": "Numeric User IDs",
            "type": "array",
            "description": "Numeric X user IDs. Faster than handles when you already have IDs. Use with the Relation field.",
            "items": {
              "type": "string"
            }
          },
          "listIds": {
            "title": "List IDs",
            "type": "array",
            "description": "Numeric X list IDs. Use with Relation field set to list_members or list_followers.",
            "items": {
              "type": "string"
            }
          },
          "communityIds": {
            "title": "Community IDs",
            "type": "array",
            "description": "Numeric X community IDs. Use with Relation field set to community_members.",
            "items": {
              "type": "string"
            }
          },
          "relation": {
            "title": "Relation",
            "enum": [
              "followers",
              "following",
              "verified_followers",
              "list_members",
              "list_followers",
              "community_members"
            ],
            "type": "string",
            "description": "Which relation to scrape for each handle / user ID / list ID / community ID. URLs in Start URLs always override this field.",
            "default": "followers"
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Maximum users to return across the entire run. Price: $0.15 per 1,000 users. No per-target minimum. Set to 5 for testing, 10000+ for bulk.",
            "default": 200
          },
          "maxItemsPerTarget": {
            "title": "Max Items Per Target",
            "minimum": 1,
            "maximum": 10000000,
            "type": "integer",
            "description": "Optional cap per target. Leave empty to let maxItems run across all targets freely. Useful when scraping many targets and you want fairness."
          },
          "outputMode": {
            "title": "Output Mode",
            "enum": [
              "compact",
              "full"
            ],
            "type": "string",
            "description": "compact returns 17 normalized profile fields plus source metadata (recommended). full adds raw profile entities, pinned tweet, and professional data.",
            "default": "compact"
          },
          "includeTargetMetadata": {
            "title": "Tag With Source Target",
            "type": "boolean",
            "description": "Attach sourceTarget, sourceRelation, and sourceUrl on every row. Critical when scraping multiple targets in one run.",
            "default": true
          },
          "dedupeAcrossTargets": {
            "title": "Deduplicate Across Targets",
            "type": "boolean",
            "description": "When true, a user appearing in multiple targets is returned only once (first target wins). Useful for follower-overlap analysis.",
            "default": false
          },
          "minFollowers": {
            "title": "Minimum Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only include users with at least this many followers."
          },
          "maxFollowers": {
            "title": "Maximum Followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only include users with at most this many followers. Useful to exclude celebrities from a follower list."
          },
          "minAccountAgeDays": {
            "title": "Minimum Account Age (days)",
            "minimum": 0,
            "type": "integer",
            "description": "Only include users whose account is at least this many days old. Good anti-bot signal."
          },
          "verifiedOnly": {
            "title": "Verified Only",
            "type": "boolean",
            "description": "Only include verified (X Premium / Blue) accounts.",
            "default": false
          },
          "hasWebsite": {
            "title": "Has Website",
            "type": "boolean",
            "description": "Only include users who list a website in their profile.",
            "default": false
          },
          "hasLocation": {
            "title": "Has Location",
            "type": "boolean",
            "description": "Only include users who list a location in their profile.",
            "default": false
          },
          "bioContains": {
            "title": "Bio Contains",
            "type": "string",
            "description": "Only include users whose bio contains this text (case-insensitive). Example: founder, CEO, engineer."
          },
          "locationContains": {
            "title": "Location Contains",
            "type": "string",
            "description": "Only include users whose location contains this text (case-insensitive). Example: New York, London, Tokyo."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}