# YouTube Keywords Scraper (`neuro-scraper/youtube-keywords-scraper`) Actor

YouTube Keywords Scraper SD - YouTube Keywords Scraper is a keyword research tool that extracts YouTube search suggestions (autocomplete keywords) with rank, alphabet and question expansion, hashtags and top videos. No login.

- **URL**: https://apify.com/neuro-scraper/youtube-keywords-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** SEO tools, Videos
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### YouTube Keywords Scraper

The YouTube Keywords Scraper collects public YouTube Keywords data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the YouTube Keywords Scraper your input, start it and get structured YouTube Keywords data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

YouTube Keywords Scraper finds the keywords people really type into YouTube: the search suggestions for your seed keywords, expanded with alphabet letters, question words and follow-up rounds, plus hashtag suggestions and the top videos of each keyword.

Creators, SEO teams and marketers use YouTube Keywords Scraper to plan videos, write titles and descriptions, and see which videos rank. Every suggestion comes with its rank, the query that found it, the language and the country.

YouTube Keywords Scraper needs no account, no cookies and no API key: enter seeds, press Start, and YouTube Keywords Scraper saves clean rows you can download as JSON, CSV, Excel, XML or HTML, or read with the Apify API.

> **Also from us: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - export public Facebook Reels with views, likes, comments, captions and video files. Pairs well with YouTube Keywords Scraper when you plan short-video content across platforms.

#### What does YouTube Keywords Scraper do?

YouTube Keywords Scraper writes one row per row, with the same columns in the same order on every row, so the export drops straight into a spreadsheet, a BI tool, a database or a data pipeline. Key features of YouTube Keywords Scraper:

- YouTube search suggestions for every seed, in YouTube's order.
- Alphabet expansion (36 queries) and modifier expansion (28 queries).
- Depth 1-3: new suggestions sent back as queries.
- Hashtag suggestions.
- Top videos per seed: title, channel, views, age, duration.
- Language and country targeting; duplicates removed per seed.

#### How to use YouTube Keywords Scraper

1. **Open YouTube Keywords Scraper** on Apify and click **Try for free** (or **Start** if you already use it). Enter at least one seed keyword (e.g. `home workout`). Every other option is optional and has a safe default.
2. **Set the filters and limits** you need - each one is explained under "Features and how they work" below. Start small (for example 20 rows) to see the columns, then raise the limit.
3. **Press Start and watch the log.** YouTube Keywords Scraper logs one line per seed, e.g. ""home workout": 20 suggestions from 3 queries, 2 hashtags, 8 top videos". The last line of the log and the run's status message sum up every target: how many rows were saved and why each one stopped (limit reached, last page, filter, or a target that could not be read).
4. **Download the results** from the **Output** tab as JSON, CSV, Excel, XML or HTML, or read the dataset with the Apify API (examples below).
5. **Automate it:** create a schedule (hourly, daily, weekly) in Apify Console and connect an integration - Google Sheets, Zapier, Make, n8n, Slack, email or a webhook that fires when a run of YouTube Keywords Scraper finishes.

#### Features and how they work

Every input option of YouTube Keywords Scraper is explained below: what it does, how YouTube Keywords Scraper applies it, the allowed values and the default, an example, a tip and how it combines with the other options.

##### `keywords` - Seed keywords

**What it does:** The seed keywords to expand - one per line.

**How it works:** YouTube Keywords Scraper asks YouTube's search suggestions for each seed and saves every suggestion as a row (up to 14 per query, in YouTube's order). The expansion options below add more queries per seed. Limits apply per seed.

**Allowed values and default:** a list of text values (one per line in the form); default: empty (not used).

**Example:** `"keywords": ["home workout", "python tutorial"]`

**Tip:** Use short seeds (1-3 words) - suggestions are longer phrases that start with them.

**Combinations:** Each seed gets its own limit, hashtags and top videos.

