{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Channel Email Scraper: Creator Contacts",
    "description": "Build a YouTube creator outreach list: paste channels or search a niche, and get each creator's public email with where it was found, plus website, socials, subscribers and country. Dead mail domains are dropped and filtered-out channels are never charged. Only-with-email mode included.",
    "version": "0.0",
    "x-build-id": "SyYeRUPqNNOdOMEHT"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~youtube-channel-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-youtube-channel-email-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/memo23~youtube-channel-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-youtube-channel-email-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/memo23~youtube-channel-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-youtube-channel-email-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": {
          "channels": {
            "title": "Channels",
            "type": "array",
            "description": "One per line: an @handle (@veritasium), a channel link (youtube.com/@name, /channel/UC…, /c/name, /user/name), a channel ID starting with UC, or a link to one of the channel's videos or Shorts. On the free Apify plan the first 30 are checked.",
            "items": {
              "type": "string"
            }
          },
          "searchTerms": {
            "title": "Keywords or topics",
            "type": "array",
            "description": "One per line, e.g. home espresso or indie game devlog. Each line is its own YouTube search. On the free Apify plan only the first keyword or link is searched.",
            "items": {
              "type": "string"
            }
          },
          "searchUrls": {
            "title": "YouTube results pages",
            "type": "array",
            "description": "Optional links to youtube.com/results pages. The search words are taken from each link and searched like a keyword; other filters in the link are not applied.",
            "items": {
              "type": "string"
            }
          },
          "searchTermsFiles": {
            "title": "Keyword lists by link",
            "type": "array",
            "description": "Optional links to a plain-text or CSV file, or a public Google Sheet, with one keyword per line.",
            "items": {
              "type": "string"
            }
          },
          "maxChannelsPerSearchTerm": {
            "title": "Channels from each keyword",
            "minimum": 1,
            "type": "integer",
            "description": "Each keyword or results link stops after this many saved channels. Empty: it goes on until YouTube has no more results. Channels named under Channels do not count here."
          },
          "discoveryMode": {
            "title": "Where search channels come from",
            "enum": [
              "channelFilter",
              "videoResults",
              "both"
            ],
            "type": "string",
            "description": "Channel results: the channels YouTube lists when a search is filtered to channels. Uploaders of matching videos: the creators behind the videos a search returns. Both (default) does channel results first, then uploaders, and keeps each channel once.",
            "default": "both"
          },
          "languageHint": {
            "title": "Search language code",
            "type": "string",
            "description": "Two-letter language code for keyword searches, default en (es, fr, pt and so on). It changes which channels a search shows first.",
            "default": "en"
          },
          "countryHint": {
            "title": "Search country code",
            "type": "string",
            "description": "Two-letter code of the country keyword searches come from, default US (GB, IN, BR and so on).",
            "default": "US"
          },
          "followLinkInBio": {
            "title": "Open the channel's link-in-bio page",
            "type": "boolean",
            "description": "On (default): when the channel links a Linktree, Beacons, Stan, bio.link or similar page, that page is read for an email, and for the creator's website if the channel does not link one.",
            "default": true
          },
          "scanWebsite": {
            "title": "Open the creator's own website",
            "type": "boolean",
            "description": "On (default): the creator's website is read for an email, homepage first and then its contact and about pages. Shortened links are followed to find it.",
            "default": true
          },
          "collectAllEmails": {
            "title": "Collect every email, not just the first",
            "type": "boolean",
            "description": "Off (default): the search stops at the first place that shows an email, which keeps runs fast. On: the link-in-bio page and website are read even after an email is found, so every address the creator publishes is listed. The price per channel is the same.",
            "default": false
          },
          "verifyEmailDomains": {
            "title": "Drop emails that cannot receive mail",
            "type": "boolean",
            "description": "On (default): each email's domain is checked for a mail server, and an address on a domain without one is dropped and never charged.",
            "default": true
          },
          "onlyWithEmail": {
            "title": "Save only channels with an email",
            "type": "boolean",
            "description": "On: channels where no email was found are left out of the results. Off (default): every channel is saved, with its stats, website and social links, and hasEmail tells the two apart.",
            "default": false
          },
          "countries": {
            "title": "Only channels from these countries",
            "type": "array",
            "description": "Optional. Country names or two-letter codes, e.g. United States, GB, DE. A channel is kept when its About page names one of them; channels that name no country are left out while this is set.",
            "items": {
              "type": "string"
            }
          },
          "minSubscribers": {
            "title": "Subscriber floor",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer subscribers than this. 0 (default): no lower limit.",
            "default": 0
          },
          "maxSubscribers": {
            "title": "Subscriber ceiling",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with more subscribers than this, handy for reaching smaller creators. 0 (default): no upper limit.",
            "default": 0
          },
          "minVideos": {
            "title": "Fewest uploads",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer videos than this. 0 (default): no lower limit.",
            "default": 0
          },
          "verifiedOnly": {
            "title": "Only channels with the verified check mark",
            "type": "boolean",
            "description": "On: search results without YouTube's verified badge are skipped. Channels you name under Channels are always checked. Off (default): verified or not.",
            "default": false
          },
          "excludedChannels": {
            "title": "Channels to leave out",
            "type": "array",
            "description": "Optional. Handles such as @mkbhd, channel IDs that start with UC, or channel links. Matching search results are skipped.",
            "items": {
              "type": "string"
            }
          },
          "maxTotalResults": {
            "title": "Channels in the whole run",
            "minimum": 1,
            "type": "integer",
            "description": "The run stops after this many saved channels across channels and keywords together. Empty: no run-wide limit. Left-out channels do not count. On the free Apify plan a run stops at 30."
          },
          "maxConcurrency": {
            "title": "Channels checked at once",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "How many channels are looked up in parallel, default 30, at most 100.",
            "default": 30
          },
          "proxy": {
            "title": "Your own proxy (optional)",
            "type": "object",
            "description": "Apify Proxy groups and countries picked here are not used, and the run log says so. To send the run through your own proxies, switch off Apify Proxy and add their URLs.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}