{
  "openapi": "3.0.1",
  "info": {
    "title": "Twitch Streamer Leads Scraper: Creators by Game, Email & Social",
    "description": "Find Twitch streamers by the games they actually play over time, not just who is live now. Qualify by followers, live viewers, language, and activity, then export sourced business emails and socials from bios and channel panels. Monitor mode feeds only new matches to your CRM. Pay per lead.",
    "version": "0.1",
    "x-build-id": "7VPjzCxuLsrgpXSKZ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/getascraper~twitch-streamer-leads-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-getascraper-twitch-streamer-leads-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/getascraper~twitch-streamer-leads-scraper/runs": {
      "post": {
        "operationId": "runs-sync-getascraper-twitch-streamer-leads-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/getascraper~twitch-streamer-leads-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-getascraper-twitch-streamer-leads-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": {
          "categories": {
            "title": "Categories / games (live now)",
            "type": "array",
            "description": "Exact Twitch category or game names. Returns streamers currently live in each category, for example \"Counter-Strike\", \"Valorant\", or \"Just Chatting\".",
            "default": [
              "Counter-Strike"
            ],
            "items": {
              "type": "string"
            }
          },
          "searchQueries": {
            "title": "Search queries",
            "type": "array",
            "description": "Free-text channel search terms. Also finds offline channels, unlike a live-category lookup.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "logins": {
            "title": "Channel logins",
            "type": "array",
            "description": "Exact Twitch usernames to look up directly, for example \"shroud\". Fastest and cheapest source when you already know the channels.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "playedGames": {
            "title": "Played games (history match)",
            "type": "array",
            "description": "Keep only streamers who have actually played any of these games, judged from their recent broadcast history (VODs), not just whatever they happen to be streaming right now. This is the core discovery filter for finding creators who regularly play your genre. Leave empty to skip history matching.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "gameHistoryDepth": {
            "title": "Game history depth (VODs)",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many recent past broadcasts (VODs) to scan per channel when building the game history and audience-quality signals. Higher values see further back but cost a little more time.",
            "default": 10
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Skip channels below this follower count. Leave empty for no minimum."
          },
          "maxFollowers": {
            "title": "Maximum followers",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Skip channels above this follower count. Set roughly 5000 to 50000 to target reachable micro-influencers rather than mega-streamers who ignore cold outreach."
          },
          "languages": {
            "title": "Broadcast languages",
            "type": "array",
            "description": "Keep only channels broadcasting in these language codes, for example \"en\", \"es\", \"de\". Leave empty for any language.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "broadcasterType": {
            "title": "Channel tier",
            "enum": [
              "any",
              "affiliate",
              "partner"
            ],
            "type": "string",
            "description": "Keep only Twitch Partners, only Affiliates, or any channel. Partners and Affiliates are monetizing creators, a useful qualification signal for sponsorship outreach.",
            "default": "any"
          },
          "excludeMature": {
            "title": "Exclude mature-flagged channels",
            "type": "boolean",
            "description": "Skip channels that flag their stream as mature content.",
            "default": false
          },
          "requireEmail": {
            "title": "Require a business email",
            "type": "boolean",
            "description": "Keep only streamers whose bio or channel panels expose a business email address.",
            "default": false
          },
          "requireContact": {
            "title": "Require any contact",
            "type": "boolean",
            "description": "Keep only streamers with at least one reachable contact of any kind (email or a social or link-hub channel), not just an email. Broader than requiring an email, so you lose fewer reachable creators.",
            "default": false
          },
          "resolveLinkHubs": {
            "title": "Resolve Linktree / Beacons hubs",
            "type": "boolean",
            "description": "When a channel links a Linktree or Beacons page, fetch it and pull the destination links (YouTube, Discord, business email, and so on) into the contact graph. Adds one extra request per hub, so it defaults off.",
            "default": false
          },
          "maxStreamers": {
            "title": "Max streamer leads",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum qualified streamer leads to return. Controls total cost. Free-plan runs are capped lower regardless of this value.",
            "default": 25
          },
          "dedupe": {
            "title": "Skip previously returned streamers",
            "type": "boolean",
            "description": "Skip any streamer already returned by an earlier run of this Actor on your account. Intended for scheduled prospecting so you never re-pay for the same lead.",
            "default": false
          },
          "monitorMode": {
            "title": "Monitor mode (new matches only)",
            "type": "boolean",
            "description": "Return only streamers newly matching your criteria since the last run, as an ongoing discovery feed. Remembers everything seen before and emits only the new creators, ideal for a daily or weekly scheduled job.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy used for Twitch requests. Datacenter proxy is the correct and cheapest default; Twitch's public endpoints do not require residential IPs.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}