Dailymotion
Dailymotion 开发者 API
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 视频
简介
Dailymotion API 提供视频元数据和搜索——公开读取免密钥(实测可用);OAuth 增加上传和用户级功能。
快速开始
视频搜索(实测可用):
curl "https://api.dailymotion.com/videos?fields=id,title,url&limit=3"
{
"page": 1,
"limit": 3,
"total": 1000,
"has_more": true,
"list": [
{ "id": "xazvueq", "title": "...", "url": "https://www.dailymotion.com/video/xazvueq" }
]
}
带筛选:
curl "https://api.dailymotion.com/videos?fields=id,title,views_total&sort=visited&limit=5"
认证方式
- 匿名:公开读取免密钥可用(实测)。
- 上传和用户数据用 OAuth 2.0(authorization code)——在 developer.dailymotion.com 注册。
速率限制与注意事项
- 免费;匿名读取有限流(请礼貌使用);OAuth 应用限额更高。
- API 是 GraphQL 风格字段选择:
fields=id,title,url精简响应。 - 端点:
/videos、/users、/channels,外加上传端点。 - 每个视频有稳定
id,用于 URL(/video/{id})。
常见问题
Dailymotion API 免费吗? 是的——公开读取免密钥(实测)。
需要 OAuth 吗? 只有上传和用户级数据需要。
如何精简响应?
用 fields=id,title,... 字段选择。
视频 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| An API of Ice And Fire Game Of Thrones API | No auth | Yes | Unknown | ↗ |
| Bob's Burgers Bob's Burgers API | No auth | Yes | Yes | ↗ |
| Breaking Bad Breaking Bad API | No auth | Yes | Unknown | ↗ |
| Breaking Bad Quotes Some Breaking Bad quotes | No auth | Yes | Unknown | ↗ |
| Catalogopolis Doctor Who API | No auth | Yes | Unknown | ↗ |