# 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/tools/dailymotion
- Handle: `@dailymotion`
- Category: [Entertainment](https://fous.com/tools/category/entertainment)
- Source website: https://dailymotion.com
- Last verified: Sep 29, 2026

## Methods

### Search videos

Operation `search_videos`, version 1. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.

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

Replace `YOUR_API_KEY` with a Fous API key. To create one, open Developers at the bottom of Fous Studio, turn on Developer mode, then go to API keys (https://app.fous.com/keys). Change the values in `input` to run the same tool on new data.

```bash
curl 'https://api.fous.com/v1/query' \
  --fail-with-body --silent --show-error --max-time 180 \
  -H "Authorization: Bearer YOUR_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.
import json
import urllib.error
import urllib.request

api_key = "YOUR_API_KEY"

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=180) 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.
const apiKey = "YOUR_API_KEY";

const response = await fetch("https://api.fous.com/v1/query", {
  method: "POST",
  headers: {
    "Authorization": `Bearer ${apiKey}`,
    "Content-Type": "application/json",
  },
  signal: AbortSignal.timeout(180_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);
```

## Use from an AI assistant

Connect this tool to Claude Code, Claude Desktop, Cursor, VS Code, Codex and any MCP client as its own MCP server. Each method is a typed tool whose arguments are the method’s input.

- Server URL: `https://api.fous.com/mcp/tools/dailymotion`
- Authorization: `Authorization: Bearer <Fous API key>`

**Tools**

- `search_videos`: Search videos. 1 credit per completed call. Failed calls without a completed billing receipt are free; completed work can remain charged if delivery is interrupted.
- `fous_get_run`: the result of a run that was still going, by its `request_id`. Free.

Claude Code:

```bash
claude mcp add --scope user --transport http fous-dailymotion https://api.fous.com/mcp/tools/dailymotion --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"
```

To give the assistant every tool, connect `https://api.fous.com/mcp`: it finds one with `fous_search_tools` and runs it with `fous_run_tool`. Setup for other clients: https://fous.com/llms-full.txt.

## 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

### Can I run it with my own inputs?

Yes. Change the inputs in Studio and press Run, or send new inputs from your code, or ask a connected AI assistant.

### Can I call this Dailymotion tool as an API?

Yes. Send a POST request to /v1/query with your Fous API key and the inputs, and get JSON back.

### How much does it cost?

Each completed run costs 1 credit. Failed runs without a completed receipt are free; completed work can remain charged if delivery is interrupted. 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. Some results are reused for up to 24 hours, and results that use your account or key are never reused. It was last verified 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/tools/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/tools/youtube.md): YouTube returns public video, caption, comment and channel details, company channels, and the latest weekly Top Songs chart; inferred dates and some counts may be approximate.
- [Vimeo API](https://fous.com/tools/vimeo.md): Watch and share videos on Vimeo.
- [Pexels API](https://fous.com/tools/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/tools/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/tools/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/tools/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/tools/duckduckgo.md): Private web search and instant answers.
- [All Entertainment tools](https://fous.com/tools/category/entertainment)
