# Dailymotion 频道资料 API (dailymotion.channel)

- Canonical page: [https://everyinfra.com/dailymotion-api/channel](https://everyinfra.com/dailymotion-api/channel?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "dailymotion", "action": "channel", "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、用户名、名称与显示名、简介、头像、粉丝数、视频总数、创建时间和近期视频。它回答「这个频道由谁运营、体量多大」，适合在合作或投放广告前评估 Dailymotion 上的媒体和创作者，也适合给监测中的每个频道建一份基础档案。

`video_count` 是频道累计发布的视频数，结合 `created_at` 能估出更新频率；`follower_count` 为 null 表示粉丝数没有公开，别记成 0。`description` 是频道自己写的简介。名称有两个：`display_name` 是页面上显示的名字，`username` 是账号用户名，两者可能不同。

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Dailymotion 频道页完整链接，用于读取频道资料；不接受单条视频链接。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| channel_id | 频道 ID。 |
| username | 用户名（@handle）。 |
| name | 名称。用于账号/商品/商家类能力，指该对象本身的名字。 |
| display_name | 显示名，可能与 username 不同。 |
| description | 简介或描述，通常比 text 短。 |
| url | 该记录在原平台上的可访问链接。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| video_count | 视频数：channel 是频道视频总数，playlist 是该播放列表里的视频数。 |
| created_at | 创建时间，格式同 posted_at。 |
| recent_videos | 最近发布的视频列表，每项是一个视频（标题、链接、播放数、时长等）；没有时不出现这个字段。 |
| 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",
  "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",
        "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. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "dailymotion",
  "action": "channel",
  "results": {
    "channel_id": "xm13vs",
    "username": "•••",
    "name": "euronews (in English)",
    "display_name": "•••",
    "description": "euronews on Dailymotion brings you a daily dose of international news curated and explained.<br /><br />Beyond headlines and sensationalism, euronews offers in-depth coverage and analysis from correspondents and bureaus all over the world.<br /><br />Subscribe to euronews and rec…",
    "url": "https://www.dailymotion.com/euronews-en",
    "avatar_url": "https://s1.dmcdn.net/•••",
    "follower_count": 17449,
    "video_count": 100472,
    "recent_videos": [
      {
        "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"
      },
      {
        "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"
      },
      {
        "id": "xave0ru",
        "url": "https://www.dailymotion.com/video/xave0ru",
        "title": "The secret behind the Sagrada Familia's final towers: Stone, steel and 21st-century glue",
        "description": "The secret behind the Sagrada Familia's final towers: Stone, steel and 21st-century glue<br /><br />An innovative modular construction system and 24 tonnes of structural adhesive have dramatically accelerated work on Gaudí's Sagrada Familia. More than 140 years after construction…",
        "duration_seconds": 166,
        "view_count": 131,
        "like_count": 0,
        "comment_count": 0,
        "category": "NEWS",
        "tags": [
          "Design",
          "16:9",
          "Culture news"
        ],
        "is_live": false,
        "thumbnail_url": "https://s1.dmcdn.net/v/dBk9g1gjtSMUf_7Rz/x720",
        "channel_id": "xm13vs",
        "channel_name": "euronews (in English)",
        "channel_url": "https://www.dailymotion.com/euronews-en",
        "created_at": "2026-09-26T07:40:55+00:00"
      }
    ],
    "platform": "dailymotion"
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### `url` 能填单条视频的链接吗？

不能。要填频道页的完整链接，例如 https://www.dailymotion.com/euronews-en，路径里带 /video/ 的单条视频链接不接受。手里只有视频时，先用 Dailymotion 视频详情读取它，结果里的频道链接就是这里要传的地址。

### 频道名称应该存哪个字段？

展示给人看用 `display_name`，也就是页面上的名字；拼链接用 `username`。做关联和去重请用 `channel_id`，频道改名后它依然指向同一个频道。

### 怎么拿到频道里每条视频的数据？

这个能力描述的是频道整体，只给出视频总数 `video_count`。要逐条看播放、点赞、评论、时长和标签，把同一个频道链接交给 Dailymotion 频道视频，它每条视频返回一行。

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