{
  "openapi": "3.0.1",
  "info": {
    "title": "YouTube Email Finder - Influencer & Creator Emails, Socials",
    "description": "Influencer email finder for YouTube creators: search by keyword or channel and get public business emails from About pages, video descriptions, websites and link-in-bio pages, plus Instagram/TikTok/X handles, subscribers, country, lead score and Slack/Discord alerts for new creators.",
    "version": "1.0",
    "x-build-id": "oUfdQwWZodkeRbTAK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sonic_scraper~youtube-email-finder/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sonic_scraper-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/sonic_scraper~youtube-email-finder/runs": {
      "post": {
        "operationId": "runs-sync-sonic_scraper-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/sonic_scraper~youtube-email-finder/run-sync": {
      "post": {
        "operationId": "run-sync-sonic_scraper-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": {
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Find channels the way YouTube's Channels search filter does, one keyword per line (for example \"home barista\" or \"personal finance\"). Each keyword returns up to \"Channels per keyword\".",
            "items": {
              "type": "string"
            }
          },
          "channelUrls": {
            "title": "Channel URLs or @handles",
            "type": "array",
            "description": "Channels you already have: https://www.youtube.com/@handle, /channel/UC… URLs, /c/ or /user/ URLs, bare @handles or UC… channel IDs. Can be combined with keywords.",
            "items": {
              "type": "string"
            }
          },
          "maxChannelsPerKeyword": {
            "title": "Channels per keyword",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "How many channels to check for each keyword (YouTube returns about 20 per page). Only creators you keep are billed, so checking more channels than you need is how you get enough emails.",
            "default": 40
          },
          "maxResults": {
            "title": "Maximum creators to save",
            "minimum": 0,
            "maximum": 10000,
            "type": "integer",
            "description": "Stop after this many creators are saved (and billed). 0 means no limit. Your run's maximum charge is also respected.",
            "default": 50
          },
          "onlyWithEmail": {
            "title": "Only creators with an email",
            "type": "boolean",
            "description": "Save only creators with at least one public email, so you pay only for contactable leads. Turn off to also get channels without an email (subscribers, socials, website).",
            "default": true
          },
          "minSubscribers": {
            "title": "Minimum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels below this subscriber count, for example 1000 for micro-influencers and up."
          },
          "maxSubscribers": {
            "title": "Maximum subscribers",
            "minimum": 0,
            "type": "integer",
            "description": "Skip channels above this subscriber count, for example 100000 to leave out the biggest creators."
          },
          "countries": {
            "title": "Channel countries",
            "type": "array",
            "description": "Keep only channels whose About page lists one of these countries. Use names (\"United Kingdom\") or two-letter codes (\"GB\"). Channels without a listed country are skipped when this is set.",
            "items": {
              "type": "string"
            }
          },
          "maxDaysSinceLastUpload": {
            "title": "Uploaded within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Keep only channels that published a video in this many days, for example 30 for active creators."
          },
          "crawlWebsites": {
            "title": "Check creators' websites and link-in-bio pages",
            "type": "boolean",
            "description": "Visit the links on each channel's About page (the creator's own site, Linktree, Beacons, Stan and similar) for published emails and social profiles. Slower, but finds emails that are not on YouTube.",
            "default": true
          },
          "maxPagesPerWebsite": {
            "title": "Pages per website",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "Home page plus the most contact-like pages (contact, business, about, imprint).",
            "default": 4
          },
          "checkEmailDomains": {
            "title": "Check that email domains accept mail",
            "type": "boolean",
            "description": "Look up the MX records of each saved email's domain. A domain without MX records cannot receive mail. This does not prove the mailbox exists.",
            "default": true
          },
          "includeRecentVideos": {
            "title": "Include recent videos",
            "type": "boolean",
            "description": "Add the 5 latest uploads (title, URL, date, views) to each row. Activity fields such as last upload date are always included.",
            "default": false
          },
          "onlyNewChannels": {
            "title": "Only new creators (monitoring)",
            "type": "boolean",
            "description": "Skip creators this monitor already saved in earlier runs, so a scheduled run returns only new leads. Uses the \"Monitor name\" below.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name",
            "type": "string",
            "description": "Name for the list of already-saved creators. Use a different name for each separate lead list.",
            "default": "default"
          },
          "webhookUrl": {
            "title": "Slack, Discord or webhook URL",
            "type": "string",
            "description": "Get a digest of the creators found when the run finishes: paste a Slack incoming-webhook URL, a Discord channel webhook URL, or any https URL (receives JSON). Combine with \"Only new creators\" and a schedule for weekly new-lead alerts."
          },
          "webhookTopCreators": {
            "title": "Creators listed in the alert",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "The best-scored creators are listed first; the alert links to the full list as CSV.",
            "default": 10
          },
          "notifyWhenEmpty": {
            "title": "Alert even when nothing new was found",
            "type": "boolean",
            "description": "By default no alert is sent when a run saves no creators.",
            "default": false
          },
          "searchLanguage": {
            "title": "Search language",
            "type": "string",
            "description": "YouTube interface language for the search, for example en, es, de or pt.",
            "default": "en"
          },
          "searchCountry": {
            "title": "Search region",
            "type": "string",
            "description": "Two-letter country code YouTube uses to rank search results, for example US, GB, IN or DE.",
            "default": "US"
          },
          "maxConcurrency": {
            "title": "Channels checked in parallel",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Higher is faster; 5 is a safe default.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}