# Shopee Video Scraper (`natanielsantos/shopee-video-scraper`) Actor

Easily scrape video data from Shopee. Scrape using URLs, get non watermarked play URLs, cover URL, author data, engagement data and more

- **URL**: https://apify.com/natanielsantos/shopee-video-scraper.md
- **Developed by:** [Nataniel Santos](https://apify.com/natanielsantos) (community)
- **Categories:** Videos, E-commerce, Automation
- **Stats:** 6 total users, 4 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 videos

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### What does Shopee Video Scraper do?

Shopee Video Scraper is an Apify actor that scrapes Shopee videos and their metadata. It extracts the video URLs (with and without watermark), cover image, duration, like count, comment count, author username, author avatar, and more.

### Features

- 🎥 Scrape video data using URLs
- ⚡ Fast and reliable scraping
- 🧑‍💻 Perfect for non-technical users
- 🔒 No need for authentication
- 🔄 Automatically handles retries for failed requests
- 📦 Outputs data in JSON format for easy integration with other tools

### 🎯 Who Is This For?

- Content creators looking to analyze Shopee videos
- Marketers researching video trends on Shopee
- Developers needing Shopee video data for their applications
- Data analysts conducting social media research

### ⬇️ What You Need to Provide

- 🔗 A list of Shopee Video URLs to scrape data from.
  Example URLs:
  - `https://shp.ee/3rte2fmk?smtt=0.0.9`
  - `https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA`

### 📦 What You’ll Get (Output)

The actor outputs a dataset containing the following fields for each video:

- `watermarkUrl`: URL of the video with watermark
- `noWatermarkUrl`: URL of the video without watermark
- `watermarkCoverUrl`: URL of the cover image of the video
- `duration`: Duration of the video in milliseconds
- `musicMuted`: Boolean indicating if the video has muted music
- `likeCount`: Number of likes on the video
- `commentCount`: Number of comments on the video
- `authorUsername`: Username of the video author
- `authorAvatar`: URL of the author's avatar image
- `url`: The original URL of the video
- `inputUrl`: The input URL provided for scraping

### 📥 Video Output Example

```json
{
    "watermarkUrl": "https://down-bs-br.vod.susercontent.com/api/v4/11110124/mms/br-11110124-6v6x6-mo4v3xjua29t71.16003551778554834.6087.mp4",
    "noWatermarkUrl": "https://down-bs-br.vod.susercontent.com/api/v4/11110124/mms/br-11110124-6v6x6-mo4v3xjua29t71.mp4",
    "watermarkCoverUrl": "https://mms.img.susercontent.com/br-11134114-820lz-mo4va5feccg011",
    "duration": 22967,
    "musicMuted": false,
    "likeCount": 1,
    "commentCount": 0,
    "authorUsername": "vaishop__",
    "authorAvatar": "https://cf.shopee.com.br/filebr-11134233-81z1k-mgi9wyvixb0gd1?auto=format&fit=max&w=96",
    "url": "https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA==",
    "inputUrl": "https://shp.ee/3rte2fmk?smtt=0.0.9"
}
```

### 💲How much will scraping Shopee Videos cost you?

The pricing changes according to your Apify plan.

<table>
    <tr>
        <th>Plan</th>
        <th>Price per 1,000 videos</th>
    </tr>
    <tr>
        <td>Free</td>
        <td>&#36;5.00</td>
    </tr>
    <tr>
        <td>Starter</td>
        <td>&#36;2.00</td>
    </tr>
    <tr>
        <td>Scale</td>
        <td>&#36;1.50</td>
    </tr>
    <tr>
        <td>Business</td>
        <td>&#36;1.20</td>
    </tr>
</table>

💡 **Free Plan** users can scrape up to 20 videos per run. To remove this limit, become a paying user by upgrading your Apify plan: [View Pricing](https://apify.com/pricing?fpr=3sjvz)

### 🧩 Integrations and Shopee Video Scraper

Shopee Video Scraper can be connected with almost any cloud service or web app thanks to [integrations on the Apify platform](https://apify.com/integrations). You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, [and more](https://docs.apify.com/integrations). Or you can use [webhooks](https://docs.apify.com/integrations/webhooks) to carry out an action whenever an event occurs, e.g. get a notification whenever Shopee Video Scraper successfully finishes a run.

### 🔌Using Shopee Video Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.

To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the [Apify API reference](https://docs.apify.com/api/v2) docs for full details or click on the [API tab](https://apify.com/natanielsantos/shopee-video-scraper/api) for code examples.

### 💬 Giving feedback

We’re always working on improving the performance of our Actors. So if you’ve got any technical feedback for Shopee Video Scraper or simply found a bug, please create an issue on the Actor’s [Issues tab](https://apify.com/natanielsantos/shopee-video-scraper/issues/open) in Apify Console.
📧 Email: nathan.santos159@hotmail.com

# Actor input Schema

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

The list of URLs to start scraping from. The URL format accepted are: `https://x.shp.ee/xxxxx` and `https://sv.shopee.x/share-video/xxxxx`.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://shp.ee/3rte2fmk?smtt=0.0.9"
    },
    {
      "url": "https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA"
    }
  ]
}
```

# Actor output Schema

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

No description

# 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 = {
    "startUrls": [
        {
            "url": "https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("natanielsantos/shopee-video-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 = { "startUrls": [{ "url": "https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA" }] }

# Run the Actor and wait for it to finish
run = client.actor("natanielsantos/shopee-video-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 '{
  "startUrls": [
    {
      "url": "https://sv.shopee.com.br/share-video/riOOXtljCQDsUBBjAAAAAA"
    }
  ]
}' |
apify call natanielsantos/shopee-video-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,natanielsantos/shopee-video-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/e2rCDydpeWyhv6nKS/builds/dl3hELTF9umyCuKUV/openapi.json
