# Dailymotion 视频详情 API (dailymotion.video)

- Canonical page: [https://everyinfra.com/dailymotion-api/video](https://everyinfra.com/dailymotion-api/video?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "dailymotion", "action": "video", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

Dailymotion 视频详情按单条视频链接 `url` 读取一个视频的基本信息，返回一个对象：标题、简介、时长、播放点赞评论数、分类、标签、是否直播、缩略图、创建时间，以及它所在频道的 ID、名称和链接。核实一条被引用的视频，或补全从别处拿到的视频链接，用它读一次就够。

`url` 要传视频页的完整链接，示例是 https://www.dailymotion.com/video/x8da13x，频道和播放列表的链接不接受。`category` 取原平台的分类名称，没有跨平台归一，`tags` 无标签时为空数组；`created_at` 的格式和别处的发布时间一致。

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=dailymotion&action=video

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Dailymotion 视频页完整链接，用于读取单条视频元数据；不接受频道或播放列表链接。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| description | 简介或描述，通常比 text 短。 |
| duration_seconds | 时长，单位秒。非视频/音频内容为 null。 |
| duration_sec | platform-native meaning |
| view_count | 浏览/播放数。null 表示不公开，不等于 0。 |
| like_count | 点赞数。null 表示该平台或该接口不公开此数据，不等于 0。 |
| comment_count | 评论数。null 表示不公开，不等于 0。 |
| category | 分类名称，取值为原平台的分类体系，未做跨平台归一。 |
| tags | 标签数组。无标签时为空数组，不是 null。 |
| is_live | 是否为直播内容。 |
| thumbnail_url | 缩略图链接，分辨率低于 image_url。 |
| channel_id | 频道 ID。 |
| channel_name | 频道名。 |
| channel_url | 频道链接。 |
| created_at | 创建时间，格式同 posted_at。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "dailymotion",
  "action": "video",
  "params": {
    "url": "https://www.dailymotion.com/video/x8da13x"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "dailymotion",
        "action": "video",
        "params": {
            "url": "https://www.dailymotion.com/video/x8da13x",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-10-24T18:28:34Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "dailymotion",
  "action": "video",
  "results": {
    "id": "x8da13x",
    "url": "https://www.dailymotion.com/video/x8da13x",
    "title": "Artemis 1: Everything you need to know about NASA’s first Moon mission launch in 50 years",
    "description": "The Artemis 1 mission is a crucial unmanned test flight, which comes ahead of the crewed missions Artemis 2 and 3.",
    "duration_seconds": 44,
    "view_count": 1615568,
    "like_count": 32,
    "comment_count": 0,
    "category": "NEWS",
    "tags": [
      "NASA",
      "Space",
      "Moon"
    ],
    "is_live": false,
    "thumbnail_url": "https://s2.dmcdn.net/v/UAN4T1g3RdopsDgwB/x720",
    "channel_id": "xm13vs",
    "channel_name": "euronews (in English)",
    "channel_url": "https://www.dailymotion.com/euronews-en",
    "created_at": "2022-08-26T16:58:28+00:00",
    "platform": "dailymotion",
    "duration_sec": 44
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 频道链接和播放列表链接能传吗？

不能。`url` 只接受单条视频页的完整链接，频道和播放列表的链接都不接受。要读整个频道的视频，用频道视频那一页，它会把频道下的视频整批列出来，视频详情只返回一个对象。

### 怎么从一条视频找到它所在频道的其他视频？

读详情拿到 `channel_url`，把它交给频道视频接口，就能列出这个频道的其他视频；`channel_id` 和 `channel_name` 可以用来在自己的表里标注来源。

### `like_count` 和 `comment_count` 为 null 是没人点赞评论吗？

不是，null 表示不公开，不等于 0，`view_count` 同理。统计互动率时先把 null 和 0 分开，别把 null 当 0 参与平均。

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=dailymotion
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
