youtube-influencer-discovery-scraper 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 logiover
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,74 @@
1
+ # YouTube Influencer Discovery — Channels, Emails & Engagement
2
+
3
+ [![Run on Apify](https://img.shields.io/badge/Apify-Run%20Actor-97D700?logo=apify)](https://apify.com/logiover/youtube-influencer-discovery-scraper) [![Node.js client](https://img.shields.io/badge/client-js-blue)](https://github.com/logiover/youtube-influencer-discovery-scraper)
4
+
5
+ **YouTube Influencer Discovery — Channels, Emails & Engagement** — a Node.js client for the [Apify Actor](https://apify.com/logiover/youtube-influencer-discovery-scraper). Pull **YouTube Influencer Discovery** data at scale with no API-key hassle: thousands of clean, structured results you can export to JSON, CSV or Excel.
6
+
7
+ ▶️ **Run it on Apify:** https://apify.com/logiover/youtube-influencer-discovery-scraper
8
+
9
+ ## Install
10
+ ```bash
11
+ npm install youtube-influencer-discovery-scraper
12
+ ```
13
+
14
+ ## Usage
15
+ ```js
16
+ const scrape = require("youtube-influencer-discovery-scraper");
17
+
18
+ (async () => {
19
+ const items = await scrape({}, { token: process.env.APIFY_TOKEN });
20
+ console.log(items.length, "results");
21
+ console.log(items[0]);
22
+ })();
23
+ ```
24
+
25
+ Get your free Apify token at <https://console.apify.com/account/integrations>.
26
+
27
+ ## Input
28
+ | Field | Type | Description |
29
+ |---|---|---|
30
+ | `searchQueries` | array | Niche keywords (discovery) |
31
+ | `niche` | string | Niche preset (used if no keywords given) |
32
+ | `channels` | array | Channels (direct enrich) |
33
+ | `region` | string | Region |
34
+ | `language` | string | Language |
35
+ | `sortBy` | string | Sort results by |
36
+ | `maxChannelsPerQuery` | integer | Max channels per query |
37
+ | `recentVideosForStats` | integer | Recent videos sampled for stats |
38
+ | `minSubscribers` | integer | Min subscribers |
39
+ | `maxSubscribers` | integer | Max subscribers |
40
+ | `requireEmail` | boolean | Only channels with an email |
41
+ | `maxResults` | integer | Max results |
42
+ | `proxyConfiguration` | object | Proxy configuration |
43
+
44
+ *All fields optional — run with empty input `{}` for a broad default result set.*
45
+
46
+ ## Output
47
+ Each result item includes fields such as: `channelTitle`, `subscriberCount`, `avgRecentViews`, `engagementRatePct`, `email`, `handle`, `channelUrl`, `channelId`, `subscriberCountText`, `medianRecentViews`, `videosAnalyzed`, `latestVideoPublished`, `emails`, `socialLinks`, `keywords`, `description`, `avatar`, `scrapedAt`.
48
+
49
+ ## Why use this
50
+ - ⚡ Thousands of results per run, auto-paginated
51
+ - 🔑 No YouTube Influencer Discovery login or reverse-engineering — just call the Actor
52
+ - 📦 Export to JSON, CSV, Excel, JSONL, XML
53
+ - ☁️ Runs on Apify cloud — schedule it, add webhooks, wire into Make / Zapier / n8n
54
+
55
+ ## FAQ
56
+ ### Do I need an API key?
57
+ Only a free Apify token (grab one at https://console.apify.com/account/integrations). No YouTube Influencer Discovery login and no scraping setup on your side.
58
+
59
+ ### How many results can I get?
60
+ Thousands per run. Raise the limit in the input to pull more — the Actor paginates for you.
61
+
62
+ ### What export formats are supported?
63
+ Results are plain JSON in code; from the Apify dataset you can export CSV, Excel, JSON, JSONL or XML.
64
+
65
+ ### Is this an official YouTube Influencer Discovery API?
66
+ No. It is an unofficial YouTube Influencer Discovery data client on the Apify platform — a maintained alternative when there is no official or affordable API.
67
+
68
+ ## Links
69
+ - ▶️ Run the Actor: https://apify.com/logiover/youtube-influencer-discovery-scraper
70
+ - 📚 Docs & examples: https://github.com/logiover/youtube-influencer-discovery-scraper
71
+ - 🧰 More scrapers by logiover: https://apify.com/logiover
72
+
73
+ ---
74
+ MIT © 2026 logiover · Client library for the hosted Apify Actor. Not affiliated with YouTube Influencer Discovery.
package/index.d.ts ADDED
@@ -0,0 +1,40 @@
1
+ export interface ScrapeInput {
2
+ /** Niche keywords (discovery) */
3
+ searchQueries?: string[];
4
+ /** Niche preset (used if no keywords given) */
5
+ niche?: "tech reviews" | "personal finance" | "home workout" | "gaming" | "beauty and makeup" | "cooking recipes" | "travel vlog" | "real estate investing" | "digital marketing" | "productivity" | "podcast" | "music production" | "photography" | "car reviews" | "health and wellness" | "software tutorials" | "crypto and web3" | "fashion" | "education" | "comedy";
6
+ /** Channels (direct enrich) */
7
+ channels?: string[];
8
+ /** Region */
9
+ region?: "US" | "GB" | "CA" | "AU" | "DE" | "FR" | "ES" | "IT" | "NL" | "BR" | "MX" | "IN" | "JP" | "KR" | "TR" | "RU" | "ID" | "PH" | "NG" | "ZA";
10
+ /** Language */
11
+ language?: "en" | "es" | "fr" | "de" | "it" | "pt" | "nl" | "ru" | "tr" | "ar" | "hi" | "id" | "ja" | "ko" | "zh";
12
+ /** Sort results by */
13
+ sortBy?: "relevance" | "subscribers_desc" | "subscribers_asc" | "engagement_desc" | "avgViews_desc";
14
+ /** Max channels per query */
15
+ maxChannelsPerQuery?: number;
16
+ /** Recent videos sampled for stats */
17
+ recentVideosForStats?: number;
18
+ /** Min subscribers */
19
+ minSubscribers?: number;
20
+ /** Max subscribers */
21
+ maxSubscribers?: number;
22
+ /** Only channels with an email */
23
+ requireEmail?: boolean;
24
+ /** Max results */
25
+ maxResults?: number;
26
+ /** Proxy configuration */
27
+ proxyConfiguration?: Record<string, any>;
28
+ [key: string]: any;
29
+ }
30
+ export interface ScrapeOptions {
31
+ /** Apify API token (or set APIFY_TOKEN). Free at console.apify.com/account/integrations */
32
+ token?: string;
33
+ memory?: number;
34
+ timeout?: number;
35
+ }
36
+ declare function scrape(input?: ScrapeInput, options?: ScrapeOptions): Promise<any[]>;
37
+ declare namespace scrape {
38
+ const ACTOR_ID: string;
39
+ }
40
+ export = scrape;
package/index.js ADDED
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ const { ApifyClient } = require("apify-client");
3
+
4
+ const ACTOR_ID = "logiover/youtube-influencer-discovery-scraper";
5
+
6
+ /**
7
+ * Run the YouTube Influencer Discovery — Channels, Emails & Engagement Apify Actor and return the scraped dataset items.
8
+ *
9
+ * @param {object} [input] Actor input (every field is optional).
10
+ * @param {object} [options] { token, memory, timeout }
11
+ * @returns {Promise<Array<object>>} array of result items
12
+ */
13
+ async function scrape(input, options) {
14
+ input = input || {};
15
+ options = options || {};
16
+ const token = options.token || process.env.APIFY_TOKEN;
17
+ if (!token) {
18
+ throw new Error(
19
+ "Apify API token required. Pass { token } or set the APIFY_TOKEN env var. " +
20
+ "Get a free token at https://console.apify.com/account/integrations"
21
+ );
22
+ }
23
+ const client = new ApifyClient({ token });
24
+ const run = await client.actor(ACTOR_ID).call(input, { memory: options.memory, timeout: options.timeout });
25
+ const { items } = await client.dataset(run.defaultDatasetId).listItems();
26
+ return items;
27
+ }
28
+
29
+ module.exports = scrape;
30
+ module.exports.scrape = scrape;
31
+ module.exports.ACTOR_ID = ACTOR_ID;
package/package.json ADDED
@@ -0,0 +1,48 @@
1
+ {
2
+ "name": "youtube-influencer-discovery-scraper",
3
+ "version": "1.0.0",
4
+ "description": "YouTube Influencer Discovery \u2014 Channels, Emails & Engagement \u2014 free API client for the Apify platform. No API key setup, thousands of structured results, export to JSON, CSV or Excel.",
5
+ "keywords": [
6
+ "youtube",
7
+ "influencer",
8
+ "discovery",
9
+ "scraper",
10
+ "channels,",
11
+ "emails",
12
+ "engagement",
13
+ "apify",
14
+ "web scraping",
15
+ "data export",
16
+ "crawler",
17
+ "json",
18
+ "csv",
19
+ "no api key",
20
+ "unofficial api",
21
+ "dataset",
22
+ "data extraction"
23
+ ],
24
+ "homepage": "https://apify.com/logiover/youtube-influencer-discovery-scraper",
25
+ "repository": {
26
+ "type": "git",
27
+ "url": "git+https://github.com/logiover/youtube-influencer-discovery-scraper.git"
28
+ },
29
+ "bugs": {
30
+ "url": "https://github.com/logiover/youtube-influencer-discovery-scraper/issues"
31
+ },
32
+ "license": "MIT",
33
+ "author": "logiover",
34
+ "main": "index.js",
35
+ "types": "index.d.ts",
36
+ "files": [
37
+ "index.js",
38
+ "index.d.ts",
39
+ "README.md",
40
+ "LICENSE"
41
+ ],
42
+ "dependencies": {
43
+ "apify-client": "^2"
44
+ },
45
+ "engines": {
46
+ "node": ">=16"
47
+ }
48
+ }