##### `language` - Language

**What it does:** Language of the suggestions.

**How it works:** YouTube Keywords Scraper sends the language code (hl) with every query; suggestions differ per language.

**Allowed values and default:** text; default: `"en"`.

**Example:** `"language": "de"`

**Tip:** Use the language your viewers search in.

**Combinations:** Combine with Country for a local market.

##### `country` - Country

**What it does:** Country of the suggestions.

**How it works:** YouTube Keywords Scraper sends the country code (gl) with every query, so suggestions reflect that country's searches.

**Allowed values and default:** text; default: `"US"`.

**Example:** `"country": "GB"`

**Tip:** Use two-letter codes: US, GB, DE, IN ...

**Combinations:** Combine with Language.

##### `alphabetExpansion` - A-Z expansion

**What it does:** Adds "seed a" ... "seed z" and "seed 0" ... "seed 9".

**How it works:** YouTube Keywords Scraper sends 36 more queries per seed and saves the new suggestions; each row's `expansion` column shows the letter that found it.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"alphabetExpansion": true`

**Tip:** The classic way to find hundreds of long-tail keywords.

**Combinations:** Raise Max suggestions per keyword (36 queries x up to 14 suggestions).

##### `modifiers` - Question and modifier expansion

**What it does:** Adds question and preposition queries: "how seed", "best seed", "seed for", "seed vs" ...

**How it works:** YouTube Keywords Scraper sends 28 more queries per seed; each row's `modifier` column shows the word that found it.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"modifiers": true`

**Tip:** Finds intent keywords for titles and video ideas.

**Combinations:** Works together with Alphabet expansion and Depth.

##### `depth` - Depth

**What it does:** Sends the new suggestions back as queries, for 1-3 rounds.

**How it works:** 0 = only the queries above. With 1, YouTube Keywords Scraper sends every new suggestion again as a query and saves its suggestions (depth column = 1), and so on.

**Allowed values and default:** a whole number from 0 to 3; default: `0`.

**Example:** `"depth": 1`

**Tip:** Depth grows fast - keep a limit.

**Combinations:** Duplicates are removed per seed when Remove duplicates is on.

##### `maxQueriesPerKeyword` - Max keywords per seed

**What it does:** The most suggestion rows per seed.

**How it works:** YouTube Keywords Scraper stops a seed after this many suggestion rows (hashtags and videos have their own limits).

**Allowed values and default:** a whole number from 1 to 100,000; default: `50`.

**Example:** `"maxQueriesPerKeyword": 200`

**Tip:** Raise it with alphabet expansion or depth.

**Combinations:** Max rows in total caps the whole run.

##### `searchHashtags` - Hashtag suggestions

**What it does:** Adds the hashtag suggestions for "#seed".

