{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Email Finder: Find YouTube Influencers & Channel Emails",
    "description": "YouTube email finder: find YouTube influencers by niche, or paste channels, and get each channel's verified business email. YouTube channel email finder and email scraper, no login. $25 per 1,000 verified emails, pay only for emails found.",
    "version": "0.0",
    "x-build-id": "dUU7Yp4DfanrGm5wH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pnda~youtube-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pnda-youtube-email-finder",
        "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/pnda~youtube-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-pnda-youtube-email-finder",
        "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/pnda~youtube-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-pnda-youtube-email-finder",
        "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": {
          "mode": {
            "title": "What do you want to do?",
            "enum": [
              "search",
              "channels"
            ],
            "type": "string",
            "description": "\"Find channels\": no URL needed, the actor finds YouTube channels by niche keyword (Google search of YouTube). \"Find emails for my list\": paste channel URLs, @handles or video URLs and get each channel's verified business email.",
            "default": "search"
          },
          "keywords": {
            "title": "Niche keywords",
            "type": "array",
            "description": "One niche per line, as a creator would describe their channel: \"dropshipping\", \"personal finance\", \"home workout\", \"AI tools\". Each keyword is searched separately.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City or country (optional)",
            "type": "string",
            "description": "Narrows the search to channels that mention this place, e.g. \"Paris\", \"London\", \"Canada\"."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Language of the channels (Google interface language, 2 letters): en, fr, es, de, pt, it…",
            "default": "en"
          },
          "country": {
            "title": "Google country",
            "type": "string",
            "description": "Country of the Google search (2 letters): us, fr, gb, es, de, br… Set it to the audience's country.",
            "default": "us"
          },
          "maxResultsPerKeyword": {
            "title": "Channels per keyword",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many channels to find for each keyword.",
            "default": 20
          },
          "onlyNew": {
            "title": "Only new channels (skip what you already got)",
            "type": "boolean",
            "description": "Search mode: skip the channels you already received from this Actor in previous runs (same Apify account, last 12 months) and keep searching for new ones. Example: 20 marketing YouTubers yesterday, run again with onlyNew for 20 more, no duplicate. Channels skipped are never charged.",
            "default": false
          },
          "channels": {
            "title": "YouTube channels or videos",
            "type": "array",
            "description": "One per line: https://www.youtube.com/@mkbhd, @mkbhd, https://www.youtube.com/channel/UC…, or a video URL (its channel is used). Duplicates are removed.",
            "items": {
              "type": "string"
            }
          },
          "findEmail": {
            "title": "Find the business email",
            "type": "boolean",
            "description": "Looks for each channel's business email and verifies it by SMTP. Only a verified email is billed (\"email-found\"). Always on in list mode.",
            "default": true
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with fewer subscribers (free, not delivered)."
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels with more subscribers (free, not delivered)."
          },
          "requireEmail": {
            "title": "Only channels with an email",
            "type": "boolean",
            "description": "Deliver only channels with a verified email or a public email that could not be confirmed (never a catch-all guess).",
            "default": false
          },
          "deepSearch": {
            "title": "Deep search (optional)",
            "type": "boolean",
            "description": "When none of our methods finds a public email, also query an additional third-party data source on the Apify Store. That source is billed at its own rate directly to your Apify account (it appears in your runs) — we add no fee on those emails. Capped by the share below.",
            "default": false
          },
          "deepSearchMaxShare": {
            "title": "Deep search: max share of channels (%)",
            "minimum": 0,
            "maximum": 25,
            "type": "integer",
            "description": "At most this share of the run's channels (rounded up, max 50 per run) may use the deep search. Max 25 %.",
            "default": 25
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}