# Google Videos Search Scraper: Videos Tab & Shorts (`crawlyth-forge/google-videos-search`) Actor

Search Google's Videos tab and Short videos tab by keyword, country and language. Export ranked video results with platform, channel, duration, upload date, thumbnails, and resolved video links across YouTube, TikTok, Facebook, Instagram and publisher sites.

- **URL**: https://apify.com/crawlyth-forge/google-videos-search.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Videos, Social media, SEO tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 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

## Google Videos Search Scraper: Videos Tab & Shorts

Search Google's **Videos** tab and **Short videos** tab by keyword, and get one clean row per ranked video result. The actor returns Google's ranked video cards — YouTube videos and Shorts, TikToks, Facebook and Instagram videos, Vimeo, Dailymotion and publisher videos — with the platform, channel, duration, publish date, thumbnail and the real video page link.

Use it for video SEO, cross-platform trend research, creator discovery and building watch lists from Google's own video rankings.

### What this actor does

- **Two Google video verticals:** the classic `Videos` tab and the `Short videos` tab, or both in one run.
- **Ranked results:** every row keeps its search query, tab, result page and position. Each query and tab keeps its own ranking, so the same video can appear under two searches with different ranks.
- **Cross-platform rows:** platform, domain, channel/creator, duration in text and seconds, publish date, snippet and video ID.
- **Resolved video links:** Google redirect links are followed to the real video page on the source platform.
- **Google filters:** country, language, time window, video length, source platform and SafeSearch.
- **Pagination:** follows Google's own result offsets up to the limit you set.
- **Empty fields are omitted** — no nulls, no placeholders, no fabricated engagement numbers.

### Output per video

