# Dailymotion API

> Dailymotion video search results and details are available as a workflow and API.

Dailymotion's Search videos method finds public videos using required keywords, with optional sorting by relevance, newest upload, or most views. Results include video titles, views, lengths, upload dates, channel names, identifiers, links, and thumbnails.

- Page: https://fous.com/workflows/dailymotion
- Handle: `@dailymotion`
- Category: [Entertainment](https://fous.com/workflows/category/entertainment)
- Source website: https://dailymotion.com
- Last verified: Sep 29, 2026
- Fous is not affiliated with Dailymotion.

## Methods

### Search videos

Operation `search_videos`, version 1. 1 credit per call.

Search Dailymotion videos by keywords, ordered by relevance, newest upload, or most views. Returns up to 100 public results; Dailymotion may match videos loosely to search words.

**Input**

| Field | Type | Required | Example | Description |
|---|---|---|---|---|
| `sort` | string | no | `"most_recent"` | Order results by relevance, newest upload, or most views. For example, most_recent. |
| `query` | string | yes | `"champions league highlights"` | Words to search for, such as champions league highlights. |
| `max_results` | integer | no | `20` | Maximum number of videos to return, for example 20. |

**Input schema**

```json
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "enum": [
        "relevance",
        "most_recent",
        "most_viewed"
      ],
      "type": "string",
      "default": "relevance",
      "examples": [
        "most_recent"
      ],
      "description": "Order results by relevance, newest upload, or most views. For example, most_recent."
    },
    "query": {
      "type": "string",
      "examples": [
        "champions league highlights"
      ],
      "minLength": 1,
      "description": "Words to search for, such as champions league highlights."
    },
    "max_results": {
      "type": "integer",
      "default": 20,
      "maximum": 100,
      "minimum": 1,
      "examples": [
        20
      ],
      "description": "Maximum number of videos to return, for example 20.",
      "x-fous-developer": true
    }
  },
  "additionalProperties": false,
  "examples": [
    {
      "query": "champions league highlights"
    },
    {
      "sort": "most_recent",
      "query": "cat",
      "max_results": 10
    },
    {
      "sort": "most_viewed",
      "query": "cat",
      "max_results": 100
    }
  ]
}
```

**Output**

| Field | Type | Example | Description |
|---|---|---|---|
| `videos` | array |  |  |
| `videos[].title` | string | `"Uefa champions league highlights"` |  |
| `videos[].views` | integer or null | `965` |  |
| `videos[].length` | string or null | `"45:39"` |  |
| `videos[].video_id` | string | `"xy2yjh"` |  |
| `videos[].video_link` | string | `"https://www.dailymotion.com/video/xy2yjh"` |  |
| `videos[].upload_date` | string or null | `"2013-03-09"` |  |
| `videos[].channel_name` | string or null | `"warrant"` |  |
| `videos[].length_seconds` | integer or null | `2739` |  |
| `videos[].thumbnail_link` | string or null | `"https://s1.dmcdn.net/v/3QNrT1emshxms-BDX"` |  |

**Example input**

```json
{
  "query": "champions league highlights"
}
```

**Example output**

```json
{
  "videos": [
    {
      "title": "Uefa champions league highlights",
      "views": 965,
      "length": "45:39",
      "video_id": "xy2yjh",
      "video_link": "https://www.dailymotion.com/video/xy2yjh",
      "upload_date": "2013-03-09",
      "channel_name": "warrant",
      "length_seconds": 2739,
      "thumbnail_link": "https://s1.dmcdn.net/v/3QNrT1emshxms-BDX"
    },
    {
      "title": "VIDEO | CAF Champions League Highlights:",
      "views": 11,
      "length": "8:06",
      "video_id": "x8tr0ms",
      "video_link": "https://www.dailymotion.com/video/x8tr0ms",
      "upload_date": "2024-03-02",
      "channel_name": "beIN SPORTS USA",
      "length_seconds": 486,
      "thumbnail_link": "https://s1.dmcdn.net/v/VpvZq1gTe7wm2_TBx"
    },
    {
      "title": "watch The UEFA Champions League Uefa Champions League Highlights online",
      "views": 39,
      "length": "0:29",
      "video_id": "x1cmscf",
      "video_link": "https://www.dailymotion.com/video/x1cmscf",
      "upload_date": "2014-02-18",
      "channel_name": "Rath Julie",
      "length_seconds": 29,
      "thumbnail_link": "https://s1.dmcdn.net/v/4tcZ_1g4RXlCdN2y2"
    }
  ]
}
```

## Quick start

Call the API with a Fous API key (`FOUS_API_KEY`). To create one, turn on Developer mode in Fous Studio, then open Keys & connections → API keys (https://app.fous.com/keys).

```bash
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
: "${FOUS_API_KEY:?Set FOUS_API_KEY before running this example}"

curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 120 \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "api": "@dailymotion",
  "visibility": "public",
  "operation": "search_videos",
  "version": 1,
  "input": {
    "query": "champions league highlights"
  },
  "response": {
    "format": "json"
  }
}'
```

```python
# Save as fous.py and run with python3 fous.py. No packages needed.
# First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
import json
import os
import urllib.error
import urllib.request

api_key = os.environ.get("FOUS_API_KEY")
if not api_key:
    raise RuntimeError("Set FOUS_API_KEY before running this example")

body = json.loads("{\n  \"api\": \"@dailymotion\",\n  \"visibility\": \"public\",\n  \"operation\": \"search_videos\",\n  \"version\": 1,\n  \"input\": {\n    \"query\": \"champions league highlights\"\n  },\n  \"response\": {\n    \"format\": \"json\"\n  }\n}")
request = urllib.request.Request(
    "https://api.fous.com/v1/query",
    data=json.dumps(body).encode("utf-8"),
    headers={
        "Authorization": f"Bearer {api_key}",
        "Content-Type": "application/json",
    },
    method="POST",
)
try:
    with urllib.request.urlopen(request, timeout=120) as response:
        result = json.load(response)
except urllib.error.HTTPError as error:
    raise RuntimeError(f"HTTP {error.code}: {error.read().decode('utf-8', errors='replace')}") from error
if result.get("success") is False:
    raise RuntimeError(result.get("error", {}).get("message", "Request failed"))
print(json.dumps(result["data"]["output"], indent=2))
```

```typescript
// Save as fous.mts and run with npx tsx fous.mts.
// First set your key: export FOUS_API_KEY='YOUR_FOUS_API_KEY'
const apiKey = process.env.FOUS_API_KEY;
if (!apiKey) throw new Error("Set FOUS_API_KEY before running this example");

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(120_000),
  body: JSON.stringify({
  "api": "@dailymotion",
  "visibility": "public",
  "operation": "search_videos",
  "version": 1,
  "input": {
    "query": "champions league highlights"
  },
  "response": {
    "format": "json"
  }
}),
});
type ApiResult = { success: boolean; data?: { output: unknown }; error?: { message: string } };
const result: ApiResult = await response.json();
if (!response.ok || result.success === false) {
  throw new Error(result.error?.message ?? `HTTP ${response.status}`);
}
if (!result.data) throw new Error("Missing API response data");
console.log(result.data.output);
```

Or describe the data in plain language: send `{"api":"@dailymotion","prompt":"Describe the data you need, with every detail"}` to the same URL. Fous fills in the input, runs the method that fits and returns only the fields you asked for; `data.route.calls[].request` is the exact call it made. Routing is free; the run costs the same.

## Use cases

- Find videos about a topic
- Compare video view counts
- Review recent uploads for a search
- Compare video lengths and channels
- Collect video links and thumbnails

## FAQ

### Is Fous affiliated with Dailymotion?

No. Fous is not affiliated with Dailymotion. This workflow reads the public dailymotion.com website and returns its data.

### How much does it cost?

Each run costs 1 credit. With pay-as-you-go, a credit costs 1¢; monthly plans cost less per credit.

### Do I need a Dailymotion account?

No. You only need a Fous account.

### How current is the data?

Fous gets the data from dailymotion.com when you run it; repeating the same request within a day may return the saved result. Fous checks this workflow automatically; it last passed a check on Sep 29, 2026.

### How do I find videos about a topic?

Use Search videos with the topic as the required query.

### Can I sort results by upload date or views?

Yes. Search videos accepts sorting by newest upload or most views, as well as relevance.

### What details does each video include?

Search videos returns titles, views, lengths, upload dates, channel names, video identifiers, links, and thumbnails.

## Related

- [Daily Mail API](https://fous.com/workflows/daily-mail.md): Daily Mail provides ordered section headlines with available bylines and times, searches up to 200 published articles excluding syndicated wire stories, and reads public article text and details, including latest live-blog entries shown.
- [YouTube API](https://fous.com/workflows/youtube.md): YouTube returns public video, caption, comment, channel and upload details, plus the latest weekly Top Songs chart; inferred dates and some counts may be approximate.
- [Vimeo API](https://fous.com/workflows/vimeo.md): Watch and share videos on Vimeo.
- [Pexels API](https://fous.com/workflows/pexels.md): Pexels offers free stock photos and videos, with searches returning up to 80 results in Pexels search order.
- [Twitch API](https://fous.com/workflows/twitch.md): Twitch returns channel profiles, live status, up to 10 broadcasts, top streams, viewer-ranked categories, up to 100 public videos/clips, and 1–30-day schedules; counts change.
- [Al Jazeera API](https://fous.com/workflows/al-jazeera.md): Al Jazeera provides news and analysis, current section headlines and article details, plus keyword-searchable articles; searches and live blogs may show only leading matches or latest updates.
- [Spotify API](https://fous.com/workflows/spotify.md): Spotify returns public artist profiles, album credits and ordered tracks, song details and play counts, up to 500 playlist songs, keyword results, and country-based podcast charts; dates and regional options vary.
- [DuckDuckGo API](https://fous.com/workflows/duckduckgo.md): Private web search and instant answers.
- [All Entertainment workflows](https://fous.com/workflows/category/entertainment)
