# Dailymotion Video Downloader (`maximedupre/dailymotion-downloader`) Actor

Get source-hosted video links from public Dailymotion pages or one search term. Choose a preferred quality and receive video details, stream options, and not-found reports.

- **URL**: https://apify.com/maximedupre/dailymotion-downloader.md
- **Developed by:** [Maxime Dupré](https://apify.com/maximedupre) (community)
- **Categories:** Videos, Developer tools, Automation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.65 / 1,000 video links

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

### 🎬 Find Dailymotion video links by URL or search

For developers, researchers, and media teams who need public Dailymotion videos, this Actor returns source-hosted media links, video details, and available stream options in a dataset. Add known video URLs or one search term, choose a preferred quality, and use the links in your own workflow.

- Get source-hosted links and video details from a public page with **[Dailymotion Video Downloader](https://apify.com/maximedupre/dailymotion-downloader/examples/dailymotion-video-downloader)**.
- Choose a preferred 720p stream when Dailymotion provides one with **[Dailymotion Video Download 720p](https://apify.com/maximedupre/dailymotion-downloader/examples/dailymotion-video-download-720p)**.
- Choose a preferred 1080p stream when Dailymotion provides one with **[Dailymotion Video Download 1080p](https://apify.com/maximedupre/dailymotion-downloader/examples/dailymotion-video-download-1080p)**.
- Find public Dailymotion videos from one search term with **[Dailymotion Video Search](https://apify.com/maximedupre/dailymotion-downloader/examples/dailymotion-video-search)**.
- Compare available stream options before choosing quality with **[Best Dailymotion Downloader](https://apify.com/maximedupre/dailymotion-downloader/examples/best-dailymotion-downloader)**.

#### 📦 Source links, video details, and stream options

The dataset contains one row for each video found from the submitted URLs or search term. Each row includes a source-hosted `downloadUrl`, the public Dailymotion page, video identity, uploader details, thumbnail, duration, the selected quality, and available stream variants.

Source-hosted links are returned by Dailymotion. Their availability is controlled by the source, so use important links in your workflow soon after the run.

#### ▶️ Run a Dailymotion video lookup

**Run steps**

1. Choose `Video URLs` and add one or more public Dailymotion video URLs, or choose `Video search` and enter one search term.
2. Optionally choose a preferred video quality.
3. For Video search, set `Maximum videos` if you want a work limit. Leave it empty to return all available results until the source is exhausted.
4. Start the Actor and open the `dataset` output for video rows.

**One target per run**

Choose one value for `target` in each run. Fields for the other target are ignored. Search uses one term at a time.

#### ⚙️ Input

**Input fields**

`target` is required. The other fields are optional and are used according to the selected target.

| Field | Type | What it does |
|---|---|---|
| `target` | string | Choose `Video URLs` to process listed pages or `Video search` to find videos from one search term. |
| `videoUrls` | array of objects | Holds one or more public Dailymotion video URLs. This field is used for `Video URLs` and ignored for `Video search`. |
| `videoUrls[].url` | string | A public Dailymotion video page URL. |
| `searchTerm` | string | One term used to find public Dailymotion videos. This field is used for `Video search` and ignored for `Video URLs`. |
| `maxItems` | integer | Optional work limit for Video search. The Actor stops after this many videos. Leave it empty to return all available results until the source is exhausted. It is ignored for Video URLs. |
| `preferredQuality` | string | Quality preference for the returned video links. Suggested values include `best`, `144p`, `240p`, `380p`, `480p`, `720p`, and `1080p`. If the choice is not available, another available quality is used. |

**Example input**

This is the public input from a successful current-beta run:

```json
{
  "target": "videoUrls",
  "videoUrls": [
    {
      "url": "https://www.dailymotion.com/video/x8n1u2t"
    }
  ]
}
```

#### 🧾 Output

**Run outputs**

| Field | Type | What it does |
|---|---|---|
| `dataset` | string URL | Links to the dataset with successful video rows. |
| `errors` | string URL | Links to the JSON report for video URLs that were not found. |

**Video result row**

Each successful dataset row uses this shape. Values such as metadata or stream details are included when Dailymotion exposes them.

| Field | Type | What it does |
|---|---|---|
| `downloadUrl` | string | Directly usable source-hosted media link for the selected video stream. |
| `sourceUrl` | string | Public Dailymotion page URL for the video. |
| `discoveryInput` | string | Submitted video URL or search term that led to this row. |
| `videoId` | string | Dailymotion ID for the video. |
| `title` | string | Video title when available. |
| `uploader` | object | Uploader details when available. |
| `uploader.name` | string | Display name of the uploader. |
| `uploader.profileUrl` | string | Public Dailymotion profile URL of the uploader. |
| `thumbnailUrl` | string | Public image URL for the video thumbnail. |
| `durationSeconds` | number | Video duration in seconds when available. |
| `selectedQuality` | string | Quality of the stream used for `downloadUrl`. |
| `streams` | array of objects | Available source-hosted video streams and their technical details. |
| `streams[].url` | string | Direct source-hosted media link for a stream. |
| `streams[].quality` | string | Quality label for the stream. |
| `streams[].resolution` | string | Video resolution for the stream. |
| `streams[].format` | string | Media format for the stream. |
| `streams[].bandwidthBps` | integer | Stream bandwidth in bits per second. |
| `streams[].videoCodec` | string | Video codec used by the stream. |
| `streams[].audioCodec` | string | Audio codec used by the stream. |

**Example video row**

This is a complete genuine row from a successful current-beta run:

```json
{
  "downloadUrl": "https://vod3.cf.dmcdn.net/sec2(B8HcxeGr7nQ-AjaYYwYFX1iplyIfgapGnkFU8cOfsgW_KaUu_BwyZ95OySOWfzJzx6FhT-8tyEmnJIDlMVkH9bus69X8u0b80UtowUQH-8TohjwOhlcpSFQB1hmQFBiswOQbhVQXQvLn94Z6-fWVcO_gGEzR2dMATXRNmOFCk_tQmm8_X3p6aOEgno-wQ3qN)/video/312/644/522446213_mp4_h264_aac_hq_2.m3u8#cell=cf3",
  "sourceUrl": "https://www.dailymotion.com/video/x8n1u2t",
  "discoveryInput": "https://dai.ly/x8n1u2t",
  "videoId": "x8n1u2t",
  "selectedQuality": "480p",
  "streams": [
    {
      "url": "https://vod3.cf.dmcdn.net/sec2(B8HcxeGr7nQ-AjaYYwYFX1iplyIfgapGnkFU8cOfsgW_KaUu_BwyZ95OySOWfzJzx6FhT-8tyEmnJIDlMVkH9bus69X8u0b80UtowUQH-8TohjwOhlcpSFQB1hmQFBiswOQbhVQXQvLn94Z6-fWVcO_gGEzR2dMATXRNmOFCk_tQmm8_X3p6aOEgno-wQ3qN)/video/312/644/522446213_mp4_h264_aac_hq_2.m3u8#cell=cf3",
      "quality": "480p",
      "resolution": "848x480",
      "format": "m3u8",
      "bandwidthBps": 836280,
      "videoCodec": "avc1.64001f",
      "audioCodec": "mp4a.40.2"
    },
    {
      "url": "https://vod3.cf.dmcdn.net/sec2(NSbtOJUnOqq8lyeEDCvK3LDh6qEAMoKy8zf39-nq2XcerI8LcMVPOsD3gfuKLvPgcVwjeVrXmwdpvTwwLETZSxvI7TD1A_GEMdbRHLZK_dAzx630r4Xvlzg0NcWxbw-xCKEU3J05M9gAnM0ozk0QtY3L1UkRgByceLRfbWkigtw)/video/312/644/522446213_mp4_h264_aac_2.m3u8#cell=cf3",
      "quality": "288p",
      "resolution": "512x288",
      "format": "m3u8",
      "bandwidthBps": 460560,
      "videoCodec": "avc1.42001e",
      "audioCodec": "mp4a.40.2"
    },
    {
      "url": "https://vod3.cf.dmcdn.net/sec2(fQIfqinw-0Or2aaDe-mqnDjzvh5cBCO4wJCjRdSp3Y1UUpsb8mN33ks40rhc5cIRDL5-s8k-cz6bLchQIx0W6I5Ur2jaHxRqzm1ivaPHIRJQQirtMdiJwmja4ovAutothwzwphoNqumDfkv5XtzmiXpJlSVssvPOJlwkKBgUP4wMKWfyUm74PJH7U1JiKIiA)/video/312/644/522446213_mp4_h264_aac_hd_2.m3u8#cell=cf3",
      "quality": "720p",
      "resolution": "1280x720",
      "format": "m3u8",
      "bandwidthBps": 2149280,
      "videoCodec": "avc1.64001f",
      "audioCodec": "mp4a.40.2"
    }
  ],
  "title": "National Geographic: Area 51 Declassified | movie | 2010 | Official Trailer",
  "uploader": {
    "name": "JustWatch",
    "profileUrl": "https://www.dailymotion.com/justwatch"
  },
  "thumbnailUrl": "https://s1.dmcdn.net/v/V8-M51gRgDCZfI25w/x1080",
  "durationSeconds": 30
}
```

**Not found URL report**

| Field | Type | What it does |
|---|---|---|
| `url` | string | The submitted video URL that was not found. |
| `status` | string | Status for the URL. |
| `message` | string | Error message for the URL. |

#### 💳 Pricing

Pay-per-event pricing applies to each public Dailymotion video saved with source-hosted media links. See the Pricing tab for the current event price.

#### 🔌 Integrations

Use Apify Console to start a run and the Apify API to read the dataset or the not-found report. You can also export the dataset after a run.

https://www.youtube.com/watch?v=bNACk1\_S\_6w\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=4

#### ❓ FAQ

##### What if my preferred quality is not available?

Quality is a preference. The Actor uses another available quality when your choice is not available. The `selectedQuality` field shows the quality used for `downloadUrl`.

##### Can I process several Dailymotion video URLs in one run?

Yes. Add one or more public video URLs. The Actor processes the submitted list subject to source availability and run capacity.

##### Can I use Video URLs and Video search together?

No. Choose one `target` value for each run. The field for the other choice is ignored, and Video search uses one search term.

##### What happens when a video URL is not found?

The `errors` output links to a JSON report with the missing URL, its status, and its error message.

##### Does the Actor create or store media files?

No. It returns source-hosted media links. It does not create, transcode, store, or mirror MP4 or other media copies.

##### Can it process private or login-only videos?

No. It works with publicly reachable videos without login state. It does not bypass private, geo-restricted, or access-controlled videos.

##### Do I need a Dailymotion login?

No login state is needed for publicly reachable videos.

### 📝 Changelog

**0.0: Initial release**

### 🆘 Support

For issues, questions, or feature requests, [file a ticket](https://console.apify.com/actors/maximedupre~dailymotion-downloader/issues) and I'll fix or implement it in less than 24h 🫡

### 🔗 Related Actors

- [Facebook Media Downloader](https://apify.com/maximedupre/facebook-media-downloader) gets direct source-hosted links and public details for Facebook videos, reels, and photos.
- [YouTube Shorts Downloader](https://apify.com/maximedupre/youtube-shorts-downloader) gets quality-specific media links and metadata for public YouTube Shorts URLs.
- [Rumble Video Downloader](https://apify.com/maximedupre/rumble-video-downloader) returns playable media variants and video details from public Rumble URLs.
- [Instagram Downloader API](https://apify.com/maximedupre/instagram-downloader-api) returns direct media links from public Instagram posts, reels, and TV links.
- [Pinterest Video Downloader](https://apify.com/maximedupre/pinterest-video-downloader) returns public pin video and image links with media variants.

**Made with ❤️ by Maxime Dupré**

# Actor input Schema

## `target` (type: `string`):

Choose whether to use public video URLs or one search term.

## `videoUrls` (type: `array`):

Add one or more public Dailymotion video URLs. Use this field when Video source is Video URLs. It is ignored for Video search.

## `searchTerm` (type: `string`):

Enter one search term to find public Dailymotion videos. Use this field when Video source is Video search. It is ignored for Video URLs.

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

Optional work limit for Video search. The Actor stops after this many videos. For Video URLs, this field is ignored. Leave it empty to return all available results until the source is exhausted.

## `preferredQuality` (type: `string`):

Optional quality preference for returned video links. Choose a suggestion or enter another quality. If that quality is not available, the Actor uses another available quality.

## Actor input object example

```json
{
  "target": "videoUrls",
  "videoUrls": [
    {
      "url": "https://www.dailymotion.com/video/x8n1u2t"
    }
  ]
}
```

# Actor output Schema

## `dataset` (type: `string`):

Link to the dataset with successful video results.

## `errors` (type: `string`):

Link to the JSON report with each missing URL, its status, and its error message.

# 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 = {
    "target": "videoUrls",
    "videoUrls": [
        {
            "url": "https://www.dailymotion.com/video/x8n1u2t"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("maximedupre/dailymotion-downloader").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 = {
    "target": "videoUrls",
    "videoUrls": [{ "url": "https://www.dailymotion.com/video/x8n1u2t" }],
}

# Run the Actor and wait for it to finish
run = client.actor("maximedupre/dailymotion-downloader").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 '{
  "target": "videoUrls",
  "videoUrls": [
    {
      "url": "https://www.dailymotion.com/video/x8n1u2t"
    }
  ]
}' |
apify call maximedupre/dailymotion-downloader --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maximedupre/dailymotion-downloader"
        }
    }
}

```

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/byRfFHchwYMMrTZr0/builds/OLg4fdeunT2sOydYI/openapi.json