- `recordType` — `video` or `shortVideo`
- `title` — video title or short-video caption as Google shows it
- `videoUrl` — real video page URL on the source platform
- `videoId` — platform video ID when it can be read from the URL
- `platform`, `domain` — platform label and source domain
- `channelName` — channel, creator or uploader
- `duration`, `durationSeconds` — duration as shown and in seconds
- `publishedText`, `publishedAt`, `publishedAtApproximate`, `publishedDaysAgo` — publish date as shown, ISO date when it can be read, and an approximate flag for relative dates
- `snippet` — Google's description snippet (Videos tab)
- `keyMomentsCount` — number of key moments Google lists for the video
- `thumbnailUrl` — Google's inline thumbnail image when the card carries one
- `previewUrl` — Google's short silent MP4 preview when the card carries one
- `isShort` — true for a Short or a Short videos tab row
- `isLive` — present when Google marks the result live
- `viewsText`, `viewCount`, `likesText`, `likeCount` — only when Google actually displays engagement on the card
- `query`, `searchTab`, `page`, `pagePosition`, `position` — search context and rank
- `searchUrl`, `sourceUrl`, `country`, `language` — provenance
- `scrapedAt` — UTC ISO timestamp

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` or `byUrl` |
| `searchQueries` | array | — | Keywords or phrases, one search each (mode=search) |
| `searchTab` | string | `videos` | `videos`, `shorts` or `both` (mode=search; both fills Videos first, then Short videos) |
| `startUrls` | array | — | Google video search URLs copied from the browser (mode=byUrl) |
| `gl` | string | `us` | Google country |
| `hl` | string | `auto` | Google interface language; auto matches the country |
| `timeRange` | string | `any` | `pastHour`, `pastDay`, `pastWeek`, `pastMonth`, `pastYear` |
| `videoDuration` | string | `any` | `short` (under 4 min), `medium` (4–20 min), `long` (over 20 min) |
| `platform` | string | `any` | YouTube, TikTok, Facebook, Instagram, Vimeo, Dailymotion, Pinterest, X, LinkedIn, Reddit, other |
| `safeSearch` | string | `off` | `off`, `moderate` or `active` |
| `maxItems` | integer | `50` | Total result cap (1–1000) |
| `maxPagesPerQuery` | integer | `10` | Result pages per query and tab (1–50) |
| `resolveVideoUrls` | boolean | `true` | Follow Google redirects to the real video URL |
| `includeErrorRows` | boolean | `false` | Emit one error row per failed search when nothing was returned |

#### Example: recent short cooking videos

```json
{
  "mode": "search",
  "searchQueries": ["cooking pasta"],
  "searchTab": "shorts",
  "gl": "us",
  "hl": "en",
  "timeRange": "pastWeek",
  "maxItems": 24
}
```

#### Example: long YouTube videos for a topic

```json
{
  "mode": "search",
  "searchQueries": ["machine learning tutorial", "python for beginners"],
  "searchTab": "videos",
  "platform": "youtube",
  "videoDuration": "long",
  "maxItems": 60,
  "maxPagesPerQuery": 5
}
```

#### Example: every platform in one run

```json
{
  "mode": "search",
  "searchQueries": ["air fryer recipes"],
  "searchTab": "both",
  "gl": "gb",
  "hl": "en",
  "maxItems": 40
}
```

#### Example: paste a Google search link

```json
{
  "mode": "byUrl",
  "startUrls": [
    { "url": "https://www.google.com/search?q=mechanical+keyboards&udm=vids&hl=en&gl=us" }
  ],
  "maxItems": 20
}
```

### Use cases

- **Video SEO** — see which videos and channels rank in Google for your keywords, and on which result page.
- **Cross-platform research** — compare YouTube, TikTok, Instagram and Facebook coverage for one topic.
- **Creator discovery** — find the channels and creators Google ranks in a niche.
- **Content calendar research** — collect recent videos in a time window for a market and language.
- **Watch-list building** — export video URLs with duration and publish dates into a CMS or spreadsheet.
- **Brand monitoring** — track the videos Google returns for a brand, product or event.

### FAQ

#### Does this return YouTube only?

No. Google's video tabs mix YouTube, YouTube Shorts, TikTok, Facebook, Instagram, Vimeo, Dailymotion, Pinterest, publisher sites and more. `platform` and `domain` say where each row comes from.

#### Are the video links the real platform links?

Yes. When Google hides the destination behind a redirect, the actor follows it and stores the real video page URL. If a redirect cannot be resolved, the row is still returned without `videoUrl` rather than with a broken link.

#### Why do some rows have no publish date?

Google only prints a date for some cards. When it prints a relative date such as "3 days ago", the actor computes an approximate ISO date and marks it with `publishedAtApproximate`. When Google prints no date, the date fields are omitted.

#### Why do some rows have no view count?

Google does not show views or likes on most video cards. The actor returns engagement fields only when Google actually prints them on the card; it never estimates or fabricates them.

#### What are key moments?

For some videos Google shows a collapsible "key moments" list. The actor returns how many key moments Google lists in `keyMomentsCount`. Chapter titles and timestamps are loaded by a separate interaction on Google's page, not in the public result card.

#### Why are thumbnails sometimes data URLs?

Google embeds the small thumbnail image directly in the result page. The actor returns that image as a `data:` URL when it is available, so it displays anywhere without a hotlink check. Many cards also carry a silent MP4 `previewUrl`.

#### How many results can I get?

Google usually exposes several result pages per search. Set `maxPagesPerQuery` and `maxItems`; the actor stops when the source runs out or your limit is reached, whichever comes first. Short videos tend to exhaust around 300–450 rows for broad searches.

#### Can I search a different country or language?

Yes. `gl` selects the Google market and `hl` the interface language. `hl: "auto"` uses the country's own language, which is usually the best match. Results are Google's logged-out rankings for that market.

#### Is this affiliated with Google or the video platforms?

No. This is an independent third-party actor that reads public search results. It is not affiliated with, endorsed by, or sponsored by Google or any video platform.

#### Do I need to set up a proxy?

No. The actor chooses a working connection to Google automatically. Just fill in the input and run it.

# Actor input Schema

## `mode` (type: `string`):

Search by keyword or paste Google video search URLs.

## `searchQueries` (type: `array`):

One or more keywords or phrases. Each query is searched separately (mode=search).

## `searchTab` (type: `string`):

Videos tab, Short videos tab, or both (mode=search).

## `startUrls` (type: `array`):

Paste URLs copied from Google's Videos or Short videos tab (mode=byUrl). The query and tab are read from each URL.

## `gl` (type: `string`):

Google country (gl) used for the result market.

## `hl` (type: `string`):

Google interface language (hl). Auto uses the country's own language.

## `timeRange` (type: `string`):

Limit results to videos published in this window.

## `videoDuration` (type: `string`):

Limit results by video duration.

## `platform` (type: `string`):

Keep videos from one platform or video host.

## `safeSearch` (type: `string`):

Google SafeSearch level for the search.

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

Hard cap on the total number of records returned.

## `maxPagesPerQuery` (type: `integer`):

How many result pages to fetch for each query and tab. Most searches stop earlier when Google runs out.

## `resolveVideoUrls` (type: `boolean`):

Resolve Google redirect links into the real video page URL on YouTube, TikTok, Facebook and other platforms.

## `includeErrorRows` (type: `boolean`):

Push one error row per failed search when no records were returned.

## Actor input object example

```json
{
  "mode": "search",
  "searchQueries": [
    "cooking pasta"
  ],
  "searchTab": "videos",
  "startUrls": [],
  "gl": "us",
  "hl": "en",
  "timeRange": "any",
  "videoDuration": "any",
  "platform": "any",
  "safeSearch": "off",
  "maxItems": 3,
  "maxPagesPerQuery": 1,
  "resolveVideoUrls": true,
  "includeErrorRows": false
}
```

# Actor output Schema

## `videos` (type: `string`):

Dataset containing all scraped Google video results.

# 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 = {
    "mode": "search",
    "searchQueries": [
        "cooking pasta"
    ],
    "searchTab": "videos",
    "startUrls": [],
    "gl": "us",
    "hl": "en",
    "timeRange": "any",
    "videoDuration": "any",
    "platform": "any",
    "safeSearch": "off",
    "maxItems": 3,
    "maxPagesPerQuery": 1,
    "resolveVideoUrls": true,
    "includeErrorRows": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/google-videos-search").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 = {
    "mode": "search",
    "searchQueries": ["cooking pasta"],
    "searchTab": "videos",
    "startUrls": [],
    "gl": "us",
    "hl": "en",
    "timeRange": "any",
    "videoDuration": "any",
    "platform": "any",
    "safeSearch": "off",
    "maxItems": 3,
    "maxPagesPerQuery": 1,
    "resolveVideoUrls": True,
    "includeErrorRows": False,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/google-videos-search").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 '{
  "mode": "search",
  "searchQueries": [
    "cooking pasta"
  ],
  "searchTab": "videos",
  "startUrls": [],
  "gl": "us",
  "hl": "en",
  "timeRange": "any",
  "videoDuration": "any",
  "platform": "any",
  "safeSearch": "off",
  "maxItems": 3,
  "maxPagesPerQuery": 1,
  "resolveVideoUrls": true,
  "includeErrorRows": false
}' |
apify call crawlyth-forge/google-videos-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/google-videos-search"
        }
    }
}
```

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/Hu96spLwif44NLogB/builds/nQ4PklOXtNddeOJGL/openapi.json
