What you get#
Onekey exposes Dailymotion as 14 endpoints behind one API key: 3 endpoints return one record (data is an object) and 11 endpoints return a list (data is an array). Every answer uses the same envelope (success, data, metadata, error), the cost is reported in metadata.credits_charged, and fields are mapped onto the unified schema so the code you write for Dailymotion also works for the rest of the video & streaming category.
Endpoints#
| Endpoint | What it does | Parameters | Credits | Status |
|---|---|---|---|---|
channel_videos | Videos in a Dailymotion channel (category), e.g. news, music, sport. | channel*, page | 5 | stable |
channels | List of Dailymotion channels (top-level categories). | - | 5 | stable |
followers | Followers of a Dailymotion user. | user*, page | 5 | stable |
following | Accounts a Dailymotion user follows. | user*, page | 5 | stable |
related | Videos related to a Dailymotion video. | id*, page | 5 | stable |
search | Search Dailymotion videos. | q* | 5 | stable |
search_users | Search Dailymotion users/channels by name. | q*, page | 5 | stable |
search_videos | Search Dailymotion videos by keyword. | q*, page | 5 | stable |
trending | Trending Dailymotion videos right now. | page | 5 | stable |
user | Dailymotion user/channel profile: name, bio, followers, video count, avatar. | user* | 1 | stable |
user_playlists | Playlists created by a Dailymotion user. | user*, page | 5 | stable |
user_videos | Videos uploaded by a Dailymotion user. | user*, page | 5 | stable |
video | Dailymotion video by id. | id* | 1 | stable |
video_info | Dailymotion video details: title, owner, views, likes, duration, thumbnail. | id* | 1 | stable |
A * marks a required parameter. Each endpoint name links to its reference page with the full parameter table, caching window and a recorded response.
Make a request#
This calls dailymotion.user (1 credit, stable). Replace YOUR_API_KEY with your key; sign up, no card. 1,000 free credits cover the open-platform endpoints. Hard-to-reach platforms (X, TikTok, Instagram, Reddit, and others marked on their page) need a verified email and a purchased pack.
curl "https://api.onekey.dev/v1/dailymotion/user?user=dailymotion" \
-H "x-api-key: YOUR_API_KEY"Fields you get back#
These unified fields come back from Dailymotion, with the same names as on every other platform. The count is how many of its 14 mapped endpoints return the field; a field the source lacks is null, never missing. 1 platform-specific field (ext.<name>) come on top, documented on each endpoint page.
| Field | Type | Endpoints |
|---|---|---|
author.id | string | 12 |
content.createdAt | ISO 8601 date | 10 |
content.id | string | 9 |
content.title | string | 9 |
engagement.views | integer | 9 |
media.thumbnailUrl | URL | 9 |
content.url | URL | 8 |
media.durationSeconds | number | 8 |
engagement.likes | integer | 6 |
author.avatarUrl | URL | 4 |
author.contentCount | integer | 4 |
author.displayName | string | 4 |
author.followers | integer | 4 |
author.url | URL | 4 |
author.username | string | 4 |
content.text | string | 3 |
author.following | integer | 1 |
author.verified | boolean | 1 |
entity.description | string | 1 |
entity.id | string | 1 |
entity.name | string | 1 |
The full schema is in Unified schema.
Pricing#
Dailymotion calls cost 1 to 5 credits, flat per endpoint. Free when served from cache (0.2 credit for a cached response over 100 KB). Invalid, failed or not-found calls are not charged. See pricing for credit packs.