# Dailymotion 频道视频 API (dailymotion.channel_videos)

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

Dailymotion 频道视频按频道页链接 `url` 列出这个频道下的视频，每条带标题、简介 `description`、时长、播放点赞评论数、分类 `category`、标签 `tags`、是否直播 `is_live`、缩略图、创建时间 `created_at`，以及所属频道的 ID、名称和链接。盘点一个媒体频道发了什么、追踪竞品频道的更新，从这里取数。

`url` 要传频道页的完整链接，不能传单条视频链接。频道视频默认给 20 条，最多 100 条，想一次多拿就把 `limit` 调到 100。拿到一批视频后按 `category` 和 `tags` 归类，就能看出这个频道主要做哪些题材；`category` 沿用 Dailymotion 自己的分类体系。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Dailymotion 频道页完整链接，用于列出该频道的视频；不是单条视频链接。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## 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": "channel_videos",
  "params": {
    "url": "https://www.dailymotion.com/euronews-en"
  }
}'
```

```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": "channel_videos",
        "params": {
            "url": "https://www.dailymotion.com/euronews-en",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "dailymotion",
  "action": "channel_videos",
  "results": [
    {
      "id": "xbd8npa",
      "url": "https://www.dailymotion.com/video/xbd8npa",
      "title": "Trump and Xi declare harmony, no confrontation, as US state visit ends",
      "description": "Trump and Xi declare harmony, no confrontation, as US state visit ends<br /><br />Chinese president Xi Jinping’s state visit to Washington ends on a high note of pomp and less confrontation, as key details of his talks with US president Donald Trump are still to emerge<br /><br /…",
      "duration_seconds": 67,
      "view_count": 6,
      "like_count": 0,
      "comment_count": 0,
      "category": "NEWS",
      "tags": [
        "World News",
        "9:16",
        "World"
      ],
      "is_live": false,
      "thumbnail_url": "https://s1.dmcdn.net/v/e-6B-1gju294XZKRy/x720",
      "channel_id": "xm13vs",
      "channel_name": "euronews (in English)",
      "channel_url": "https://www.dailymotion.com/euronews-en",
      "created_at": "2026-09-26T08:14:37+00:00",
      "platform": "dailymotion"
    },
    {
      "id": "xbd8mvy",
      "url": "https://www.dailymotion.com/video/xbd8mvy",
      "title": "Trump and Xi declare harmony, no confrontation, as US state visit ends",
      "description": "Trump and Xi declare harmony, no confrontation, as US state visit ends<br /><br />Chinese president Xi Jinping’s state visit to Washington ends on a high note of pomp and less confrontation, as key details of his talks with US president Donald Trump are still to emerge<br /><br /…",
      "duration_seconds": 67,
      "view_count": 19,
      "like_count": 0,
      "comment_count": 0,
      "category": "NEWS",
      "tags": [
        "World News",
        "16:9",
        "World"
      ],
      "is_live": false,
      "thumbnail_url": "https://s1.dmcdn.net/v/e-5xU1gju2BAaiipS/x720",
      "channel_id": "xm13vs",
      "channel_name": "euronews (in English)",
      "channel_url": "https://www.dailymotion.com/euronews-en",
      "created_at": "2026-09-26T08:14:29+00:00",
      "platform": "dailymotion"
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### 能传单条视频的链接吗？

不能。这里的 `url` 只收频道页完整链接，参数示例填的是 https://www.dailymotion.com/euronews-en，用来列出整个频道的视频。手里是单条视频链接，用视频详情读这一条；视频详情给的字段和这里一样，只是一次一条。

### `channel_id`、`channel_name`、`channel_url` 有什么用？

它们是所属频道的 ID、名称和链接。要把几个频道的视频合并到一张表时，用 `channel_id` 区分来源；`channel_url` 可以直接当作下一次读取的频道页链接。

### `duration_seconds` 为 null 是什么情况？

非视频、非音频的内容才会为 null，视频的时长单位是秒。`is_live` 标出这条是不是直播内容，直播和点播要分开统计时长。

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