**How it works:** YouTube Keywords Scraper asks for "#seed" (spaces removed) and saves the hashtag suggestions as rows with `rowType` = "hashtag".

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"searchHashtags": true`

**Tip:** Find hashtags for video descriptions.

**Combinations:** One extra query per seed.

##### `includeTopVideos` - Top videos per seed

**What it does:** Adds the top videos of each seed's search.

**How it works:** YouTube Keywords Scraper reads the first results page of a YouTube search for the seed and saves the top videos as rows with `rowType` = "video": title, channel, views, age, duration, link and thumbnail.

**Allowed values and default:** `true` or `false`; default: `false`.

**Example:** `"includeTopVideos": true`

**Tip:** See which videos rank for a keyword today.

**Combinations:** Max top videos per keyword sets how many.

##### `maxVideosPerKeyword` - Max videos per seed

**What it does:** How many top videos per seed.

**How it works:** YouTube Keywords Scraper saves up to this many videos from the first results page (about 20).

**Allowed values and default:** a whole number from 1 to 100; default: 10 when empty.

**Example:** `"maxVideosPerKeyword": 10`

**Tip:** Keep it at 10 or less for competitor checks. Older API callers may also send `topVideosPerKeyword` - it means the same; when both are set this field wins.

**Combinations:** Used only with Include top videos.

##### `removeDuplicates` - Remove duplicate suggestions

**What it does:** Keeps each suggestion once per seed.

**How it works:** YouTube Keywords Scraper remembers the suggestions of each seed and skips repeats from other queries.

**Allowed values and default:** `true` or `false`; default: `true`.

**Example:** `"removeDuplicates": true`

**Tip:** Turn it off to see how often a suggestion appears across queries.

**Combinations:** Matters most with expansion and depth.

##### `seedVideoUrl` - Seed videos (optional)

**What it does:** Turns videos into seed keywords.

**How it works:** YouTube Keywords Scraper opens each video and reads the tags its creator gave it (and its title when there are no tags); those become seed keywords, exactly as if you had typed them, with every expansion option applied.

**Allowed values and default:** a list of text values (one per line in the form); default: empty (not used).

**Example:** `"seedVideoUrl": ["https://www.youtube.com/watch?v=dQw4w9WgXcQ"]`

**Tip:** Use a competitor's best video to find the keywords it targets.

**Combinations:** Works together with Seed keywords (both lists are used) and Keywords per seed video.

##### `maxSeedVideoKeywords` - Keywords per seed video

**What it does:** How many tags of each seed video are used.

**How it works:** YouTube Keywords Scraper takes the first N tags of each seed video, in the creator's order, as seeds; each seed then gets its own suggestion limit, so this number multiplies the run size.

**Allowed values and default:** a whole number from 1 to 50; default: `10`.

**Example:** `"maxSeedVideoKeywords": 5`

**Tip:** Start with 5 - videos often carry 20-40 tags.

**Combinations:** Used only with Seed videos.

##### `includeEndpoints` - What to collect

**What it does:** Chooses which kinds of rows to collect.

**How it works:** `suggest` = search suggestions (with your expansions), `hashtag` = hashtag suggestions, `search` = top videos of each seed, `related` = the related searches YouTube shows with the results of each seed. Empty = suggestions plus the Hashtags / Top videos switches above.

**Allowed values and default:** a list of text values (one per line in the form); default: empty (not used).

**Example:** `"includeEndpoints": ["suggest", "related"]`

**Tip:** Measured 2026-11-22: for logged-out visitors YouTube currently shows no related-search cards with the results (3 of 3 tested seeds, only the filter chips), so `related` returns rows only when YouTube shows such cards; the log says so for each seed.

**Combinations:** Each kind is a different `rowType` in the output; filter on it in your sheet.

##### `maxConcurrency` - Parallel queries

**What it does:** How many queries run at the same time.

**How it works:** YouTube Keywords Scraper sends this many suggestion queries in parallel (one round of expansions at a time) and saves the results in YouTube's order. Higher = faster runs.

**Allowed values and default:** a whole number from 1 to 20; default: `5`.

**Example:** `"maxConcurrency": 5`

**Tip:** The default 5 is fast and polite; up to 20 for very large alphabet + modifier runs.

**Combinations:** Works with Pause between requests: a fixed pause applies to each request.

##### `pacingMs` - Pause between requests (ms, 0 = automatic)

**What it does:** Adds a fixed pause before each request.

**How it works:** 0 = automatic (a short random 0.3-0.9 s pause). Any other value = that many milliseconds before each request, for slow and steady runs.

**Allowed values and default:** a whole number from 0 to 10,000; default: `0`.

**Example:** `"pacingMs": 500`

**Tip:** Leave it at 0 unless you see blocked requests in the log.

**Combinations:** Combine with fewer Parallel queries for the gentlest runs.

##### `maxItems` - Max rows in total (0 = no total limit)

**What it does:** The most rows in the whole run.

**How it works:** YouTube Keywords Scraper stops as soon as this many rows (suggestions, hashtags and videos) are saved. 0 = no total limit.

**Allowed values and default:** a whole number from 0; default: `0`.

**Example:** `"maxItems": 500`

**Tip:** The easiest way to cap the cost.

**Combinations:** Works on top of the per-seed limits.

##### `proxyConfiguration` - Proxy configuration

**What it does:** Chooses the proxy servers the run uses.

**How it works:** YouTube Keywords Scraper sends its requests through Apify Proxy. Residential IPs are the default because they are refused far less often than datacenter IPs; when one IP is blocked, YouTube Keywords Scraper retries with a fresh session automatically.

**Allowed values and default:** default: `{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`.

**Example:** `"proxyConfiguration": {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}`

**Tip:** Keep the default unless you have your own proxy. Switching to datacenter proxies saves a little platform usage but makes blocks more likely on large runs.

**Combinations:** Works with every other option; it changes only how requests are sent, never which rows you get.

#### Ready-to-copy input examples for YouTube Keywords Scraper

**Simple suggestions** - the direct suggestions for two seeds.

```json
{
  "keywords": [
    "home workout",
    "python tutorial"
  ],
  "maxQueriesPerKeyword": 20
}
```

**Full long-tail research** - alphabet + modifier expansion with one extra round, up to 500 suggestions.

```json
{
  "keywords": [
    "home workout"
  ],
  "alphabetExpansion": true,
  "modifiers": true,
  "depth": 1,
  "maxQueriesPerKeyword": 500
}
```

**Keywords, hashtags and top videos in Germany** - German suggestions plus hashtags and the top 10 videos.

```json
{
  "keywords": [
    "krafttraining"
  ],
  "language": "de",
  "country": "DE",
  "searchHashtags": true,
  "includeTopVideos": true,
  "maxVideosPerKeyword": 10
}
```

#### Output fields of YouTube Keywords Scraper

Every row of YouTube Keywords Scraper has the columns below. "Filled in test" is measured on our latest test run (38 rows). A value is empty (null) when the row does not publish it - YouTube Keywords Scraper never guesses or fills old values, so exports keep a stable shape from run to run. Several columns carry the same value under the name other tools use, so imports built for another tool keep working.

| Field | Type | Meaning | Example | Filled in test / when empty |
|---|---|---|---|---|
| `id` | text | Unique row id. | `c448dd0877e30daa` | 38/38 |
| `rowType` | text | `suggestion`, `hashtag` or `video`. | `suggestion` | 38/38 |
| `keyword` | text | The seed keyword. | `home workout` | 38/38 |
| `seed` | text | Same value as `keyword`. | `home workout` | 38/38 |
| `query` | text | The query that returned the row (seed, "seed a", "how seed" ...). | `home workout` | 38/38 |
| `suggestion` | text | The suggested search phrase (or hashtag). | `home workout` | 29/38 - empty on video rows |
| `rank` | number | Position in YouTube's list (1 = first). | `1` | 38/38 |
| `expansion` | text | The alphabet letter or digit of the query. | - | 0/38 - empty unless Alphabet expansion is on (the test used modifiers only) |
| `modifier` | text | The modifier word of the query. | - | 0/38 - empty on rows not found by a modifier query |
| `depth` | number | Expansion round (0 = direct). | `0` | 38/38 |
| `hashtagName` | boolean | The hashtag (hashtag rows). | - | 5/38 - empty on rows that are not hashtags |
| `videoTitle` | text | Video title (video rows). | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `channelTitle` | text | Channel name (video rows). | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `channelId` | text | Channel id (video rows). | - | 8/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `channelUrl` | text | Channel link (video rows). | - | 8/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `viewCount` | number | Views (number, video rows). | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `viewCountText` | text | Views as shown. | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `publishedAt` | text | Video age as shown, e.g. "2 years ago". | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `duration` | text | Video length. | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `videoPageUrl` | text | Video link. | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `thumbnailUrl` | text | Video thumbnail. | - | 9/38 - empty on suggestion and hashtag rows (filled on video rows) |
| `language` | text | Language used. | `en` | 38/38 |
| `country` | text | Country used. | `US` | 38/38 |
| `source` | text | Always `youtube`. | `youtube` | 38/38 |
| `sourceEndpoint` | text | Row source: `autocomplete`, `autocomplete-hashtag` or `search`. | `autocomplete` | 38/38 |
| `sourceKeyword` | text | Same value as `keyword`. | `home workout` | 38/38 |
| `source_url` | URL | YouTube search link of the suggestion (or hashtag page). | `https://www.youtube.com/results?search_query=...` | 38/38 |
| `status` | text | Always `ok`. | `ok` | 38/38 |
| `processedAt` | date (ISO) | When the row was saved (ISO 8601, UTC). | `2026-11-21T19:21:16+00:00` | 38/38 |
| `scraped_at` | date (ISO) | Same value as `processedAt`. | `2026-11-21T19:21:16+00:00` | 38/38 |
| `scrapedAt` | date (ISO) | Same value as `processedAt`. | `2026-11-21T19:21:16+00:00` | 38/38 |

#### Which columns can be empty in the scraper

Measured on our latest test run (38 rows): these columns were empty on more than 10% of the rows. Each one was checked against what the site itself shows for those rows - YouTube Keywords Scraper leaves a column empty only when the site does not publish the value for that row (or when the option that fills it is off). Nothing is guessed.

| Column | Empty in test | Why (measured) |
|---|---|---|
| `suggestion` | 9 of 38 | On video rows |
| `expansion` | 38 of 38 | Unless Alphabet expansion is on (the test used modifiers only) |
| `modifier` | 38 of 38 | On rows not found by a modifier query |
| `hashtagName` | 33 of 38 | On rows that are not hashtags |
| `videoTitle` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `channelTitle` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `channelId` | 30 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `channelUrl` | 30 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `viewCount` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `viewCountText` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `publishedAt` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `duration` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `videoPageUrl` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |
| `thumbnailUrl` | 29 of 38 | On suggestion and hashtag rows (filled on video rows) |

#### Example row of the scraper

One real row from a test run of YouTube Keywords Scraper (long texts shortened):

```json
{
  "id": "c448dd0877e30daa",
  "rowType": "suggestion",
  "keyword": "home workout",
  "seed": "home workout",
  "query": "home workout",
  "suggestion": "home workout",
  "rank": 1,
  "expansion": null,
  "modifier": null,
  "depth": 0,
  "hashtagName": null,
  "videoTitle": null,
  "channelTitle": null,
  "channelId": null,
  "channelUrl": null,
  "viewCount": null,
  "viewCountText": null,
  "publishedAt": null,
  "duration": null,
  "videoPageUrl": null,
  "thumbnailUrl": null,
  "language": "en",
  "country": "US",
  "source": "youtube",
  "sourceEndpoint": "autocomplete",
  "sourceKeyword": "home workout",
  "source_url": "https://www.youtube.com/results?search_query=home+workout",
  "status": "ok",
  "processedAt": "2026-11-21T19:21:16+00:00",
  "scraped_at": "2026-11-21T19:21:16+00:00",
  "scrapedAt": "2026-11-21T19:21:16+00:00"
}
```

#### The scraper compared with the top 5 tools of its kind

We compared YouTube Keywords Scraper with the five most-used tools of its kind on the Apify Store and added every input option and output field they offer that can be collected without logging in. The table shows the main features.

| Feature | Offered by (of the top 5) | YouTube Keywords Scraper |
|---|---|---|
| Seed keywords | 5 of 5 | yes |
| Alphabet expansion | 3 of 5 | yes |
| Question / modifier expansion | 2 of 5 | yes |
| Language / country | 4 of 5 | yes |
| Hashtags | 1 of 5 | yes |
| Top videos | 1 of 5 | yes |
| Search volume / CPC | 1 of 5 | no - YouTube publishes no volumes; that competitor buys them from a paid keyword service |

#### Use cases for the scraper

- Video ideas from real searches.
- Titles and descriptions with the words viewers type.
- Hashtag research.
- Competitor check: which videos rank for a keyword.
- Local keyword research per language and country.

#### Tips for the best results with the scraper

- Start with direct suggestions, then add modifiers and the alphabet.
- Keep depth at 1 with a limit.
- Use language + country of your audience.

#### Limits of the scraper (measured)

- YouTube returns up to 14 suggestions per query and no search volume.
- Top videos come from the first results page (about 20).

#### How much does the scraper cost?

YouTube Keywords Scraper uses pay-per-event pricing: you pay per result row that YouTube Keywords Scraper saves (event `result`), plus the Apify platform usage of the run. There is no monthly rental and no start fee from us. One result = one row of the dataset (one suggestion, hashtag or video).

| Apify plan | Price per 1,000 results | 1,000 rows | 10,000 rows |
|---|---|---|---|
| Free | $1.49 | $1.49 | $14.90 |
| Starter | $1.39 | $1.39 | $13.90 |
| Scale | $1.29 | $1.29 | $12.90 |
| Business | $1.19 | $1.19 | $11.90 |

**Worked example:** 1,000 suggestions (2 seeds with alphabet + modifiers) on the Starter plan = **$1.39** in results.

Platform usage measured on our test run: 38 rows used about $0.0029 of compute and proxy, so the result price is the main part of the cost.

**Free plan:** Apify free-plan users can run YouTube Keywords Scraper with up to 30 rows per run (30 x $1.49 / 1,000 = about $0.045), enough to check the data before a larger run. **Capping the cost:** set the "Max" limits in the input and, in the run options, a **maximum cost per run** - YouTube Keywords Scraper stops cleanly when the budget is reached and keeps every row it already saved.

#### Use the scraper with the API

Start YouTube Keywords Scraper from your own code with the same input as in the examples above. Replace `<YOUR_APIFY_TOKEN>` with the token from Apify Console > Settings > Integrations.

**Python** (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
    "keywords": [
        "home workout",
        "python tutorial"
    ],
    "maxQueriesPerKeyword": 20
}
run = client.actor("neuro-scraper/youtube-keywords-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

**Node.js** (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('neuro-scraper/youtube-keywords-scraper').call({"keywords": ["home workout", "python tutorial"], "maxQueriesPerKeyword": 20});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

**HTTP** (one call that runs the Actor and returns the rows):

```bash
curl -X POST 'https://api.apify.com/v2/acts/neuro-scraper~youtube-keywords-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"keywords": ["home workout", "python tutorial"], "maxQueriesPerKeyword": 20}'
```

YouTube Keywords Scraper also works with the Apify MCP server, so AI agents (Claude, ChatGPT, Cursor) can call it as a tool, and with every Apify integration: Google Sheets, Zapier, Make, n8n, Airbyte, Slack, email and webhooks.

#### Related Actors

Other scrapers from us that pair well with YouTube Keywords Scraper:

| Actor | What it extracts |
|---|---|
| [YouTube Video Details Scraper](https://apify.com/neuro-scraper/youtube-video-details-scraper) | Full details of YouTube videos |
| [YouTube Comments Scraper](https://apify.com/neuro-scraper/youtube-comments-scraper) | Comments and replies of YouTube videos |
| [YouTube Transcript Scraper](https://apify.com/neuro-scraper/youtube-transcript-scraper) | Transcripts of YouTube videos |
| [YouTube Shorts Scraper](https://apify.com/neuro-scraper/youtube-shorts-scraper) | YouTube Shorts with views and likes |
| [Keyword Research Scraper (Search Volume, CPC, Difficulty)](https://apify.com/neuro-scraper/keyword-research-scraper) | Keyword research for search engines |

#### FAQ about the scraper

**Does YouTube Keywords Scraper give search volume?**

No - YouTube publishes no search volume. The rank of a suggestion shows how popular it is relative to the others.

**Why did YouTube Keywords Scraper return fewer rows than the limit?**

YouTube has fewer suggestions for the seed; add expansion options or depth for more.

**How fast is YouTube Keywords Scraper?**

Our 30-row test run (20 suggestions, hashtags, 8 videos) took about 20 seconds.

**Do I need an account, cookies or an API key for YouTube Keywords Scraper?**

No. YouTube Keywords Scraper works without any login, cookies or API key of yours - you only need an Apify account to run it.

**Is it legal to use YouTube Keywords Scraper?**

YouTube Keywords Scraper collects only public data that anyone can see without logging in. You are responsible for how you use the results: respect the platform's terms, copyright and privacy laws such as GDPR and CCPA, and do not collect personal data without a legitimate reason. If in doubt, ask a lawyer.

**Can I get help or ask for a feature of YouTube Keywords Scraper?**

Yes - open an issue on the Issues tab of YouTube Keywords Scraper. We read every issue and usually answer within a day.

### Why use the scraper

The YouTube Keywords Scraper is a YouTube Keywords scraper and YouTube Keywords data extractor for anyone who needs public YouTube Keywords data as clean data. The YouTube Keywords Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the YouTube Keywords Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the YouTube Keywords Scraper runs on Apify with one click or one API call.
- Pay per result: the YouTube Keywords Scraper charges only for rows delivered - no monthly YouTube Keywords API fee.
- Complete fields: the YouTube Keywords Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the YouTube Keywords Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### The scraper use cases

- Market research: the YouTube Keywords Scraper collects YouTube Keywords data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the YouTube Keywords Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the YouTube Keywords Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the YouTube Keywords Scraper keeps a fresh copy of YouTube Keywords data through an Apify schedule and a webhook.
- Analytics and dashboards: send the YouTube Keywords Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the YouTube Keywords Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the YouTube Keywords Scraper turns public YouTube Keywords data into a dataset you can diff run by run.
- Automation workflows: connect the YouTube Keywords Scraper to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the YouTube Keywords Scraper from the Apify Console, or call it from code. The YouTube Keywords Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the YouTube Keywords Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the YouTube Keywords Scraper easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the YouTube Keywords Scraper on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the YouTube Keywords Scraper. Follow the run log while the YouTube Keywords Scraper collects public YouTube Keywords data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the YouTube Keywords Scraper to keep your YouTube Keywords data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the YouTube Keywords Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller YouTube Keywords Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each YouTube Keywords Scraper run adds to your YouTube Keywords data over time.
- Filter early: use the input filters of the YouTube Keywords Scraper so you only pay for the YouTube Keywords data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every YouTube Keywords Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the YouTube Keywords Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### The scraper FAQ

### Get started

Open the YouTube Keywords Scraper, paste your input and press Start. In a few minutes the YouTube Keywords Scraper hands you clean YouTube Keywords data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the YouTube Keywords Scraper page on Apify - we answer fast and add features users ask for.

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-keyword-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Downloader](https://apify.com/neuro-scraper/facebook-reels-downloader) | Facebook reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Search Scraper](https://apify.com/neuro-scraper/instagram-video-scraper-advanced) | Instagram search data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Video Details Scraper](https://apify.com/neuro-scraper/tiktok-video-details-scraper) | TikTok video details with all public fields, exported to JSON, CSV or Excel |
| [Instagram Hashtag Scraper](https://apify.com/neuro-scraper/instagram-reeel-scraper) | Instagram hashtag data with all public fields, exported to JSON, CSV or Excel |
| [TikTok Profile Scraper](https://apify.com/neuro-scraper/tiktok-profile-scraper) | TikTok profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Best Sellers Scraper](https://apify.com/neuro-scraper/amazon-per-result-scraper) | Amazon best sellers with all public fields, exported to JSON, CSV or Excel |
| [Facebook Photos Scraper](https://apify.com/neuro-scraper/facebook-photo-posts-scraper) | Facebook photos with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

## `keywords` (type: `array`):

One seed per line, e.g. "python tutorial", "home workout". Limits apply per seed.

## `keyword` (type: `string`):

One seed as plain text - the name other keyword tools use. Added to the seed keywords above.

## `language` (type: `string`):

Language code (hl), e.g. en, de, es, hi. Suggestions differ per language.

## `country` (type: `string`):

Country code (gl), e.g. US, GB, DE, IN.

## `alphabetExpansion` (type: `boolean`):

Also ask for "seed a" ... "seed z" and "seed 0" ... "seed 9" (36 more queries per seed).

## `modifiers` (type: `boolean`):

Also ask for "how seed", "best seed", "seed for", "seed vs", "seed tutorial" and similar (28 more queries per seed).

## `depth` (type: `integer`):

0 = only the queries above. 1-3 = send every new suggestion again as a query, that many rounds.

## `maxQueriesPerKeyword` (type: `integer`):

Stop each seed after this many suggestion rows.

## `searchHashtags` (type: `boolean`):

Add the hashtag suggestions for "#seed" (e.g. #fitnessmotivation).

## `includeTopVideos` (type: `boolean`):

Add the top videos of each seed's search: title, channel, views, age, link.

## `maxVideosPerKeyword` (type: `integer`):

How many top videos per seed (the first results page, about 20). Empty = 10.

## `topVideosPerKeyword` (type: `integer`):

Same as maxVideosPerKeyword (kept as an alias; maxVideosPerKeyword wins when both are set).

## `removeDuplicates` (type: `boolean`):

Keep each suggestion once per seed.

## `seedVideoUrl` (type: `array`):

YouTube video links: the creator's own tags (and the title) of each video become extra seed keywords.

## `maxSeedVideoKeywords` (type: `integer`):

How many of each seed video's tags are used as seeds.

## `includeEndpoints` (type: `array`):

Choose the row kinds: suggest = search suggestions, hashtag = hashtag suggestions, search = top videos, related = the related searches YouTube shows with the results. Empty = suggestions plus the switches above.

## `maxConcurrency` (type: `integer`):

How many suggestion queries run at the same time.

## `pacingMs` (type: `integer`):

A fixed pause before each request in milliseconds. 0 = a short automatic pause (0.3-0.9 s).

## `maxItems` (type: `integer`):

Stop the whole run after this many rows.

## `proxyConfiguration` (type: `object`):

Residential proxy is recommended and is the default.

## Actor input object example

```json
{
  "keywords": [
    "python tutorial"
  ],
  "language": "en",
  "country": "US",
  "alphabetExpansion": false,
  "modifiers": false,
  "depth": 0,
  "maxQueriesPerKeyword": 50,
  "searchHashtags": false,
  "includeTopVideos": false,
  "maxVideosPerKeyword": 10,
  "removeDuplicates": true,
  "maxSeedVideoKeywords": 10,
  "maxConcurrency": 5,
  "pacingMs": 0,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `results` (type: `string`):

One row per result, in the run's default dataset.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "keywords": [
        "python tutorial"
    ],
    "maxVideosPerKeyword": 10,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/youtube-keywords-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "keywords": ["python tutorial"],
    "maxVideosPerKeyword": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("neuro-scraper/youtube-keywords-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "keywords": [
    "python tutorial"
  ],
  "maxVideosPerKeyword": 10,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call neuro-scraper/youtube-keywords-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/youtube-keywords-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/7gNwxtPgXoMnfvo9N/builds/OGaJfeJtooyzr7Ggy/openapi.json
