Platform API Reference
Endpoints
The Dailymotion Platform API is served over HTTPS and accessible on the following endpoints depending on your API key type:
https://api.dailymotion.com
https://partner.api.dailymotion.com/rest
We recommend using UTF-8 encoding for all interactions with the API.
Getting started
To get more insights before diving into the API reference, please read the Getting started article to see how to authenticate and interact with the API objects, fields and filters.
Global API Parameters
The following query-string parameters are valid for all API objects and can be provided along with any type of request. Some of them are strongly recommended if you want to enhance your end-user experience.
| Parameter | Description | Type |
|---|---|---|
ams_country | Change the country for the asset management. By default, the country is auto-detected based on the IP address of the API consumer. Changing this value will filter out content geo-blocked for the defined country and will affect the geo-blocking mechanism. | string |
context | Additional call context for this request. Some resources of the API require that you provide contextual information along with your request in order to return relevant data. This is especially useful when the API cannot retrieve or guess this additional information by itself. Contextual information should only be provided when expressly needed by the resource you are trying to query. Values should be passed as an embedded and URL encoded query string. E.g.: ?field=data&context=key1%3Dvalue1%26key2%3Dvalue2 | string |
device_filter | Filter out content and change media assets. By default, the device is auto-detected based on the user-agent of the API consumer. Changing this value will filter out content not allowed on the defined device. Possible values: detect web mobile and iptv | string |
family_filter | Enable/disable the “sensitive content” filter. By default, the family filter is turned on. Setting this parameter to false will stop filtering-out explicit content from searches and global contexts. You should always check the result’s explicit field when applicable as some contexts may still return those contents. You should also flag them in your UI to warn the user about the nature of the content.Possible: true or false | boolean |
localization | Change the default localization of the user. This will affect results language and content selection. Note that changing the localization won’t give access to geoblocked content of the corresponding location. The IP address of the API consumer is always used for this kind of restriction. You can use a standard locale like fr_FR, en_US (or simply en, it) but you can also provide detect to tell the API to detect the most probable locale based on the consumer’s location | string |
thumbnail_ratio | Change the size ratio for all video thumbnails. By default: originalPossible values: original, widescreen and square | string |
To use a global parameter, simply add it to any request’s query-string like so:
GET https://api.dailymotion.com/video?family_filter=false&localization=it
Auth
This endpoint enables to access information about the current authenticated user. This relates to the user authenticated using an access token (provided with the appropriate header or as a query-string parameter).
Retrieving current auth information
To retrieve information about the current authenticated user, perform a GET request on /auth. By default, only a small number of default fields are returned, please refer to the complete field list below.
Sample auth API call: /auth
Current auth information response
Here is the list of fields you can retrieve when performing a call on /auth.
| Field name | Description | Sample |
|---|---|---|
id | The user identifier of the authenticated user. | "x1fz4ii" |
scope | The scope of permissions granted to the authenticated user. | ["manage_videos","userinfo"] |
roles | The list of roles associated to the API key of the authenticated user. | [] |
username | The username of the authenticated user. | "DailymotionAPI" |
screenname | The authenticated user’s username or full name depending on his preferences. | "Dailymotion API" |
language | The authenticated user spoken language (declarative). | "fr" |
Channel
Channel
A channel object represents a category of videos on Dailymotion (formerly a channel), for example:
shortfilms, videogames, news, etc. (See full list below)
Manipulating channels
To retrieve a specific channel object,
perform a GET request on
/channel/<CHANNEL_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To retrieve a list of channel objects,
perform a GET request on
/channels.
You can then use filters (if any) to filter down the
result set, see the filtering section for more information.
Sample channel API call:
/channel/music
Test it further with the
API Explorer.
Channel fields
Here is the list of fields you can retrieve on every channel object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
created_time -
Sample value:
1287507036Date and time when this channel was created.
-
descriptionComprehensive localized description of this channel.
-
Sample value:
Everything about video-games!Comprehensive localized description of this channel.
-
idUnique object identifier (unique among all channels)
-
Sample value:
xga6gknUnique object identifier (unique among all channels)
-
item_typeGraph type of this object (hopefully
channel) -
Sample value:
channelGraph type of this object (hopefully
channel) -
nameLocalized short name of this channel.
-
Sample value:
Video GamesLocalized short name of this channel.
-
slugSlug name of this channel.
-
Sample value:
video-gamesSlug name of this channel.
-
updated_timeDate and time when this channel was last updated.
-
Sample value:
1404129540Date and time when this channel was last updated.
Channel filters
Here is the list of filters you can use to limit a result set of
channel objects. You can use these by passing them as query-string
parameters with your request.
-
sortChange the default result set ordering.
-
Sample value:
popularChange the default result set ordering.
Channel deprecated filters
These deprecated filters were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each filter. Do not use any of these for a new project as they may disappear without warning.
-
languageLanguage in which you want this channel name and description fields to be.
-
Sample value:
itLanguage in which you want this channel name and description fields to be.
Channel connections
Connections through the data API are used to link objects with each others. Some objects
can only be accessed and/or created through connections since they have no point in
existing on their own. Here is the list of connections available through the
channel object.
-
usersList of the top users of this channel.
This connection joins an object of typechannelwith a list ofuserobjects. -
List of the top users of this channel.
This connection joins an object of typechannelwith a list ofuserobjects.Read the channel's users connection
You can retrieve the list of users connected to a
channelobject by issuing a GET request to/channel/<CHANNEL_ID>/users. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
videosList of videos of this channel.
This connection joins an object of typechannelwith a list ofvideoobjects. -
List of videos of this channel.
This connection joins an object of typechannelwith a list ofvideoobjects.Read the channel's videos connection
You can retrieve the list of videos connected to a
channelobject by issuing a GET request to/channel/<CHANNEL_ID>/videos. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.
List of categories
The full list of available categories (channel object) is as follow:
| CATEGORY | NAME |
|---|---|
animals | Animals |
creation | Creative |
auto | Cars |
school | Education |
people | Celeb |
fun | Comedy & Entertainment |
videogames | Gaming |
tech | Tech |
kids | Kids |
lifestyle | Lifestyle & How-To |
shortfilms | Movies |
music | Music |
news | News |
sport | Sport |
tv | TV |
travel | Travel |
webcam | Webcam |
Echo
This endpoint returns the same exact message which was given as a parameter. It can be used to test the availability and reactivity of the API.
Using echo
To send an /echo request, perform a GET request on /echo. The table below lists all the parameters that can be provided when performing this request:
| Type | Parameter | Required | Description |
|---|---|---|---|
string | message | Yes | The message to be returned by the echo. |
Sample echo API call: /echo?message=this+is+a+test
Echo response
Here is the list of fields you can retrieve when performing a call on /echo.
| Field name | Description | Sample |
|---|---|---|
message | The message which was given as a parameter. | "echo... echo... echo..." |
File
This endpoint allows anyone to retrieve a video upload URL, when you need to upload a video on Dailymotion’s servers and don’t want to upload it on your own server.
File upload
To retrieve an upload URL, perform a GET request on /file/upload.
Sample file upload API call: https://api.dailymotion.com/file/upload
File upload response
Here is the list of fields you can retrieve when performing a call on /file/upload.
| Field name | Description | Sample |
|---|---|---|
upload_url | The URL you will be able to upload your video to. | http://upload-XX.dailymotion.com/upload?uuid=<UUID>&seal=<SEAL> |
progress_url | An URL to poll the progress of the current upload. A GET request to this URL returns a JSON object with a state key having one of the following values: starting, uploading, done, error. During the uploading state, the JSON object also contains size and received keys reporting the upload progress. | http://upload-XX.dailymotion.com/progress?uuid=<UUID> |
Note:
- The upload process requires a minimum version of TLS 1.2 protocol
Languages
The languages endpoint is used to retrieve the list of ISO-639-3 2 or 3 letter codes associated with the language name, native name, localized name, and name as it could be displayed on Dailymotion.
Retrieving languages
To retrieve the list of ISO-639-3 languages, perform a GET request on /languages.
The list of fields returned is fixed and defined as followed. This call do not support the fields parameter.
Sample locale API call: /languages
Languages response
Here is the list of fields you will retrieve when performing a call on /languages.
| Field name | Description | Sample |
|---|---|---|
code | The language alpha-2 or alpha-3 code as specified by the ISO-639-3 standard. | "ja" |
name | The name of the language. | "Japanese" |
native_name | The native name of the language, or null if unknown. | "日本語" |
localized_name | The name of the language in the locale of the request, or null if unknown. | "Japonais" |
display_name | The name of the language as it could be displayed. This corresponds to the localized name if we know it, otherwise it’s simply the name. | "Japonais" |
Locale
A locale is a set of parameters that defines a user’s language, country, currency, etc.
Detecting and retrieving locales
To detect the locale of the current requestor, perform a GET request on /locale.
To retrieve the list of locales supported by Dailymotion, perform a GET request on /locales.
In both cases, the list of fields returned is fixed and defined as follow since these calls do not support the fields parameter. You can also return informations on a specific locale by changing your request locale using the localization global parameter.
Sample locale API call: /locale
Locale detection response
Here is the list of fields you will retrieve when performing a call on /locale or /locales.
| Field name | Description | Sample |
|---|---|---|
locale | The locale code. | "ja_JP" |
site_code | The site version code associated to the locale. This code is to be used in the API wherever a “localization” parameter is requested | "jp" |
language | The name of the language in English. | "Japanese" |
localized_language | The name of the language in the current API request locale. | "Japonais" |
locally_localized_language | The name of the language in the locale’s language. | "日本語" |
country | The name of the country in English | "Japan" |
localized_country | The name of the country in the current API request locale. | "Japon" |
locally_localized_country | The name of the country in the locale’s language. | "日本" |
currency | The currency accepted by Dailymotion for this locale. | "JPY" |
Logout
This endpoint removes the right for the current API key to access the current user account (the user authenticated by the current access token). Once this method is called, all further requests with the same access token will fail and any previously obtained refresh token for this session will be invalidated.
Logging out
To logout a user, perform a GET request on /logout. This call returns an empty JSON object in case of success: {}
Sample logout API call: /logout
Player
Player
A player object holds several configuration properties (Picture In Picture settings, aspect ratio…)
and is meant to be embedded on a webpage with a script tag.
Manipulating players
To retrieve a specific player object,
perform a GET request on
/player/<PLAYER_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To create an object of type player,
perform a POST request on
the connection available through the
user graph object.
Join all the fields you want to specify and their value as an
application/x-www-form-urlencoded payload. Please note that, for creation,
some fields and/or specific query-string parameters could be mandatory, please refer to
the field list below.
To edit an object of type player,
perform a POST request on
/player/<PLAYER_ID>.
Join all the fields you want to update and their new value as an
application/x-www-form-urlencoded payload.
To delete an object of type player,
perform a DELETE request on
/player/<PLAYER_ID>.
If you do not receive any error (empty result set), it means that the deletion was
successful.
Sample player API call:
/player/xid1
Test it further with the
API Explorer.
Player fields
Here is the list of fields you can retrieve on every player object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
ad_pressure_optimizationOptimize ad pressure based on selected model: monetization, balanced, standard
-
Sample value:
standardOptimize ad pressure based on selected model: monetization, balanced, standard
-
aspect_ratioTo specify the aspect ratio of the player
-
Sample value:
16:9To specify the aspect ratio of the player
-
autoskip_afterAfter how many seconds the video is skipped (min: 10)
-
Sample value:
10After how many seconds the video is skipped (min: 10)
-
autostartTo control how the player handles autoplay
-
Sample value:
offTo control how the player handles autoplay
-
colorChange the default highlight color used in the controls
-
Sample value:
00aaffChange the default highlight color used in the controls
-
contextual_content_freshnessDefine the freshness of the content (in days) that can be selected by the contextual embed feature
-
Sample value:
1800Define the freshness of the content (in days) that can be selected by the contextual embed feature
-
contextual_content_sourceDefine if your contextual content should be taken from your organization, your channel or Dailymotion’s global catalog
-
Sample value:
channelDefine if your contextual content should be taken from your organization, your channel or Dailymotion’s global catalog
-
created_timeDate and time when this player was created
-
Sample value:
1287507036Date and time when this player was created
-
embed_html_urlURL of the player HTML embed
-
Sample value:
https://geo.dailymotion.com/player/x123.htmlURL of the player HTML embed
-
embed_script_urlURL of the player to be used in a script HTML tag
-
Sample value:
https://geo.dailymotion.com/player/x123.jsURL of the player to be used in a script HTML tag
-
enable_adsWhether to enable ads and associated tracking
-
Sample value:
falseWhether to enable ads and associated tracking
-
enable_ads_controlsWhether to display the player controls during an ad
-
Sample value:
falseWhether to display the player controls during an ad
-
enable_attention_peaksWhether to display attention peaks above seekbar
-
Sample value:
falseWhether to display attention peaks above seekbar
-
enable_automatic_recommendationsWhether to enable automatic recommendations
-
Sample value:
falseWhether to enable automatic recommendations
-
enable_autonextWhether to automatically play the next video item
-
Sample value:
falseWhether to automatically play the next video item
-
enable_autoskipWhether to activate the "Auto skip" feature
-
Sample value:
falseWhether to activate the "Auto skip" feature
-
enable_channel_linkWhether to activate the link on the channel owner text
-
Sample value:
falseWhether to activate the link on the channel owner text
-
enable_click_to_unmuteWhether to enable the click to unmute feature
-
Sample value:
falseWhether to enable the click to unmute feature
-
enable_contextual_contentWhether to load relevant content based on contextual information from the embedder page
-
Sample value:
falseWhether to load relevant content based on contextual information from the embedder page
-
enable_contextual_content_fallbackWhether to allow the contextual embed feature to play less relevant videos from your channel or other sources, to avoid displaying an empty player when content with high relevancy is not available
-
Sample value:
falseWhether to allow the contextual embed feature to play less relevant videos from your channel or other sources, to avoid displaying an empty player when content with high relevancy is not available
-
enable_contextual_content_freshnessWhether to activate the "Contextual content freshness" feature
-
Sample value:
falseWhether to activate the "Contextual content freshness" feature
-
enable_custom_recommendationsWhether to enable custom recommendations
-
Sample value:
falseWhether to enable custom recommendations
-
enable_dm_logoWhether to display the Dailymotion logo
-
Sample value:
falseWhether to display the Dailymotion logo
-
enable_dynamic_thumbnailWhether to display animated video preview instead of a static thumbnail
-
Sample value:
falseWhether to display animated video preview instead of a static thumbnail
-
enable_eco_modeWhether to enable Eco Mode to apply a quality limit
-
Sample value:
falseWhether to enable Eco Mode to apply a quality limit
-
enable_google_policy_uiWhether to activate the UI to be Google policy compliant (e.g.: PIP close button outside Player UI)
-
Sample value:
falseWhether to activate the UI to be Google policy compliant (e.g.: PIP close button outside Player UI)
-
enable_infoWhether to display the video title and owner information
-
Sample value:
falseWhether to display the video title and owner information
-
enable_keyboard_shortcutsWhether to enable the keyboard shortcuts
-
Sample value:
falseWhether to enable the keyboard shortcuts
-
enable_legacy_pipWhen enabled, player displays the legacy PiP version
-
Sample value:
falseWhen enabled, player displays the legacy PiP version
-
enable_live_offair_screenWhether to display streaming status before and after live streaming
-
Sample value:
falseWhether to display streaming status before and after live streaming
-
enable_paid_partnership_labelWhether to enable the paid partnership label (if the playing video is flagged as such)
-
Sample value:
falseWhether to enable the paid partnership label (if the playing video is flagged as such)
-
enable_pip_placementWhether to choose the webpage corner where PiP is initialized. If used, overwrites PiP CSS customization
-
Sample value:
falseWhether to choose the webpage corner where PiP is initialized. If used, overwrites PiP CSS customization
-
enable_playback_controlsWhether to display the player controls during a video
-
Sample value:
falseWhether to display the player controls during a video
-
enable_receive_url_locationAllow player to receive full page URL where player is embedded
-
Sample value:
falseAllow player to receive full page URL where player is embedded
-
enable_sharingWhether to enable the sharing button
-
Sample value:
falseWhether to enable the sharing button
-
enable_sharing_url_locationWhether to share the location where the video is embedded (video URL by default)
-
Sample value:
falseWhether to share the location where the video is embedded (video URL by default)
-
enable_spinnerWhether to display spinner during video loading
-
Sample value:
falseWhether to display spinner during video loading
-
enable_start_pip_expandedWhether to start PiP in expanded mode on mobile (if legacy PiP is enabled)
-
Sample value:
falseWhether to start PiP in expanded mode on mobile (if legacy PiP is enabled)
-
enable_startscreen_dm_linkWhether to show the "Watch on Dailymotion" link on the startscreen
-
Sample value:
falseWhether to show the "Watch on Dailymotion" link on the startscreen
-
enable_subtitlesWhether to activate the subtitles in the player
-
Sample value:
falseWhether to activate the subtitles in the player
-
enable_tap_to_unmuteWhether to enable the tap to unmute feature
-
Sample value:
falseWhether to enable the tap to unmute feature
-
enable_titles_in_video_cardsWhether to show the videos titles in the carousel on the endscreen
-
Sample value:
falseWhether to show the videos titles in the carousel on the endscreen
-
enable_video_title_linkWhether to activate the link on the video title text
-
Sample value:
falseWhether to activate the link on the video title text
-
enable_wait_for_custom_configWhether to configure the player to wait for the custom config object before starting playback
-
Sample value:
falseWhether to configure the player to wait for the custom config object before starting playback
-
enable_watch_now_cardWhether to display one video card after playback
-
Sample value:
falseWhether to display one video card after playback
-
has_reached_playback_limitsWhether the organization that owns the player has reached some limits (bandwidth, plays)
-
Sample value:
falseWhether the organization that owns the player has reached some limits (bandwidth, plays)
-
has_recommendations_from_org_onlyWhether the organization that owns the player includes only videos from this organization in recommendations
-
Sample value:
falseWhether the organization that owns the player includes only videos from this organization in recommendations
-
has_ssaiWhether the organization that owns the player has SSAI enabled
-
Sample value:
falseWhether the organization that owns the player has SSAI enabled
-
idUnique object identifier (unique among all players)
-
Sample value:
xnrx15dUnique object identifier (unique among all players)
-
item_typeGraph type of this object (hopefully
player) -
Sample value:
playerGraph type of this object (hopefully
player) -
labelMandatory player label
-
Sample value:
string exampleMandatory player label
-
lib_script_urlURL of the player embed library to be used in a script HTML tag
-
Sample value:
https://geo.dailymotion.com/libs/player/x123.jsURL of the player embed library to be used in a script HTML tag
-
ownerOwner of this player. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
Sample value:
xjqkxaeOwner of this player. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
pipPicture-in-Picture mode
-
Sample value:
onPicture-in-Picture mode
-
pip_selected_placementDefine the webpage corner where PiP is initialized
-
Sample value:
bottom_rightDefine the webpage corner where PiP is initialized
-
recommendations_optimisationOptimise recommendations based on selected model: monetization, engagement, views
-
Sample value:
monetizationOptimise recommendations based on selected model: monetization, engagement, views
-
updated_timeDate and time when this player was updated
-
Sample value:
1287507036Date and time when this player was updated
-
wait_for_custom_config_delayHow long to wait before the ad request is made (min: 1s – max: 10s), when enable_wait_for_custom_config is enabled
-
Sample value:
5How long to wait before the ad request is made (min: 1s – max: 10s), when enable_wait_for_custom_config is enabled
-
watermark_image_typeImage type of the watermark
-
Sample value:
from_channelImage type of the watermark
-
watermark_link_typeType of watermark link
-
Sample value:
from_channelType of watermark link
-
watermark_link_urlURL of the watermark link
-
Sample value:
https://www.dailymotion.comURL of the watermark link
Player deprecated fields
These deprecated fields were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each field. Do not use any of these for a new project as they may disappear without warning.
-
enable_controlsWhether to display the player controls
-
Sample value:
falseWhether to display the player controls
-
enable_queueWhether to enable automatic recommendations
-
Sample value:
falseWhether to enable automatic recommendations
Player filters
Here is the list of filters you can use to limit a result set of
player objects. You can use these by passing them as query-string
parameters with your request.
-
is_activeLimit the result set to players that are not deleted.
-
Sample value:
n/aLimit the result set to players that are not deleted.
-
searchLimit the result set to this full text search.
-
Sample value:
myplayerLimit the result set to this full text search.
Playlist
Playlist
A playlist object represents an ordered list of videos created by a user. Videos in a playlist
do not necessarily have anything in common.
Manipulating playlists
To retrieve a specific playlist object,
perform a GET request on
/playlist/<PLAYLIST_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To retrieve a list of playlist objects,
perform a GET request on
/playlists.
You can then use filters (if any) to filter down the
result set, see the filtering section for more information.
To create an object of type playlist,
perform a POST request on
Join all the fields you want to specify and their value as an
application/x-www-form-urlencoded payload. Please note that, for creation,
some fields and/or specific query-string parameters could be mandatory, please refer to
the field list below.
To edit an object of type playlist,
perform a POST request on
/playlist/<PLAYLIST_ID>.
Join all the fields you want to update and their new value as an
application/x-www-form-urlencoded payload.
To delete an object of type playlist,
perform a DELETE request on
/playlist/<PLAYLIST_ID>.
If you do not receive any error (empty result set), it means that the deletion was
successful.
Sample playlist API call:
/playlist/x3ecgj
Test it further with the
API Explorer.
Playlist fields
Here is the list of fields you can retrieve on every playlist object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
created_timeDate and time when this playlist was created.
-
Sample value:
1287507036Date and time when this playlist was created.
-
descriptionComprehensive description of this playlist.
-
Sample value:
Check out the top 10 best goals of this year's championship!Comprehensive description of this playlist.
-
idUnique object identifier (unique among all playlists)
-
Sample value:
xeff463Unique object identifier (unique among all playlists)
-
item_typeGraph type of this object (hopefully
playlist) -
Sample value:
playlistGraph type of this object (hopefully
playlist) -
nameShort descriptive name of this playlist.
-
Sample value:
Best goals of the championshipShort descriptive name of this playlist.
-
ownerAuthor of this playlist. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
Sample value:
xkpgsoaAuthor of this playlist. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
privateTrue if this playlist is private.
-
Sample value:
trueTrue if this playlist is private.
-
thumbnail_60_urlURL of this playlist’s first video thumbnail image (60px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x60-epG.jpgURL of this playlist’s first video thumbnail image (60px height).
-
thumbnail_120_urlURL of this playlist’s first video’s thumbnail image (120px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x120-lbT.jpgURL of this playlist’s first video’s thumbnail image (120px height).
-
thumbnail_180_urlURL of this playlist’s first video’s thumbnail image (180px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x180-Pe8.jpgURL of this playlist’s first video’s thumbnail image (180px height).
-
thumbnail_240_urlURL of this playlist’s first video’s thumbnail image (240px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x240-bP7.jpgURL of this playlist’s first video’s thumbnail image (240px height).
-
thumbnail_360_urlURL of this playlist’s first video’s thumbnail image (360px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x360-AdG.jpgURL of this playlist’s first video’s thumbnail image (360px height).
-
thumbnail_480_urlURL of this playlist’s first video’s thumbnail image (480px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x480-kEp.jpgURL of this playlist’s first video’s thumbnail image (480px height).
-
thumbnail_720_urlURL of this playlist’s first video’s thumbnail image (720px height).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x720-LZe.jpgURL of this playlist’s first video’s thumbnail image (720px height).
-
thumbnail_1080_urlURL of this playlist’s first video’s thumbnail image (1080px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x1080-Ec7.jpgURL of this playlist’s first video’s thumbnail image (1080px height).
-
thumbnail_urlURL of the thumbnail of this playlist’s first video (raw, respecting full size ratio).
-
Sample value:
https://s1.dmcdn.net/3CQ3.jpgURL of the thumbnail of this playlist’s first video (raw, respecting full size ratio).
-
updated_timeDate and time when this playlist was last updated.
-
Sample value:
1404129540Date and time when this playlist was last updated.
-
videos_totalTotal amount of videos in this playlist.
-
Sample value:
14Total amount of videos in this playlist.
Playlist deprecated fields
These deprecated fields were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each field. Do not use any of these for a new project as they may disappear without warning.
-
relative_updated_timeLocalized date and time when this playlist was last updated (formatted).
-
Sample value:
42 minutes agoLocalized date and time when this playlist was last updated (formatted).
-
thumbnail_large_urlURL of the thumbnail of this playlist’s first video (320px by 240px).
-
Sample value:
https://s2.dmcdn.net/3CQ3/x240-bP7.jpgURL of the thumbnail of this playlist’s first video (320px by 240px).
-
thumbnail_medium_urlURL of the thumbnail of this playlist’s first video (160px by 120px).
-
Sample value:
https://s2.dmcdn.net/3CQ3/160x120-9HK.jpgURL of the thumbnail of this playlist’s first video (160px by 120px).
-
thumbnail_small_urlURL of the thumbnail of this playlist’s first video (80px by 60px).
-
Sample value:
https://s2.dmcdn.net/3CQ3/80x60-LKd.jpgURL of the thumbnail of this playlist’s first video (80px by 60px).
Playlist filters
Here is the list of filters you can use to limit a result set of
playlist objects. You can use these by passing them as query-string
parameters with your request.
-
idsLimit the result set to this list of playlist identifiers (works only with xids).
-
Sample value:
xk2k3, x26m1j4, xkeg4Limit the result set to this list of playlist identifiers (works only with xids).
-
ownerLimit the result set to playlists of this user.
-
Sample value:
xkpgsoaLimit the result set to playlists of this user.
-
privateLimit the result set to private playlists
-
Sample value:
trueLimit the result set to private playlists
-
searchLimit the result set to this full text search.
-
Sample value:
footballLimit the result set to this full text search.
-
sortChange the default result set ordering.
-
Sample value:
relevanceChange the default result set ordering.
-
verifiedLimit the result set to verified partner playlists.
-
Sample value:
n/aLimit the result set to verified partner playlists.
Playlist connections
Connections through the data API are used to link objects with each others. Some objects
can only be accessed and/or created through connections since they have no point in
existing on their own. Here is the list of connections available through the
playlist object.
-
videosList of videos contained in this playlist (in the order defined by its owner).
This connection joins an object of typeplaylistwith a list ofvideoobjects. -
List of videos contained in this playlist (in the order defined by its owner).
This connection joins an object of typeplaylistwith a list ofvideoobjects.Read the playlist's videos connection
You can retrieve the list of videos connected to a
playlistobject by issuing a GET request to/playlist/<PLAYLIST_ID>/videos. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any video is connected to an existing
playlistobject by issuing a GET request to/playlist/<PLAYLIST_ID>/videos/<VIDEO_ID>. This will return a list containing only the connectedvideoobject or an empty list if it is not connected.Create a playlist's videos connection
You can connect videos to an existing
playlistobject one by one by issuing multiple POST requests to/playlist/<PLAYLIST_ID>/videos/<VIDEO_ID>.You can connect multiple videos to an existing
playlistobject at once by issuing one POST request to/playlist/<PLAYLIST_ID>/videos?ids=<VIDEO_ID>,...,<VIDEO_ID>. Note that the order of the identifiers is saved.Delete a playlist's videos connection
You can disconnect videos from a
playlistobject by issuing DELETE requests to/playlist/<PLAYLIST_ID>/videos/<VIDEO_ID>. You can also disconnect all videos at once by issuing a POST request to/playlist/<PLAYLIST_ID>/videoswith an emptyidsquery-string parameter.
Test it with the API Explorer.
Subtitles
Subtitle
A subtitle object represents a file resource containing closed captioning for a given video.
Manipulating subtitles
To retrieve a specific subtitle object,
perform a GET request on
/subtitle/<SUBTITLE_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To create an object of type subtitle,
perform a POST request on
the connection available through the
video graph object.
Join all the fields you want to specify and their value as an
application/x-www-form-urlencoded payload. Please note that, for creation,
some fields and/or specific query-string parameters could be mandatory, please refer to
the field list below.
| Type | Parameter | Required | Description |
|---|---|---|---|
| STRING |
format
|
No | Data format SRT only is supported, if you have an other format please convert it to SRT. |
| STRING |
language
|
No | Language of these subtitles. |
| URL |
url
|
No | On |
To delete an object of type subtitle,
perform a DELETE request on
/subtitle/<SUBTITLE_ID>.
If you do not receive any error (empty result set), it means that the deletion was
successful.
Sample subtitle API call:
/video/x26m1j4/subtitles
Test it further with the
API Explorer.
Subtitle fields
Here is the list of fields you can retrieve on every subtitle object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
formatData format SRT only is supported, if you have an other format please convert it to SRT.
-
Sample value:
SRTData format SRT only is supported, if you have an other format please convert it to SRT.
-
idUnique object identifier (unique among all subtitles)
-
Sample value:
xqf5vs9Unique object identifier (unique among all subtitles)
-
item_typeGraph type of this object (hopefully
subtitle) -
Sample value:
subtitleGraph type of this object (hopefully
subtitle) -
languageLanguage of these subtitles.
-
Sample value:
enLanguage of these subtitles.
-
language_labelSubtitles’s language in its own language.
-
Sample value:
FrançaisSubtitles’s language in its own language.
-
urlOn
GET, the URL pointing to the latest version of the subtitles. OnPOST, URL pointing to the subtitle data in on of the valid formats. You don’t need to host the file, you can use theGET /file/uploadAPI ressource to create a temporary URL to a file of your own, just like when you upload a video source file. If you host your own file, the file will be fetched and the subtitles URL will point to a local copy. -
Sample value:
https://static2.dmcdn.net/static/video/354/170/120453:subtitle_en.srt?22On
GET, the URL pointing to the latest version of the subtitles. OnPOST, URL pointing to the subtitle data in on of the valid formats. You don’t need to host the file, you can use theGET /file/uploadAPI ressource to create a temporary URL to a file of your own, just like when you upload a video source file. If you host your own file, the file will be fetched and the subtitles URL will point to a local copy.
Subtitle filters
Here is the list of filters you can use to limit a result set of
subtitle objects. You can use these by passing them as query-string
parameters with your request.
-
languageLimit the result set to subtitles of this language.
-
Sample value:
enLimit the result set to subtitles of this language.
User
User
A user object represents a Dailymotion user account. Users are at the foundation of every other graph objects, since
most of them are created through —or owned by— users. Users also represent the main authentication vector to Dailymotion
services.
Manipulating users
To retrieve a specific user object,
perform a GET request on
/user/<USER_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To retrieve a list of user objects,
perform a GET request on
/users.
You can also use one of the several connections available through the
channel and user graph objects.
You can then use filters (if any) to filter down the
result set, see the filtering section for more information.
To edit an object of type user,
perform a POST request on
/user/<USER_ID>.
Join all the fields you want to update and their new value as an
application/x-www-form-urlencoded payload.
To delete an object of type user,
perform a DELETE request on
/user/<USER_ID>.
If you do not receive any error (empty result set), it means that the deletion was
successful.
Sample user API call:
/user/x1fz4ii
Test it further with the
API Explorer.
User fields
Here is the list of fields you can retrieve on every user object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
activeForce user account active.
-
Sample value:
yForce user account active.
-
addressPostal address of this user.
-
Sample value:
715 5th AvenuePostal address of this user.
-
advanced_statisticsadvanced-statisticscriteria of this user. -
Sample value:
falseadvanced-statisticscriteria of this user. -
avatar_25_urlURL of this user’s avatar image (25px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/25x25--w1.pngURL of this user’s avatar image (25px wide square).
-
avatar_60_urlURL of this user’s avatar image (60px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/60x60-As1.pngURL of this user’s avatar image (60px wide square).
-
avatar_80_urlURL of this user’s avatar image (80px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/80x80-Rf1.pngURL of this user’s avatar image (80px wide square).
-
avatar_120_urlURL of this user’s avatar image (120px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/120x120-bn1.pngURL of this user’s avatar image (120px wide square).
-
avatar_190_urlURL of this user’s avatar image (190px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/190x190-ma1.pngURL of this user’s avatar image (190px wide square).
-
avatar_240_urlURL of this user’s avatar image (240px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/240x240-sU1.pngURL of this user’s avatar image (240px wide square).
-
avatar_360_urlURL of this user’s avatar image (360px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/360x360-PM1.pngURL of this user’s avatar image (360px wide square).
-
avatar_480_urlURL of this user’s avatar image (480px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/480x480-CD1.pngURL of this user’s avatar image (480px wide square).
-
avatar_720_urlURL of this user’s avatar image (720px wide square).
-
Sample value:
https://s1.dmcdn.net/AVM/720x720-Gr1.pngURL of this user’s avatar image (720px wide square).
-
avatar_urlURL of an image to change this user’s avatar.
-
Sample value:
http://www.example.orgURL of an image to change this user’s avatar.
-
ban_from_partner_programTrue if this user has the criteria ban-from-partner-program.
-
Sample value:
falseTrue if this user has the criteria ban-from-partner-program.
-
birthdayBirthday date of this user.
-
Sample value:
532652400Birthday date of this user.
-
children_totalTotal number of user children.
-
Sample value:
10Total number of user children.
-
cityCity of residence of this user.
-
Sample value:
New York CityCity of residence of this user.
-
countryCountry of residence of this user. Allowed values are ISO 3166-1 alpha-2 country codes.
-
Sample value:
USCountry of residence of this user. Allowed values are ISO 3166-1 alpha-2 country codes.
-
cover_100_urlURL of this user’s cover image (height = 100px).
-
Sample value:
https://s2.dmcdn.net/GJCWj/x100-qZJ.jpgURL of this user’s cover image (height = 100px).
-
cover_150_urlURL of this user’s cover image (height = 150px).
-
Sample value:
https://s2.dmcdn.net/GJCWj/x150-KrI.jpgURL of this user’s cover image (height = 150px).
-
cover_200_urlURL of this user’s cover image (height = 200px).
-
Sample value:
https://s2.dmcdn.net/GJCWj/x200--y5.jpgURL of this user’s cover image (height = 200px).
-
cover_250_urlURL of this user’s cover image (height = 250px).
-
Sample value:
https://s2.dmcdn.net/GJCWj/x250-u-x.jpgURL of this user’s cover image (height = 250px).
-
cover_urlURL of this user’s cover image (original size).
-
Sample value:
http://www.example.orgURL of this user’s cover image (original size).
-
created_timeDate and time when this user joined the site.
-
Sample value:
1287507036Date and time when this user joined the site.
-
descriptionComprehensive description of this user.
-
Sample value:
Hi, I'm <i>John</i> and I'm here to break <b>everything</b>!Comprehensive description of this user.
-
emailEmail address of this user.
-
Sample value:
john.doe@provider.comEmail address of this user.
-
facebook_urlFacebook profile URL of this user.
-
Sample value:
https://www.facebook.com/johndoe424Facebook profile URL of this user.
-
first_nameFirst name of this user.
-
Sample value:
JohnFirst name of this user.
-
followers_totalTotal amount of followers of this user.
-
Sample value:
42Total amount of followers of this user.
-
following_totalTotal amount of users this user is following.
-
Sample value:
42Total amount of users this user is following.
-
fullnameFull name of this user.
-
Sample value:
John DoeFull name of this user.
-
genderGender of this user.
-
Sample value:
maleGender of this user.
-
googleplus_urlGoogleplus profile URL of this user.
-
Sample value:
https://plus.google.com/u/0/johndoe424Googleplus profile URL of this user.
-
idUnique object identifier (unique among all users)
-
Sample value:
xna9gn9Unique object identifier (unique among all users)
-
instagram_urlInstagram profile URL of this user.
-
Sample value:
https://www.instagram.com/johndoe424Instagram profile URL of this user.
-
is_followingTrue if the authenticated user is following this user. If no user is authenticated, it will always return false
-
Sample value:
falseTrue if the authenticated user is following this user. If no user is authenticated, it will always return false
-
item_typeGraph type of this object (hopefully
user) -
Sample value:
userGraph type of this object (hopefully
user) -
languageLanguage used by this user. Allowed values are
ISO-639-3alpha-2 and alpha-3 language codes. -
Sample value:
enLanguage used by this user. Allowed values are
ISO-639-3alpha-2 and alpha-3 language codes. -
last_nameLast name of this user.
-
Sample value:
DoeLast name of this user.
-
limitsReturns the various user limits like the maximum allowed duration and size per uploaded video etc. This property can only be obtained for the currently logged in user.
-
Sample value:
{"video_duration":3600,"video_size":2147483648}Returns the various user limits like the maximum allowed duration and size per uploaded video etc. This property can only be obtained for the currently logged in user.
-
linkedin_urlLinkedIn profile URL of this user.
-
Sample value:
https://www.linkedin.com/in/johndoe424LinkedIn profile URL of this user.
-
parentIdentifier of this user’s parent (use
parent.screennameto access its user name). You can retrieve sub-fields of thisuserobject using the dot-notation (e.g.:parent.id). -
Sample value:
x9tz791Identifier of this user’s parent (use
parent.screennameto access its user name). You can retrieve sub-fields of thisuserobject using the dot-notation (e.g.:parent.id). -
partnerWhen the partner field is set, the user auto-accepts the T&Cs (https://www.dailymotion.com/legal/partner) and becomes a partner. Returns True if this user is a partner.
-
Sample value:
falseWhen the partner field is set, the user auto-accepts the T&Cs (https://www.dailymotion.com/legal/partner) and becomes a partner. Returns True if this user is a partner.
-
pinterest_urlPinterest profile URL of this user.
-
Sample value:
https://pinterest.com/dailymotionusa/Pinterest profile URL of this user.
-
playlists_totalTotal amount of playlists of this user.
-
Sample value:
5Total amount of playlists of this user.
-
reposts_totalThe number of videos reposted by the user.
-
Sample value:
5The number of videos reposted by the user.
-
revenues_claim_last_dayTotal amount of net revenues in USD generated through claim the last day.
-
Sample value:
12Total amount of net revenues in USD generated through claim the last day.
-
revenues_claim_last_monthTotal amount of net revenues in USD generated through claim the last month.
-
Sample value:
310.2Total amount of net revenues in USD generated through claim the last month.
-
revenues_claim_last_weekTotal amount of net revenues in USD generated through claim in the last 7 sliding days.
-
Sample value:
80.7Total amount of net revenues in USD generated through claim in the last 7 sliding days.
-
revenues_claim_totalTotal amount of net revenues in USD generated through claim since the beginning.
-
Sample value:
2502.37Total amount of net revenues in USD generated through claim since the beginning.
-
revenues_paidcontent_last_dayTotal amount of net revenues in USD generated through the paid content the last day.
-
Sample value:
12Total amount of net revenues in USD generated through the paid content the last day.
-
revenues_paidcontent_last_monthTotal amount of net revenues in USD generated through the paid content the last month.
-
Sample value:
310.2Total amount of net revenues in USD generated through the paid content the last month.
-
revenues_paidcontent_last_weekTotal amount of net revenues in USD generated through the paid content in the last 7 sliding days.
-
Sample value:
80.7Total amount of net revenues in USD generated through the paid content in the last 7 sliding days.
-
revenues_paidcontent_totalTotal amount of net revenues in USD generated through the paid content since the beginning.
-
Sample value:
2502.37Total amount of net revenues in USD generated through the paid content since the beginning.
-
revenues_video_last_dayTotal amount of net revenues in USD generated through the video monetization the last day.
-
Sample value:
12Total amount of net revenues in USD generated through the video monetization the last day.
-
revenues_video_last_monthTotal amount of net revenues in USD generated through the video monetization the last month.
-
Sample value:
310.2Total amount of net revenues in USD generated through the video monetization the last month.
-
revenues_video_last_weekTotal amount of net revenues in USD generated through the video monetization in the last 7 sliding days.
-
Sample value:
80.7Total amount of net revenues in USD generated through the video monetization in the last 7 sliding days.
-
revenues_video_totalTotal amount of net revenues in USD generated through the video monetization since the beginning.
-
Sample value:
2502.37Total amount of net revenues in USD generated through the video monetization since the beginning.
-
revenues_website_last_dayTotal amount of net revenues in USD generated through the website monetization the last day.
-
Sample value:
12Total amount of net revenues in USD generated through the website monetization the last day.
-
revenues_website_last_monthTotal amount of net revenues in USD generated through the website monetization the last month.
-
Sample value:
310.2Total amount of net revenues in USD generated through the website monetization the last month.
-
revenues_website_last_weekTotal amount of net revenues in USD generated through the website monetization in the last 7 sliding days.
-
Sample value:
80.7Total amount of net revenues in USD generated through the website monetization in the last 7 sliding days.
-
revenues_website_totalTotal amount of net revenues in USD generated through the website monetization since the beginning.
-
Sample value:
2502.37Total amount of net revenues in USD generated through the website monetization since the beginning.
-
screennameReturns this user’s full name or login depending on the user’s preferences.
-
Sample value:
johndoe424Returns this user’s full name or login depending on the user’s preferences.
-
statusCurrent user account status.
-
Sample value:
activeCurrent user account status.
-
twitter_urlTwitter profile URL of this user.
-
Sample value:
https://twitter.com/johndoe424Twitter profile URL of this user.
-
urlURL of this user’s profile on Dailymotion.
-
Sample value:
https://www.dailymotion.com/johndoe424URL of this user’s profile on Dailymotion.
-
usernameUser account credentials login.
-
Sample value:
johndoe424User account credentials login.
-
username_update_requiredTrue if this user needs to update his username, False otherwise.
-
Sample value:
falseTrue if this user needs to update his username, False otherwise.
-
verifiedTrue if this user is a verified partner.
-
Sample value:
falseTrue if this user is a verified partner.
-
videos_totalTotal amount of public videos of this user.
-
Sample value:
27Total amount of public videos of this user.
-
views_totalTotal aggregated number of views on all of this user’s videos.
-
Sample value:
1239873Total aggregated number of views on all of this user’s videos.
-
website_urlPersonal website URL of this user.
-
Sample value:
https://www.johndoe424.netPersonal website URL of this user.
User deprecated fields
These deprecated fields were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each field. Do not use any of these for a new project as they may disappear without warning.
-
analytics_servicesAnalytics service of this user.
-
Sample value:
{ "xiti": { "website_id": 1567829778, "subdomain": "www.mysite.com", "second_level_id": 68965678, "internal_domain": "test.com" }, "google": "UA-12345-1", "estat":"123456789" }Analytics service of this user.
-
avatar_large_urlURL of this user’s avatar image (160px wide square).
-
Sample value:
http://www.example.orgURL of this user’s avatar image (160px wide square).
-
avatar_medium_urlURL of this user’s avatar image (80px wide square).
-
Sample value:
http://www.example.orgURL of this user’s avatar image (80px wide square).
-
avatar_small_urlURL of this user’s avatar image (40px wide square).
-
Sample value:
http://www.example.orgURL of this user’s avatar image (40px wide square).
-
background_urlURL of this user’s background image (Max 1680px by 2000px).
-
Sample value:
http://www.example.orgURL of this user’s background image (Max 1680px by 2000px).
-
Sample value:
http://www.example.orgURL of this user’s banner image (Max 970px by 120px).
-
fans_totalTotal amount of fans of this user.
-
Sample value:
42Total amount of fans of this user.
-
live_notification_followed_onairTrue if this user has authorized live notifications, false otherwise.
-
Sample value:
falseTrue if this user has authorized live notifications, false otherwise.
-
typeType of user account.
-
Sample value:
ugcType of user account.
-
videostarShowcased video of this user. You can retrieve sub-fields of this
videoobject using the dot-notation (e.g.:videostar.id). -
Sample value:
x9tz791Showcased video of this user. You can retrieve sub-fields of this
videoobject using the dot-notation (e.g.:videostar.id).
User filters
Here is the list of filters you can use to limit a result set of
user objects. You can use these by passing them as query-string
parameters with your request.
-
countryCountry of residence of this user. Allowed values are ISO 3166-1 alpha-2 country codes.
-
Sample value:
USCountry of residence of this user. Allowed values are ISO 3166-1 alpha-2 country codes.
-
exclude_idsList of user ids to exclude from the result set.
-
Sample value:
xk2k3, x26m1j4, xkeg4List of user ids to exclude from the result set.
-
flagsList of simple boolean flags available to reduce the result set.
-
Sample value:
mostpopular, partnerList of simple boolean flags available to reduce the result set.
-
idsLimit the result set to this list of user channels identifiers.
-
Sample value:
xk2k3, x1fz4ii, xw83x45Limit the result set to this list of user channels identifiers.
-
languageLimit the result set to users using this language.
-
Sample value:
enLimit the result set to users using this language.
-
mostpopularLimit the result set to the most popular users.
-
Sample value:
n/aLimit the result set to the most popular users.
-
parentLimit the result set to children of this user.
-
Sample value:
x9tz791Limit the result set to children of this user.
-
partnerLimit the result set to partner users.
-
Sample value:
n/aLimit the result set to partner users.
-
recommendedLimit the result set to recommended users.
-
Sample value:
n/aLimit the result set to recommended users.
-
recommendedforchannelLimit the result set to this channel’s top users.
-
Sample value:
newsLimit the result set to this channel’s top users.
-
sortChange the default result set ordering. Notes:
- Deprecated sorts (
recent,daily,weekly,monthly,rated,random,alpha,alphaZA,alphaZAFullname)
- Deprecated sorts (
-
Sample value:
popularChange the default result set ordering. Notes:
- Deprecated sorts (
recent,daily,weekly,monthly,rated,random,alpha,alphaZA,alphaZAFullname)
- Deprecated sorts (
-
usernamesLimit the results set to users with a list of usernames
-
Sample value:
rs, spi0nLimit the results set to users with a list of usernames
-
verifiedLimit the result set to verified partner users.
-
Sample value:
n/aLimit the result set to verified partner users.
User deprecated filters
These deprecated filters were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each filter. Do not use any of these for a new project as they may disappear without warning.
-
filtersList of simple boolean filters available to reduce the result set.
-
Sample value:
mostpopularList of simple boolean filters available to reduce the result set.
-
listLimit the result set to this user list.
-
Sample value:
recommendedLimit the result set to this user list.
-
searchLimit the result set to this full text search.
-
Sample value:
johnLimit the result set to this full text search.
User connections
Connections through the data API are used to link objects with each others. Some objects
can only be accessed and/or created through connections since they have no point in
existing on their own. Here is the list of connections available through the
user object.
-
childrenList of this user’s children.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of this user’s children.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's children connection
You can retrieve the list of children connected to a
userobject by issuing a GET request to/me/children. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any user is connected to an existing
userobject by issuing a GET request to/me/children/<USER_ID>. This will return a list containing only the connecteduserobject or an empty list if it is not connected.Create a user's children connection
You can connect children to an existing
userobject one by one by issuing multiple POST requests to/me/children/<USER_ID>.Delete a user's children connection
You can disconnect children from a
userobject by issuing DELETE requests to/me/children/<USER_ID>. You can also disconnect all children at once by issuing a POST request to/me/childrenwith an emptyidsquery-string parameter.
Test it with the API Explorer. -
featuresList of videos featured by this user.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of videos featured by this user.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's features connection
You can retrieve the list of features connected to a
userobject by issuing a GET request to/me/features. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any video is connected to an existing
userobject by issuing a GET request to/me/features/<VIDEO_ID>. This will return a list containing only the connectedvideoobject or an empty list if it is not connected.Create a user's features connection
You can connect features to an existing
userobject one by one by issuing multiple POST requests to/me/features/<VIDEO_ID>.Delete a user's features connection
You can disconnect features from a
userobject by issuing DELETE requests to/me/features/<VIDEO_ID>. You can also disconnect all features at once by issuing a POST request to/me/featureswith an emptyidsquery-string parameter.
Test it with the API Explorer. -
followersList of this user’s followers.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of this user’s followers.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's followers connection
You can retrieve the list of followers connected to a
userobject by issuing a GET request to/me/followers. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
followingList of users followed by this user.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of users followed by this user.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's following connection
You can retrieve the list of following connected to a
userobject by issuing a GET request to/me/following. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any user is connected to an existing
userobject by issuing a GET request to/me/following/<USER_ID>. This will return a list containing only the connecteduserobject or an empty list if it is not connected.Create a user's following connection
You can connect following to an existing
userobject one by one by issuing multiple POST requests to/me/following/<USER_ID>.Delete a user's following connection
You can disconnect following from a
userobject by issuing DELETE requests to/me/following/<USER_ID>. You can also disconnect all following at once by issuing a POST request to/me/followingwith an emptyidsquery-string parameter.
Test it with the API Explorer. -
likesList of videos liked by the user.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of videos liked by the user.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's likes connection
You can retrieve the list of likes connected to a
userobject by issuing a GET request to/me/likes. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any video is connected to an existing
userobject by issuing a GET request to/me/likes/<VIDEO_ID>. This will return a list containing only the connectedvideoobject or an empty list if it is not connected.Create a user's likes connection
You can connect likes to an existing
userobject one by one by issuing multiple POST requests to/me/likes/<VIDEO_ID>.Delete a user's likes connection
You can disconnect likes from a
userobject by issuing DELETE requests to/me/likes/<VIDEO_ID>. You can also disconnect all likes at once by issuing a POST request to/me/likeswith an emptyidsquery-string parameter.
Test it with the API Explorer. -
parentsList of this user’s parents.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of this user’s parents.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's parents connection
You can retrieve the list of parents connected to a
userobject by issuing a GET request to/me/parents. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any user is connected to an existing
userobject by issuing a GET request to/me/parents/<USER_ID>. This will return a list containing only the connecteduserobject or an empty list if it is not connected.Create a user's parents connection
You can connect parents to an existing
userobject one by one by issuing multiple POST requests to/me/parents/<USER_ID>.Delete a user's parents connection
You can disconnect parents from a
userobject by issuing DELETE requests to/me/parents/<USER_ID>. You can also disconnect all parents at once by issuing a POST request to/me/parentswith an emptyidsquery-string parameter.
Test it with the API Explorer. -
playersList of players created by this user
This connection joins an object of typeuserwith a list ofplayerobjects. -
List of players created by this user
This connection joins an object of typeuserwith a list ofplayerobjects.Read the user's players connection
You can retrieve the list of players connected to a
userobject by issuing a GET request to/me/players. You can specify the list of fields from theplayerobjects to be returned using thefieldsparameter.
Test it with the API Explorer.Create a user's players connection
You can create a new
playerobject and automatically connect it to an existinguserobject by issuing a POST request to/me/players.In return, you will receive a
dictvalue containing the newly created object, including its identifier.
Test it with the API Explorer.Delete a user's players connection
You can delete a
playerobject connected to auserobject the same way you would if it wasn't attached, that is by issuing a DELETE request to/player/<PLAYER_ID>.
Test it with the API Explorer. -
relationsList of user accounts related to this user through their parents.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of user accounts related to this user through their parents.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's relations connection
You can retrieve the list of relations connected to a
userobject by issuing a GET request to/me/relations. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
subscriptionsList of videos from the channels the user follow.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of videos from the channels the user follow.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's subscriptions connection
You can retrieve the list of subscriptions connected to a
userobject by issuing a GET request to/me/subscriptions. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
videosList of videos uploaded by this user.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of videos uploaded by this user.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's videos connection
You can retrieve the list of videos connected to a
userobject by issuing a GET request to/me/videos. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.Create a user's videos connection
You can create a new
videoobject and automatically connect it to an existinguserobject by issuing a POST request to/me/videoswith the following parameters.Type Parameter Required Description STRING content_providerNo Content provider name.
In return, you will receive a
dictvalue containing the newly created object, including its identifier.
Test it with the API Explorer.Delete a user's videos connection
You can delete a
videoobject connected to auserobject the same way you would if it wasn't attached, that is by issuing a DELETE request to/video/<VIDEO_ID>.
Test it with the API Explorer. -
watchlaterList of watch later videos.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of watch later videos.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's watchlater connection
You can retrieve the list of watchlater connected to a
userobject by issuing a GET request to/me/watchlater. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any video is connected to an existing
userobject by issuing a GET request to/me/watchlater/<VIDEO_ID>. This will return a list containing only the connectedvideoobject or an empty list if it is not connected.Create a user's watchlater connection
You can connect watchlater to an existing
userobject one by one by issuing multiple POST requests to/me/watchlater/<VIDEO_ID>.Delete a user's watchlater connection
You can disconnect watchlater from a
userobject by issuing DELETE requests to/me/watchlater/<VIDEO_ID>. You can also disconnect all watchlater at once by issuing a POST request to/me/watchlaterwith an emptyidsquery-string parameter.
Test it with the API Explorer.
User deprecated connections
These deprecated connections were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each filter. Do not use any of these for a new project as they may disappear without warning.
-
favoritesList of videos favorited by this user.
This connection joins an object of typeuserwith a list ofvideoobjects. -
List of videos favorited by this user.
This connection joins an object of typeuserwith a list ofvideoobjects.Read the user's favorites connection
You can retrieve the list of favorites connected to a
userobject by issuing a GET request to/me/favorites. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer.You can also see if any video is connected to an existing
userobject by issuing a GET request to/me/favorites/<VIDEO_ID>. This will return a list containing only the connectedvideoobject or an empty list if it is not connected.Create a user's favorites connection
You can connect favorites to an existing
userobject one by one by issuing multiple POST requests to/me/favorites/<VIDEO_ID>.Delete a user's favorites connection
You can disconnect favorites from a
userobject by issuing DELETE requests to/me/favorites/<VIDEO_ID>. You can also disconnect all favorites at once by issuing a POST request to/me/favoriteswith an emptyidsquery-string parameter.
Test it with the API Explorer. -
recommendedList of users recommended to this user.
This connection joins an object of typeuserwith a list ofuserobjects. -
List of users recommended to this user.
This connection joins an object of typeuserwith a list ofuserobjects.Read the user's recommended connection
You can retrieve the list of recommended connected to a
userobject by issuing a GET request to/me/recommended. You can specify the list of fields from theuserobjects to be returned using thefieldsparameter.
Test it with the API Explorer.
Video
Video
The video object is the foundation of Dailymotion’ service. Videos are metadata containers wrapped around media
streams and can be accessed either directly or through several connections through the Data API.
Manipulating videos
To retrieve a specific video object,
perform a GET request on
/video/<VIDEO_ID>.
By default, only a small number of fields marked as default are returned (such
as the object identifier), please refer to
the complete field list below. For help on requesting
specific fields, see the fields selection section.
To retrieve a list of video objects,
perform a GET request on
/videos.
You can also use one of the several connections available through the
channel, playlist, user and video graph objects.
You can then use filters (if any) to filter down the
result set, see the filtering section for more information.
To create an object of type video,
perform a POST request on
the connection available through the
user graph object.
Join all the fields you want to specify and their value as an
application/x-www-form-urlencoded payload. Please note that, for creation,
some fields and/or specific query-string parameters could be mandatory, please refer to
the field list below.
| Type | Parameter | Required | Description |
|---|---|---|---|
| STRING |
content_provider
|
No | Content provider name. |
To edit an object of type video,
perform a POST request on
/video/<VIDEO_ID>.
Join all the fields you want to update and their new value as an
application/x-www-form-urlencoded payload.
To delete an object of type video,
perform a DELETE request on
/video/<VIDEO_ID>.
If you do not receive any error (empty result set), it means that the deletion was
successful.
Sample video API call:
/video/x26m1j4
Test it further with the
API Explorer.
Video fields
Here is the list of fields you can retrieve on every video object.
You can retrieve these using the fields query-string parameter on any graph
object request. See the fields selection section for
more information.
-
advertising_custom_targetReturns the custom target value for
given video. This value is sent to Liverail as an LR_DM_ADPARAM param. This can be used for targeting in liverail.
-
Sample value:
string exampleReturns the custom target value for
given video. This value is sent to Liverail as an LR_DM_ADPARAM param. This can be used for targeting in liverail.
-
advertising_instream_blockedTrue if the owner blocked instream ads on this video.
-
Sample value:
falseTrue if the owner blocked instream ads on this video.
-
ai_chapter_generation_requiredWhether AI chapter generation is required for the video or not.
-
Sample value:
trueWhether AI chapter generation is required for the video or not.
-
ai_subtitle_languagesList of language codes requested for AI-generated subtitles.
-
Sample value:
en, fr, esList of language codes requested for AI-generated subtitles.
-
allow_embedTrue if this video can be embedded outside of Dailymotion.
-
Sample value:
falseTrue if this video can be embedded outside of Dailymotion.
-
allowed_in_playlistsTrue if this video can be added to playlists.
-
Sample value:
falseTrue if this video can be added to playlists.
-
aspect_ratioAspect ratio of this video (i.e.: 1.33333 for 4/3, 1.77777 for 16/9…).
-
Sample value:
1.7777777Aspect ratio of this video (i.e.: 1.33333 for 4/3, 1.77777 for 16/9…).
-
audienceCurrent live stream audience.
nullif the audience shouldn’t be taken into consideration. -
Sample value:
450Current live stream audience.
nullif the audience shouldn’t be taken into consideration. -
audience_totalTotal live stream audience since stream creation.
nullif the audience shouldn’t be taken into account. -
Sample value:
2457Total live stream audience since stream creation.
nullif the audience shouldn’t be taken into account. -
audience_urlAudience meter URL to be used for this video.
nullif the audience shouldn’t be taken into account. -
Sample value:
https://195.8.215.201/vxqjkf1Audience meter URL to be used for this video.
nullif the audience shouldn’t be taken into account. -
available_formatsList of available stream formats for this video.
-
Sample value:
ld, sd, hq, hd720, hd1080List of available stream formats for this video.
-
channelChannel of this video. You can retrieve sub-fields of this
channelobject using the dot-notation (e.g.:channel.id). -
Sample value:
newsChannel of this video. You can retrieve sub-fields of this
channelobject using the dot-notation (e.g.:channel.id). -
checksumVideo file hash.
-
Sample value:
"64f771f2fccff6cef46f2f34112a67ff8e940103"Video file hash.
-
claim_rule_blocked_countriesList of countries where this video is blocked by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will block this video in France and US.
-
Sample value:
FR, USList of countries where this video is blocked by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will block this video in France and US.
-
claim_rule_monetized_countriesList of countries where this video is monetized by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will monetize this video in France and US.
-
Sample value:
FR, USList of countries where this video is monetized by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will monetize this video in France and US.
-
claim_rule_tracked_countriesList of countries where this video is tracked by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will track this video in France and US but it won’t be blocked nor monetized by the claimer.
-
Sample value:
FR, USList of countries where this video is tracked by the claimer. A list of country codes (ISO 3166-1 alpha-2) e.g.: ["FR", "US"] will track this video in France and US but it won’t be blocked nor monetized by the claimer.
-
content_providerContent provider name.
-
Sample value:
cbsContent provider name.
-
content_provider_idContent provider identifier.
-
Sample value:
UAMM20701001Content provider identifier.
-
countryCountry of this video (declarative, may be null). Allowed values are ISO 3166-1 alpha-2 country codes.
-
Sample value:
USCountry of this video (declarative, may be null). Allowed values are ISO 3166-1 alpha-2 country codes.
-
created_timeDate and time when this video was uploaded.
-
Sample value:
1287507036Date and time when this video was uploaded.
-
custom_classificationList of customizable values (maximum of 3 values)
-
Sample value:
ref1, ref2, ref3List of customizable values (maximum of 3 values)
-
descriptionComprehensive description of this video. Maximumm length is set to 3000 (5000 for partners).
-
Sample value:
This is a sample description for my video.Comprehensive description of this video. Maximumm length is set to 3000 (5000 for partners).
-
durationDuration of this video in seconds.
-
Sample value:
423Duration of this video in seconds.
-
embed_htmlHTML embedding code. Deprecation notice:
Former endpointdailymotion.com/embedhas been deprecated.
Learn more about the migration towards new endpoint.
Use thecontextparameter to specify a Player ID, to use custom Player configuration and ensure optimized monetization. -
Sample value:
<iframe frameborder="0" src="https://geo.dailymotion.com/player/xc394.html?video=x8mubmn" width="480" height="270"HTML embedding code. Deprecation notice:
Former endpointdailymotion.com/embedhas been deprecated.
Learn more about the migration towards new endpoint.
Use thecontextparameter to specify a Player ID, to use custom Player configuration and ensure optimized monetization.Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing player Use a Player ID
Example:context=player%3D{PlayerID}No Yes No -
embed_urlURL to embed this video. Deprecation notice:
Former endpointdailymotion.com/embedhas been deprecated.
Learn more about the migration towards new endpoint.
Use thecontextparameter to specify a Player ID, to use custom Player configuration and ensure optimized monetization. -
Sample value:
https://geo.dailymotion.com/player/xc394.html?video=x8mubmnURL to embed this video. Deprecation notice:
Former endpointdailymotion.com/embedhas been deprecated.
Learn more about the migration towards new endpoint.
Use thecontextparameter to specify a Player ID, to use custom Player configuration and ensure optimized monetization.Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing player Use a Player ID
Example:context=player%3D{PlayerID}No Yes No -
encoding_progressWhen this video
statusfield is set toprocessing, this parameter indicates a number between 0 and 100 corresponding to the percentage of encoding already completed. When this value reaches 100, it’s possible for the owner to play his video. For other statuses this parameter returns -1. See also publishing_progress. -
Sample value:
22When this video
statusfield is set toprocessing, this parameter indicates a number between 0 and 100 corresponding to the percentage of encoding already completed. When this value reaches 100, it’s possible for the owner to play his video. For other statuses this parameter returns -1. See also publishing_progress. -
end_timeEnd date and time of this live stream.
-
Sample value:
1404129540End date and time of this live stream.
-
expiry_dateDate and time after which this video will be made private. Beware: if the video was originally defined as private, setting this value will automatically make it public between its
publish_dateandexpiry_date. This setting only affects the visibility of the video, it will still be available to anyone who knows how to access the video’s private URL even after this date. Omitting this value while setting a pastpublish_datenever expires the video. Set tonull(recommended) or a date afterJan 19th 2038to reset this parameter.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
Sample value:
1287507036Date and time after which this video will be made private. Beware: if the video was originally defined as private, setting this value will automatically make it public between its
publish_dateandexpiry_date. This setting only affects the visibility of the video, it will still be available to anyone who knows how to access the video’s private URL even after this date. Omitting this value while setting a pastpublish_datenever expires the video. Set tonull(recommended) or a date afterJan 19th 2038to reset this parameter.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
expiry_date_availabilityBy default, videos reaching their
expiry_dateare still available to anyone who knows how to access their private URL. Set this tofalseto disable this behavior. -
Sample value:
falseBy default, videos reaching their
expiry_dateare still available to anyone who knows how to access their private URL. Set this tofalseto disable this behavior. -
expiry_date_deletionBy default, videos are deleted (after a grace period) when their
expiry_dateis reached. Set this tofalseto disable this behavior.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
Sample value:
falseBy default, videos are deleted (after a grace period) when their
expiry_dateis reached. Set this tofalseto disable this behavior.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
explicitTrue if this video is explicit. Warning: It’s not possible to remove this flag once set.
-
Sample value:
falseTrue if this video is explicit. Warning: It’s not possible to remove this flag once set.
-
filmstrip_60_urlURL of the filmstrip sprite of this video. 100 images arranged in a 10×10 grid. Not available for short videos.
-
Sample value:
https://static2.dmcdn.net/static/video/184/210/46012481:jpeg_preview_contact.jpg?20120608161743URL of the filmstrip sprite of this video. 100 images arranged in a 10×10 grid. Not available for short videos.
-
first_frame_60_urlURL of this video’s first_frame image (60px height).
-
Sample value:
https://s2.dmcdn.net/F83Oh/x60-sjB.jpgURL of this video’s first_frame image (60px height).
-
first_frame_120_urlURL of this video’s first_frame image (120px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x120-Zfs.jpgURL of this video’s first_frame image (120px height).
-
first_frame_180_urlURL of this video’s first_frame image (180px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x180-o-x.jpgURL of this video’s first_frame image (180px height).
-
first_frame_240_urlURL of this video’s first_frame image (240px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x240-tGY.jpgURL of this video’s first_frame image (240px height).
-
first_frame_360_urlURL of this video’s first_frame image (360px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x360-KuJ.jpgURL of this video’s first_frame image (360px height).
-
first_frame_480_urlURL of this video’s first_frame image (480px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x480-hw4.jpgURL of this video’s first_frame image (480px height).
-
first_frame_720_urlURL of this video’s first_frame image (720px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x720-Ec7.jpgURL of this video’s first_frame image (720px height).
-
first_frame_1080_urlURL of this video’s first_frame image (1080px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x1080-Ec7.jpgURL of this video’s first_frame image (1080px height).
-
geoblockingList of countries where this video is or isn’t accessible. A list of country codes (ISO 3166-1 alpha-2) starting with the
denyorallow(default) keyword to define if this is a block or an allowlist, e.g.: bothallow, fr, us, itandfr, us, itwill allow this video to be accessed in France, US and Italy and deny all other countries. On the other hand,deny, us, frwill deny access to this video in the US and France and allow it everywhere else. An empty list or simplyallow(the default) will revert the behavior to allow from everywhere. To set geoblocking on your videos, you have to be a Dailymotion partner. -
Sample value:
allow, fr, us, itList of countries where this video is or isn’t accessible. A list of country codes (ISO 3166-1 alpha-2) starting with the
denyorallow(default) keyword to define if this is a block or an allowlist, e.g.: bothallow, fr, us, itandfr, us, itwill allow this video to be accessed in France, US and Italy and deny all other countries. On the other hand,deny, us, frwill deny access to this video in the US and France and allow it everywhere else. An empty list or simplyallow(the default) will revert the behavior to allow from everywhere. To set geoblocking on your videos, you have to be a Dailymotion partner. -
geolocGeolocalization for this video. Result is an array with the longitude and latitude using point notation. Longitude range is from -180.0 (West) to 180.0 (East). Latitude range is from -90.0 (South) to 90.0 (North).
-
Sample value:
-122.40061283112, 37.782112059896Geolocalization for this video. Result is an array with the longitude and latitude using point notation. Longitude range is from -180.0 (West) to 180.0 (East). Latitude range is from -90.0 (South) to 90.0 (North).
-
Sample value:
#hello, #worldList of hashtags attached to this video.
-
heightHeight of this video from the source (px).
-
Sample value:
240Height of this video from the source (px).
-
idUnique object identifier (unique among all videos)
-
Sample value:
xpqkv39Unique object identifier (unique among all videos)
-
is_created_for_kidsTrue if this video is "Created for Kids" (intends to target an audience under the age of 16).
-
Sample value:
falseTrue if this video is "Created for Kids" (intends to target an audience under the age of 16).
-
item_typeGraph type of this object (hopefully
video) -
Sample value:
videoGraph type of this object (hopefully
video) -
languageLanguage of this video. This value is declarative and corresponds to the user-declared spoken language of the video. Allowed values are
ISO-639-3alpha-2 and alpha-3 language codes. -
Sample value:
enLanguage of this video. This value is declarative and corresponds to the user-declared spoken language of the video. Allowed values are
ISO-639-3alpha-2 and alpha-3 language codes. -
liked_atDate and time when this video was liked by the user.
-
Sample value:
1287507036Date and time when this video was liked by the user.
-
likes_totalTotal amount of times this video has been liked.
-
Sample value:
102Total amount of times this video has been liked.
-
live_ad_break_end_timeEstimated time for the end of the commercial ad break.
-
Sample value:
1287507036Estimated time for the end of the commercial ad break.
-
live_ad_break_launchLaunches a given number of ad breaks for this live stream.
-
Sample value:
1Launches a given number of ad breaks for this live stream.
-
live_ad_break_remainingReturns the number of remaining ad break for this live stream.
-
Sample value:
2Returns the number of remaining ad break for this live stream.
-
live_airing_timeDate and time when this live stream went on-air for the last time
-
Sample value:
1287507036Date and time when this live stream went on-air for the last time
-
live_audio_bitrateLive stream information: audio bitrate (b/s)
-
Sample value:
125928Live stream information: audio bitrate (b/s)
-
live_auto_recordTrue if this live stream is automatically recorded.
-
Sample value:
falseTrue if this live stream is automatically recorded.
-
live_backup_videoThe live backup video, it is get/set as an xid, but is stored as an integer ID in DB
-
Sample value:
xidThe live backup video, it is get/set as an xid, but is stored as an integer ID in DB
-
live_ingestsList of available live ingests.
-
Sample value:
{"Default":"publish.dailymotion.com"}List of available live ingests.
-
live_publish_srt_urlURL to publish the live source stream on using SRT. The current logged-in user needs to own this video to retrieve this field.
-
Sample value:
srt://publish-srt.dailymotion.com:19213/?streamid=publish:publish-dm/x26m1j4?auth=...URL to publish the live source stream on using SRT. The current logged-in user needs to own this video to retrieve this field.
Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing refresh Pass this context value (refresh=true) if you need to refresh the stream key for the publish URL.
No Yes No -
live_publish_urlURL to publish the live source stream on. The current logged in user need to own this video in order to retrieve this field.
-
Sample value:
rtmp://publish.dailymotion.com/publish-dm/x26m1j4?auth=...URL to publish the live source stream on. The current logged in user need to own this video in order to retrieve this field.
Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing refresh Pass this context value (refresh=true) if you need to refresh the stream key for the publish URL.
No Yes No -
log_external_view_urlsA one time usage list of URLs to be called in order log a view on this video made on a
third party site (i.e.: embed player). See the
log_view_urlsfield for format. -
Sample value:
{"viewlog":"https:\/\/logger.dm.com\/..."}A one time usage list of URLs to be called in order log a view on this video made on a
third party site (i.e.: embed player). See the
log_view_urlsfield for format.Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing autoplay Whether the video autoplays or not.
No Yes No curator Login or id of a user that acts as curator.
No Yes No client_embedder Value of the app query parameter passed by the client.
No Yes No embedder_url URL of the page that embeds the video.
No Yes No referer_url URL of the page that led the user to the current page.
No Yes No related Array that describes the related settings used at the time the API call is made:
{"algo": "foo", "from_algo": "bar", "gravity": {"gr_reco": "42", "rec_id": "12"}, "tracker": "foo.watch"}No Yes No sid Session id of the current reader.
No Yes No tracking_urls Array of custom tracking URLs that respect the
log_view_urlspecification.No Yes No -
log_view_urlA one time usage URL to log a view on this video. This URL expires after a short period of time, thus you should request it at the last moment.
-
Sample value:
https://www.dailymotion.com/logger/video/access/x26m1j4?session_id=...A one time usage URL to log a view on this video. This URL expires after a short period of time, thus you should request it at the last moment.
Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing embedder_url URL of the page that embeds the video.
No Yes No referer_url URL of the page that led the user to the current page.
No Yes No -
log_view_urlsA one time usage list of URLs that will be called in order to log video view events.
The format of the dict is a key containing the label of the log URL + some directive on when to call it and the URL as value.
If the app encounters a key format it doesn’t understand, it should skip it with a console warning.
The format of the key is as follows:<label>(@<rule>)?
The label value is a alphanumeric string :[A-Za-z0-9]+
If no @ followed by rules is present, it means the URL has to be called as soon as the video starts (equivalent to label@0).
When the "mode" field of the video object is "live" and any ‘%’ character is found in the rules, the key should be skipped with a console warning.
The rule format is as follows:<delay>([,|]<delay>)*(/<recurrence>)?
The delay value can contain time spent in seconds (## or ##s) or minutes (##m), or in percentage of video duration (##%).
Delays can be separated by comas (all delays apply) or pipes (first match win, others are ignored).
It is not allowed to mix comas and pipes in the same rule. If not specified, default delay should be considered as "0s".
The recurrence value can contain time spent in seconds (## or ##s) or minutes (##m), or in percentage of video duration (##%).
The first recurrent trigger must occur after all the relevant delays have been triggered. It means that delay condition(s) (if valid) have total priority over the recurrence condition (see examples below).
Here are examples of valid keys:- logview : triggered as soon as the video starts.
- liked@50%|10m : triggered when the user has spent the equivalent of 50% of the total video duration (time spent by the user = <video duration in seconds> * 0.5) or watched 10 minutes of the video (first match win)
- ads@10s,639s : triggered when reaching 10 seconds AND 639 seconds of playback (all delays apply)
- progress@10s/30s : triggered when reaching 10 seconds, and then each time the user watch 30 seconds of the video
- progress@10s/10% : triggered when reaching 10 seconds, and then each time the user watch the equivalent of 10% of the total video duration (<video duration in seconds> * 0.1)
- progress@/20% : triggered as soon as the video starts, and then each time the user watch the equivalent of 20% of the total video duration (<video duration in seconds> * 0.2)
The URL may contain markers that must be replaced by the client:
- %session% marker is replaced by a generated UDID stored on the client to identify the users session over several requests. If the app can’t store such id, the URL must be ignored.
- %time% marker is replaced by an integer value containing the total time spent in seconds by the client since he has started the video (it is NOT the number of seconds of the player playback position). For example, if the user watch 10 seconds of the video, then seek to 70% of the video and watch 5 additional seconds then stop, %time% is equal to 15 (seconds).
- %position% marker is replaced by a float value between 0 and 1 (decimal separator is a point and not a coma and with at least 3 decimals) containing the current position of the player playback in percentage (it may be possible that multiple events are sent with the same position value within a single video view, when a seek occured). When the "mode" field is "live", this value should always be replaced by 0.
-
Sample value:
{"viewlog":"https:\/\/logger.dm.com\/..."}A one time usage list of URLs that will be called in order to log video view events.
The format of the dict is a key containing the label of the log URL + some directive on when to call it and the URL as value.
If the app encounters a key format it doesn’t understand, it should skip it with a console warning.
The format of the key is as follows:<label>(@<rule>)?
The label value is a alphanumeric string :[A-Za-z0-9]+
If no @ followed by rules is present, it means the URL has to be called as soon as the video starts (equivalent to label@0).
When the "mode" field of the video object is "live" and any ‘%’ character is found in the rules, the key should be skipped with a console warning.
The rule format is as follows:<delay>([,|]<delay>)*(/<recurrence>)?
The delay value can contain time spent in seconds (## or ##s) or minutes (##m), or in percentage of video duration (##%).
Delays can be separated by comas (all delays apply) or pipes (first match win, others are ignored).
It is not allowed to mix comas and pipes in the same rule. If not specified, default delay should be considered as "0s".
The recurrence value can contain time spent in seconds (## or ##s) or minutes (##m), or in percentage of video duration (##%).
The first recurrent trigger must occur after all the relevant delays have been triggered. It means that delay condition(s) (if valid) have total priority over the recurrence condition (see examples below).
Here are examples of valid keys:- logview : triggered as soon as the video starts.
- liked@50%|10m : triggered when the user has spent the equivalent of 50% of the total video duration (time spent by the user = <video duration in seconds> * 0.5) or watched 10 minutes of the video (first match win)
- ads@10s,639s : triggered when reaching 10 seconds AND 639 seconds of playback (all delays apply)
- progress@10s/30s : triggered when reaching 10 seconds, and then each time the user watch 30 seconds of the video
- progress@10s/10% : triggered when reaching 10 seconds, and then each time the user watch the equivalent of 10% of the total video duration (<video duration in seconds> * 0.1)
- progress@/20% : triggered as soon as the video starts, and then each time the user watch the equivalent of 20% of the total video duration (<video duration in seconds> * 0.2)
The URL may contain markers that must be replaced by the client:
- %session% marker is replaced by a generated UDID stored on the client to identify the users session over several requests. If the app can’t store such id, the URL must be ignored.
- %time% marker is replaced by an integer value containing the total time spent in seconds by the client since he has started the video (it is NOT the number of seconds of the player playback position). For example, if the user watch 10 seconds of the video, then seek to 70% of the video and watch 5 additional seconds then stop, %time% is equal to 15 (seconds).
- %position% marker is replaced by a float value between 0 and 1 (decimal separator is a point and not a coma and with at least 3 decimals) containing the current position of the player playback in percentage (it may be possible that multiple events are sent with the same position value within a single video view, when a seek occured). When the "mode" field is "live", this value should always be replaced by 0.
Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing autoplay Whether the video autoplays or not.
No Yes No curator Login or id of a user that acts as curator.
No Yes No client_embedder Value of the app query parameter passed by the client.
No Yes No embedder_url URL of the page that embeds the video.
No Yes No referer_url URL of the page that led the user to the current page.
No Yes No related Array that describes the related settings used at the time the API call is made:
{"algo": "foo", "from_algo": "bar", "gravity": {"gr_reco": "42", "rec_id": "12"}, "tracker": "foo.watch"}No Yes No sid Session id of the current reader.
No Yes No tracking_urls Array of custom tracking URLs that respect the
log_view_urlspecification.No Yes No -
media_typeMedia type of this content.
-
Sample value:
videoMedia type of this content.
-
modeStream mode.
-
Sample value:
vodStream mode.
-
onairTrue if this live stream is broadcasting and watchable in the player.
-
Sample value:
falseTrue if this live stream is broadcasting and watchable in the player.
-
ownerOwner of this video. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
Sample value:
x6c7c8tOwner of this video. You can retrieve sub-fields of this
userobject using the dot-notation (e.g.:owner.id). -
partnerTrue if the video is owned by a partner.
-
Sample value:
falseTrue if the video is owned by a partner.
-
passwordIf a video is protected by a password, this field contains the password (deprecated, as it now only returns NULL). When setting a value on this field, the video visibility changes to "password protected". Setting it to NULL removes the password protection: the visibility is changed to "public".
-
Sample value:
hdI76FGhwo3nIf a video is protected by a password, this field contains the password (deprecated, as it now only returns NULL). When setting a value on this field, the video visibility changes to "password protected". Setting it to NULL removes the password protection: the visibility is changed to "public".
-
password_protectedTrue if this video is password-protected.
-
Sample value:
trueTrue if this video is password-protected.
-
player_next_videoA unique video picked by the owner, displayed when video’s playback ends. You can retrieve sub-fields of this
videoobject using the dot-notation (e.g.:player_next_video.id). -
Sample value:
x6c7c8tA unique video picked by the owner, displayed when video’s playback ends. You can retrieve sub-fields of this
videoobject using the dot-notation (e.g.:player_next_video.id). -
player_next_videosAn array of video picked by the owner, displayed when video’s playback ends.
-
Sample value:
x1234, x1234An array of video picked by the owner, displayed when video’s playback ends.
-
preview_240p_urlURL of this video’s video preview.
-
Sample value:
https://www.dailymotion.com/cdn/H264-320x240/video/x26m1j4.pmp4?sec=...URL of this video’s video preview.
-
preview_360p_urlURL of this video’s video preview.
-
Sample value:
https://www.dailymotion.com/cdn/H264-512x384/video/x26m1j4.pmp4?sec=...URL of this video’s video preview.
-
preview_480p_urlURL of this video’s video preview.
-
Sample value:
https://www.dailymotion.com/cdn/H264-848x480/video/x26m1j4.pmp4?sec=...URL of this video’s video preview.
-
privateTrue if this video is private.
-
Sample value:
trueTrue if this video is private.
-
private_idThe private video id. Null if the authentificated user is not the owner of this video. Although successive calls will generate different ids, a private id generated for a given video will always be valid. Beware that if the video is private and you disclose this private id, your video is no longer private.
-
Sample value:
k1KqUqDdmllgej374a2The private video id. Null if the authentificated user is not the owner of this video. Although successive calls will generate different ids, a private id generated for a given video will always be valid. Beware that if the video is private and you disclose this private id, your video is no longer private.
-
publish_dateDate and time after which this video will be made publicly available. Beware: if the video was originally defined as private, setting this value will automatically make it public after the
publish_date. This setting only affects the visibility of the video, it will still be available to anyone who knows how to access the video’s private URL even before this date. Omitting this value while setting a futureexpiry_dateimmediately publishes the video. Set tonull(recommended) or a date beforeJan 1st 1990to reset this parameter.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
Sample value:
1287507036Date and time after which this video will be made publicly available. Beware: if the video was originally defined as private, setting this value will automatically make it public after the
publish_date. This setting only affects the visibility of the video, it will still be available to anyone who knows how to access the video’s private URL even before this date. Omitting this value while setting a futureexpiry_dateimmediately publishes the video. Set tonull(recommended) or a date beforeJan 1st 1990to reset this parameter.Note : Only
verified partnersare allowed to manage video availability and expiration dates. -
publish_date_keep_privateKeep this video private when its publication_date is reached.
-
Sample value:
trueKeep this video private when its publication_date is reached.
-
publishedTrue if this video is published (may still be waiting for encoding, see the
statusfield for more information). -
Sample value:
falseTrue if this video is published (may still be waiting for encoding, see the
statusfield for more information). -
publishing_progressWhen this video
statusfield is set toprocessing, this parameter indicates a number between 0 and 100 corresponding to the percentage of progress from the statuswaitingtoready. Unlikeencoding_progressthat can reach 100 well before the switch fromprocessingtoready, this value will not. -
Sample value:
22When this video
statusfield is set toprocessing, this parameter indicates a number between 0 and 100 corresponding to the percentage of progress from the statuswaitingtoready. Unlikeencoding_progressthat can reach 100 well before the switch fromprocessingtoready, this value will not. -
record_end_timeDate and time when the video record was stopped.
-
Sample value:
1287507036Date and time when the video record was stopped.
-
record_start_timeDate and time when the video record started.
-
Sample value:
1287507036Date and time when the video record started.
-
record_statusCurrent state of the recording process of this video.
- starting: Recording video is going to start
- started: Recording video is in progress
- stopping: Recording video is going to stop
- stopped: Recording video is stopped
- starting: Recording video is going to start
-
Sample value:
startedCurrent state of the recording process of this video.
- starting: Recording video is going to start
- started: Recording video is in progress
- stopping: Recording video is going to stop
- stopped: Recording video is stopped
- starting: Recording video is going to start
-
recurrenceRecurrence of this live stream.
-
Sample value:
dailyRecurrence of this live stream.
-
seeker_urlURL of the image-based seeker resource of this video. internal resource format is proprietary. Not available for short videos.
-
Sample value:
https://static2.dmcdn.net/static/video/184/210/46012481:jpeg_preview_seeker.jpg?20120608161743URL of the image-based seeker resource of this video. internal resource format is proprietary. Not available for short videos.
-
soundtrack_isrcThe International Standard Recording Code of the soundtrack associated to this video.
-
Sample value:
FR-6V8-21-83311The International Standard Recording Code of the soundtrack associated to this video.
-
soundtrack_popularitySoundtrack popularity.
-
Sample value:
100Soundtrack popularity.
-
sprite_320x_urlURL of the sprite of this video, width:320px
-
Sample value:
http://www.example.orgURL of the sprite of this video, width:320px
-
sprite_urlURL of the sprite of this video.
-
Sample value:
http://www.example.orgURL of the sprite of this video.
-
start_timeStart date and time of this live stream.
-
Sample value:
1287507036Start date and time of this live stream.
-
statusStatus of this video. A video requires the
publishedstatus to be set to true to be watchable. -
Sample value:
processingStatus of this video. A video requires the
publishedstatus to be set to true to be watchable. -
stream_altered_with_aiWhether the video stream has been altered by AI
-
Sample value:
trueWhether the video stream has been altered by AI
-
stream_audio_urlURL of this audio stream. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/mp4_null_aac/video/x26m1j4.mp4?auth=...URL of this audio stream. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_hd1080_urlURL of the Full HD video stream (1080p, ~6.25 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-1920x1080/video/x26m1j4.mp4?auth=...URL of the Full HD video stream (1080p, ~6.25 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_hd_urlURL of the high definition video stream (720p, ~2.17 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-1280x720/video/x26m1j4.mp4?auth=...URL of the high definition video stream (720p, ~2.17 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_hq_urlURL of the high quality WVGA video stream (480p, ~845 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-848x480/video/x26m1j4.mp4?auth=...URL of the high quality WVGA video stream (480p, ~845 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_l1_urlURL of the very low quality/low bandwidth mobile video stream (144p, ~60 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-176x144-1/video/x26m1j4.mp4?auth=...URL of the very low quality/low bandwidth mobile video stream (144p, ~60 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_l2_urlURL of the very low quality/high bandwidth mobile video stream (144p, ~106 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-176x144-2/video/x26m1j4.mp4?auth=...URL of the very low quality/high bandwidth mobile video stream (144p, ~106 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_ld_urlURL of the low quality QVGA Mobile 3G video stream (240p, ~260 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-320x240/video/x26m1j4.mp4?auth=...URL of the low quality QVGA Mobile 3G video stream (240p, ~260 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_qhd_urlURL of the Quad HD video stream (1440p, ~10.4 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-2560x1440/video/x26m1j4.mp4?auth=...URL of the Quad HD video stream (1440p, ~10.4 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_uhd_urlURL of the Ultra HD 4K video stream (2160p, ~16.5 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-3840x2160/video/x26m1j4.mp4?auth=...URL of the Ultra HD 4K video stream (2160p, ~16.5 Mbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_h264_urlURL of the medium quality video stream (384p, ~465 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/H264-512x384/video/x26m1j4.mp4?auth=...URL of the medium quality video stream (384p, ~465 kbps). Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_hls_urlURL of the adaptative bitrate manifest using the Apple HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/manifest/video/x26m1j4.m3u8?auth=...URL of the adaptative bitrate manifest using the Apple HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_live_hls_urlURL of this live stream using the HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/live/video/x26m1j4?protocol=hls&auth=...URL of this live stream using the HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_live_rtmp_urlURL of this live stream using the RTMP protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/live/video/x26m1j4?protocol=rtmp&auth=...URL of this live stream using the RTMP protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_live_smooth_urlURL of this live stream using the Smooth Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/live/video/x26m1j4?protocol=smooth&auth=...URL of this live stream using the Smooth Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_source_urlURL of this video source. Without an access token this field contains
null, the dailymotion user associated with the access token must be the owner of the video. This field returnsnulla few days after the video upload. Please refer to othersstream_*_urlfields to get a stream. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/source/video/x26m1j4.mkv?auth=...URL of this video source. Without an access token this field contains
null, the dailymotion user associated with the access token must be the owner of the video. This field returnsnulla few days after the video upload. Please refer to othersstream_*_urlfields to get a stream. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
studioTrue if this video is produced by the Dailymotion studio.
-
Sample value:
falseTrue if this video is produced by the Dailymotion studio.
-
Sample value:
party, John DoeList of tags attached to this video.
-
thumbnail_60_urlURL of this video’s thumbnail image (60px height).
-
Sample value:
https://s2.dmcdn.net/F83Oh/x60-sjB.jpgURL of this video’s thumbnail image (60px height).
-
thumbnail_62_urlURL of this video’s thumbnail image (62px height).
-
Sample value:
https://s2.dmcdn.net/F83Oh/x62-sjB.jpgURL of this video’s thumbnail image (62px height).
-
thumbnail_120_urlURL of this video’s thumbnail image (120px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x120-Zfs.jpgURL of this video’s thumbnail image (120px height).
-
thumbnail_180_urlURL of this video’s thumbnail image (180px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x180-o-x.jpgURL of this video’s thumbnail image (180px height).
-
thumbnail_240_urlURL of this video’s thumbnail image (240px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x240-tGY.jpgURL of this video’s thumbnail image (240px height).
-
thumbnail_360_urlURL of this video’s thumbnail image (360px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x360-KuJ.jpgURL of this video’s thumbnail image (360px height).
-
thumbnail_480_urlURL of this video’s thumbnail image (480px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x480-hw4.jpgURL of this video’s thumbnail image (480px height).
-
thumbnail_720_urlURL of this video’s thumbnail image (720px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x720-Ec7.jpgURL of this video’s thumbnail image (720px height).
-
thumbnail_1080_urlURL of this video’s thumbnail image (1080px height).
-
Sample value:
https://s2.dmcdn.net/CTrg1/x1080-Ec7.jpgURL of this video’s thumbnail image (1080px height).
-
thumbnail_urlURL of this video’s raw thumbnail (full size respecting ratio). Some users have the permission to change this value by providing an URL to a custom thumbnail. If you don’t have the permission, the thumbnail won’t be updated. Note: for live streams, the thumbnail is automatically generated every 5 mn by default; it is not possible anymore to manually refresh the preview. Maximum allowed file size is 10MB
-
Sample value:
https://s2.dmcdn.net/CTrg1.jpgURL of this video’s raw thumbnail (full size respecting ratio). Some users have the permission to change this value by providing an URL to a custom thumbnail. If you don’t have the permission, the thumbnail won’t be updated. Note: for live streams, the thumbnail is automatically generated every 5 mn by default; it is not possible anymore to manually refresh the preview. Maximum allowed file size is 10MB
-
tiny_urlTiny URL of this video.
-
Sample value:
https://dai.ly/sk2k3jdTiny URL of this video.
-
titleTitle of this video.
-
Sample value:
My video titleTitle of this video.
-
updated_timeDate and time when this video was last updated.
-
Sample value:
1404129540Date and time when this video was last updated.
-
uploaded_timeDate and time when this video was originally uploaded.
-
Sample value:
1287507036Date and time when this video was originally uploaded.
-
urlURL of this video on Dailymotion. Writing this parameter defines where to download the video source. You may either use this parameter at video creation time or change this parameter later if you want to change this video source afterward. To change an existing video, the authenticated user may need some additional permissions. You may use the
GET /file/uploadAPI resource to upload a video file and create a URL to provide to this method or use an existing URL pointing to your own video file. Writing to this parameter is subject to rate limiting. -
Sample value:
https://www.dailymotion.com/video/x26m1j4URL of this video on Dailymotion. Writing this parameter defines where to download the video source. You may either use this parameter at video creation time or change this parameter later if you want to change this video source afterward. To change an existing video, the authenticated user may need some additional permissions. You may use the
GET /file/uploadAPI resource to upload a video file and create a URL to provide to this method or use an existing URL pointing to your own video file. Writing to this parameter is subject to rate limiting. -
verifiedTrue if the video is owned by a verified partner.
-
Sample value:
falseTrue if the video is owned by a verified partner.
-
views_last_dayTotal number of views on this video in the last 24 sliding hours.
-
Sample value:
203Total number of views on this video in the last 24 sliding hours.
-
views_last_hourTotal number of views on this video in the last sliding hour.
-
Sample value:
102Total number of views on this video in the last sliding hour.
-
views_last_monthTotal number of views on this video in the last 30 sliding days.
-
Sample value:
4023Total number of views on this video in the last 30 sliding days.
-
views_last_weekTotal number of views on this video in the last 7 sliding days.
-
Sample value:
1030Total number of views on this video in the last 7 sliding days.
-
views_totalTotal amount of views on this video since its publication.
-
Sample value:
10203Total amount of views on this video since its publication.
-
widthWidth of this video from the source (px).
-
Sample value:
320Width of this video from the source (px).
Video deprecated fields
These deprecated fields were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each field. Do not use any of these for a new project as they may disappear without warning.
-
3dTrue if this video is in 3D format.
-
Sample value:
falseTrue if this video is in 3D format.
-
adfitTrue if advertising id allowed on this video depending on its content.
-
Sample value:
falseTrue if advertising id allowed on this video depending on its content.
-
allowed_in_groupsTrue if this video can be added to groups.
-
Sample value:
falseTrue if this video can be added to groups.
-
bookmarks_totalTotal amount of times this video has been added to a user’s favorites.
-
Sample value:
102Total amount of times this video has been added to a user’s favorites.
-
broadcastingTrue if this live stream is ready for delivery.
-
Sample value:
falseTrue if this live stream is ready for delivery.
-
duration_formattedDuration of this video (human readable).
-
Sample value:
07:03Duration of this video (human readable).
-
favorited_atDate and time when this video was bookmarked by the current user.
-
Sample value:
1287507036Date and time when this video was bookmarked by the current user.
-
filmstrip_small_urlSprite URL of snapshots of this video if it exists.
-
Sample value:
https://static2.dmcdn.net/static/video/265/246/128642562:jpeg_preview_sprite.jpg?20140826113227Sprite URL of snapshots of this video if it exists.
-
isrcDetected ISRC (International Standard Recording Code) of the soundtrack.
-
Sample value:
FR-6V8-21-83311Detected ISRC (International Standard Recording Code) of the soundtrack.
-
live_broadcastingFalse if this live stream is only visible by his owner.
-
Sample value:
falseFalse if this live stream is only visible by his owner.
-
log_external_view_urlOne time usage URL to log a view on this video made on a third party site (i.e.: embedded player). This URL expires after a short period of time, thus you should request it at the last moment.
-
Sample value:
http://www.example.orgOne time usage URL to log a view on this video made on a third party site (i.e.: embedded player). This URL expires after a short period of time, thus you should request it at the last moment.
Reading and/or editing this field requires some contextual information. Please refer to the API global parameters list for more information about
context.Context Description Required For reading For writing embedder_url URL of the page that embeds the video.
No Yes No referer_url URL of the page that led the user to the current page.
No Yes No -
modified_timeDate and time when this video was last modified.
-
Sample value:
1287507036Date and time when this video was last modified.
-
muyapDetected MUYAP (Turkish Phonographic Industry Society Identifier) of the soundtrack.
-
Sample value:
BXjVm33LBNCIGfS6GBNw4A==Detected MUYAP (Turkish Phonographic Industry Society Identifier) of the soundtrack.
-
owner_avatar_large_urlURL of the avatar image of the owner of this video (160px by 160px).
-
Sample value:
http://www.example.orgURL of the avatar image of the owner of this video (160px by 160px).
-
owner_avatar_medium_urlURL of the avatar image of the owner of this video (80px by 80px).
-
Sample value:
http://www.example.orgURL of the avatar image of the owner of this video (80px by 80px).
-
owner_avatar_small_urlURL of the avatar image of the owner of this video (40px by 40px).
-
Sample value:
http://www.example.orgURL of the avatar image of the owner of this video (40px by 40px).
-
owner_fullnameFull name of the owner of this video.
-
Sample value:
John DoeFull name of the owner of this video.
-
owner_screennameUsername or fullname of the owner of this video, depending on user preference.
-
Sample value:
johndoe424Username or fullname of the owner of this video, depending on user preference.
-
owner_urlURL of the owner of this video.
-
Sample value:
https://www.dailymotion.com/johndoe424URL of the owner of this video.
-
owner_usernameUsername of the owner of this video.
-
Sample value:
johndoe424Username of the owner of this video.
-
provider_idContent provider identifier.
-
Sample value:
string exampleContent provider identifier.
-
ratingAverage number of stars this video has received as a float.
-
Sample value:
3.4Average number of stars this video has received as a float.
-
ratings_totalTotal amount of users who voted for this video.
-
Sample value:
124Total amount of users who voted for this video.
-
rental_pricePrice of renting this video as a float in the current currency or
nullif this video is not behind a paywall. See thecurrencyfield of the/localeendpoint to retrieve the current currency. -
Sample value:
1.95Price of renting this video as a float in the current currency or
nullif this video is not behind a paywall. See thecurrencyfield of the/localeendpoint to retrieve the current currency. -
rental_price_formattedPrice of renting this video, formatted with currency according to the request localization. Will be
nullif this video is not behind a paywall. -
Sample value:
$1.95Price of renting this video, formatted with currency according to the request localization. Will be
nullif this video is not behind a paywall. -
stream_chromecast_urlURL of the video stream for Chromecast devices :
- The returned URL is HTTPS only
&max=1080is appended to the returned URL because Chromecast does not support qualities above 1080
-
Sample value:
https://www.dailymotion.com/cdn/manifest/video/xrf4xz.m3u8?auth=...&max=1080URL of the video stream for Chromecast devices :
- The returned URL is HTTPS only
&max=1080is appended to the returned URL because Chromecast does not support qualities above 1080
-
stream_live_hls_source_urlURL of this live stream source using the HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/live/video/xsjzha1?protocol=hls&source=true&auth=...URL of this live stream source using the HTTP Live Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
stream_ljhs_urlURL of the adaptative bitrate manifest using the Dailymotion LumberJack Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
https://www.dailymotion.com/cdn/manifest/video/x26m1j4.mnft?auth=XXXXXXXXURL of the adaptative bitrate manifest using the Dailymotion LumberJack Streaming protocol. Without an access token this field contains
null, the Dailymotion user associated with the access token must be the owner of the video. This field is rate limited. The returned url is secured: it can only be consumed by the user who made the query and it expires after a certain time. -
Sample value:
John Doe, United States of AmericaList of strong tags attached to this video.
-
swf_urlURL of the legacy SWF embed player (only use this to embed the player into a flash movie, otherwise use
embed_url). -
Sample value:
https://www.dailymotion.com/swf/video/x26m1j4URL of the legacy SWF embed player (only use this to embed the player into a flash movie, otherwise use
embed_url). -
thumbnail_large_urlURL of this video thumbnail image (320px by 240px).
-
Sample value:
https://ak.dailymotion.com/thumbnail/x26m1j4/large.jpgURL of this video thumbnail image (320px by 240px).
-
thumbnail_medium_urlURL of this video thumbnail image (160px by 120px).
-
Sample value:
https://ak.dailymotion.com/thumbnail/x26m1j4/medium.jpgURL of this video thumbnail image (160px by 120px).
-
thumbnail_small_urlURL of this video thumbnail image (80px by 60px).
-
Sample value:
https://s2.dmcdn.net/CTrg1/small.jpgURL of this video thumbnail image (80px by 60px).
-
typeContent type of this video (can be
official,creativeornull). -
Sample value:
ugcContent type of this video (can be
official,creativeornull). -
upcDetected UPC (Universal Product Code) of the soundtrack.
-
Sample value:
3610154759952Detected UPC (Universal Product Code) of the soundtrack.
-
vast_url_templateVAST template URL as a string for this video or
nullif video doesn’t accept in-stream ads. -
Sample value:
https://ad.auditude.com/adserver/vast3?u=...VAST template URL as a string for this video or
nullif video doesn’t accept in-stream ads.
Video filters
Here is the list of filters you can use to limit a result set of
video objects. You can use these by passing them as query-string
parameters with your request.
-
360_degreeLimit the result set to 360 videos.
-
Sample value:
n/aLimit the result set to 360 videos.
-
advertising_instream_blockedLimit the result set to advertising_instream_blocked
-
Sample value:
falseLimit the result set to advertising_instream_blocked
-
allowed_in_playlistsLimit the results to videos which are allowed in playlists.
-
Sample value:
falseLimit the results to videos which are allowed in playlists.
-
availabilityLimit the result set to available videos.
-
Sample value:
falseLimit the result set to available videos.
-
channelLimit the result set to this channel.
-
Sample value:
newsLimit the result set to this channel.
-
countryLimit the result set to this country (declarative).
-
Sample value:
USLimit the result set to this country (declarative).
-
created_afterLimit the result set to videos created after this date and time.
-
Sample value:
1287507036Limit the result set to videos created after this date and time.
-
created_beforeLimit the result set to videos created before this date and time.
-
Sample value:
1287507036Limit the result set to videos created before this date and time.
-
exclude_channel_idsList of channels ids to exclude from the result set.
-
Sample value:
people, fun, schoolList of channels ids to exclude from the result set.
-
exclude_idsList of video ids to exclude from the result set.
-
Sample value:
xk2k3, x26m1j4, xkeg4List of video ids to exclude from the result set.
-
explicitLimit the result set to the provided explicit value for videos.
-
Sample value:
falseLimit the result set to the provided explicit value for videos.
-
exportableLimit the result set to exportable (i.e: no-export flag not set) videos.
-
Sample value:
n/aLimit the result set to exportable (i.e: no-export flag not set) videos.
-
featuredLimit the result set to featured videos.
-
Sample value:
n/aLimit the result set to featured videos.
-
flagsList of simple boolean flags available to reduce the result set.
-
Sample value:
featured, hdList of simple boolean flags available to reduce the result set.
-
has_gameLimit the result set to videos related to a video-game.
-
Sample value:
n/aLimit the result set to videos related to a video-game.
-
hdLimit the result set to high definition videos (vertical resolution greater than or equal to 720p).
-
Sample value:
n/aLimit the result set to high definition videos (vertical resolution greater than or equal to 720p).
-
idsLimit the result set to this list of video identifiers (works only with xids).
-
Sample value:
xk2k3, x26m1j4, xkeg4Limit the result set to this list of video identifiers (works only with xids).
-
in_historyLimit the result set to videos in your watch history.
-
Sample value:
n/aLimit the result set to videos in your watch history.
-
is_created_for_kidsLimit the result set to the provided is_created_for_kids value for videos.
-
Sample value:
falseLimit the result set to the provided is_created_for_kids value for videos.
-
languagesLimit the result set to this list of languages. Language is declarative and corresponds to the user-declared spoken language of the video. If you wish to retrieve content currated for a specific locale, use the
localizationglobal parameter instead. -
Sample value:
fr, en, itLimit the result set to this list of languages. Language is declarative and corresponds to the user-declared spoken language of the video. If you wish to retrieve content currated for a specific locale, use the
localizationglobal parameter instead. -
listLimit the result set to this video list. Warning: Can not be combined with a
search. -
Sample value:
what-to-watchLimit the result set to this video list. Warning: Can not be combined with a
search. -
liveLimit the result set to live streaming videos.
-
Sample value:
n/aLimit the result set to live streaming videos.
-
live_offairLimit the result set to off-air live streaming videos.
-
Sample value:
n/aLimit the result set to off-air live streaming videos.
-
live_onairLimit the result set to on-air live streaming videos.
-
Sample value:
n/aLimit the result set to on-air live streaming videos.
-
live_upcomingLimit the result set to upcoming live streaming videos.
-
Sample value:
n/aLimit the result set to upcoming live streaming videos.
-
longer_thanLimit the results to videos with a duration longer than or equal to the specified number of minutes.
-
Sample value:
3600Limit the results to videos with a duration longer than or equal to the specified number of minutes.
-
modeLimit the result set to videos of this mode.
-
Sample value:
vodLimit the result set to videos of this mode.
-
no_liveLimit the result set to non-live streaming videos.
-
Sample value:
n/aLimit the result set to non-live streaming videos.
-
no_live_recordingLimit the result set to live recording videos.
-
Sample value:
n/aLimit the result set to live recording videos.
-
Sample value:
n/aLimit the result set to free video content.
-
nogenreLimit the result set by excluding this genre.
-
Sample value:
ComedyLimit the result set by excluding this genre.
-
ownersLimit the result set to this list of user identifiers or logins.
-
Sample value:
user1, user2, user3Limit the result set to this list of user identifiers or logins.
-
partnerLimit the result set to partner videos.
-
Sample value:
n/aLimit the result set to partner videos.
-
password_protectedLimit the result set to password protected partner videos.
-
Sample value:
trueLimit the result set to password protected partner videos.
-
Sample value:
n/aLimit the result set to premium SVOD and TVOD video content.
-
privateLimit the result set to private videos.
-
Sample value:
trueLimit the result set to private videos.
-
Sample value:
"uploader-only"Forces the recommendation result to use a specifc algorithm
-
searchLimit the result set to this full text search.
-
Sample value:
footballLimit the result set to this full text search.
-
shorter_thanLimit the results to videos with a duration shorter than or equal to the specified number of minutes.
-
Sample value:
60Limit the results to videos with a duration shorter than or equal to the specified number of minutes.
-
sortChange the default result set ordering. Notes:
- the
relevancefilter can only be used in conjunction with thesearchfilter. - Deprecated sorts (
ranking,rated,rated-hour,rated-today,rated-week,rated-month,commented,commented-hour,commented-today,commented-week,commented-month)
- the
-
Sample value:
visitedChange the default result set ordering. Notes:
- the
relevancefilter can only be used in conjunction with thesearchfilter. - Deprecated sorts (
ranking,rated,rated-hour,rated-today,rated-week,rated-month,commented,commented-hour,commented-today,commented-week,commented-month)
- the
-
Sample value:
party, John DoeLimit the result set to this full text search of video tags. By default perform ‘AND’ operation between terms. Use enclosing parenthesis ‘()’ on the query to perform ‘OR’ operation.
-
timeframeLimit the result set to videos created after this N last seconds.
-
Sample value:
86400Limit the result set to videos created after this N last seconds.
-
ugcLimit the result set to user generated video content (no partner content).
-
Sample value:
n/aLimit the result set to user generated video content (no partner content).
-
ugc_partnerLimit the result set to user generated or partner video content.
-
Sample value:
n/aLimit the result set to user generated or partner video content.
-
unpublishedLimit the result set to unpublished videos.
-
Sample value:
falseLimit the result set to unpublished videos.
-
verifiedLimit the result set to verified partner videos.
-
Sample value:
n/aLimit the result set to verified partner videos.
Video deprecated filters
These deprecated filters were once part of the API reference but are no longer maintained. Support is still available until the end of life date specified for each filter. Do not use any of these for a new project as they may disappear without warning.
-
3dLimit the result set to 3D videos.
-
Sample value:
n/aLimit the result set to 3D videos.
-
filtersList of simple boolean filters available to reduce the result set.
-
Sample value:
featured, hdList of simple boolean filters available to reduce the result set.
-
languageLimit the result set to this language. This value is declarative and corresponds to the user-declared spoken language of the video. If you wish to retrieve content currated for a specific locale, use the
localizationglobal parameter instead. -
Sample value:
enLimit the result set to this language. This value is declarative and corresponds to the user-declared spoken language of the video. If you wish to retrieve content currated for a specific locale, use the
localizationglobal parameter instead. -
modified_afterLimit the result set to videos updated after this date and time.
-
Sample value:
1287507036Limit the result set to videos updated after this date and time.
-
modified_beforeLimit the result set to videos updated before this date and time.
-
Sample value:
1287507036Limit the result set to videos updated before this date and time.
-
ownerLimit the result set to videos of this user.
-
Sample value:
x6c7c8tLimit the result set to videos of this user.
-
Sample value:
John Doe, United States of AmericaLimit the result set to this strong tag.
Video connections
Connections through the data API are used to link objects with each others. Some objects
can only be accessed and/or created through connections since they have no point in
existing on their own. Here is the list of connections available through the
video object.
-
recordingsList of videos recorded from this video live.
This connection joins an object of typevideowith a list ofvideoobjects. -
List of videos recorded from this video live.
This connection joins an object of typevideowith a list ofvideoobjects.Read the video's recordings connection
You can retrieve the list of recordings connected to a
videoobject by issuing a GET request to/video/<VIDEO_ID>/recordings. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
List of videos related to this video.
This connection joins an object of typevideowith a list ofvideoobjects.Read the video's related connection
You can retrieve the list of related connected to a
videoobject by issuing a GET request to/video/<VIDEO_ID>/related. You can specify the list of fields from thevideoobjects to be returned using thefieldsparameter.
Test it with the API Explorer. -
subtitlesList of subtitles available for this video.
This connection joins an object of typevideowith a list ofsubtitleobjects. -
List of subtitles available for this video.
This connection joins an object of typevideowith a list ofsubtitleobjects.Read the video's subtitles connection
You can retrieve the list of subtitles connected to a
videoobject by issuing a GET request to/video/<VIDEO_ID>/subtitles. You can specify the list of fields from thesubtitleobjects to be returned using thefieldsparameter.
Test it with the API Explorer.Create a video's subtitles connection
You can create a new
subtitleobject and automatically connect it to an existingvideoobject by issuing a POST request to/video/<VIDEO_ID>/subtitleswith the following parameters.Type Parameter Required Description STRING formatNo Data format SRT only is supported, if you have an other format please convert it to SRT.
STRING languageNo Language of these subtitles.
URL urlNo On
GET, the URL pointing to the latest version of the subtitles. OnPOST, URL pointing to the subtitle data in on of the valid formats. You don’t need to host the file, you can use theGET /file/uploadAPI ressource to create a temporary URL to a file of your own, just like when you upload a video source file. If you host your own file, the file will be fetched and the subtitles URL will point to a local copy.In return, you will receive a
dictvalue containing the newly created object, including its identifier.
Test it with the API Explorer.Delete a video's subtitles connection
You can delete a
subtitleobject connected to avideoobject the same way you would if it wasn't attached, that is by issuing a DELETE request to/subtitle/<SUBTITLE_ID>.
Test it with the API Explorer.
Changelog
embed_html and embed_url returning new embed endpoint
Date: 2024-09-23
As part of the progressive deprecation of the legacy embed endpoint, the API fields embed_html and embed_url are now returning the new embed endpoint.
Learn more about the deprecation of the legacy embed endpoint and how to update your integration if you’re using one of these two API fields:
Pass Player ID with embed_url and embed_html
Date: 2023-10-09
You should now pass your Player ID in the embed_url and embed_html fields by adding context=player%3D{PlayerID} in your request.
This ensures you can benefit from custom Player settings, accurate tracking and centralized management in your Dailymotion Studio.
Request example: https://api.dailymotion.com/video/x8mubmn?fields=embed_html,embed_url&context=player%3Dxc394
Answer example: "embed_url": "https://geo.dailymotion.com/player/xc394.html?video=x8mubmn"
Note: This method uses the new embed endpoint geo.dailymotion.com.
Former endpoint dailymotion.com/embed will soon be deprecated.
Player field for Google compliance
Date: 2023-03-03
If you rely on Google advertisement, you can set our new Player field enable_google_policy_ui to true to use our Google compliant PiP interface (with the close button outside PiP) to keep generating revenue from it.
Errore type DM019
Date: 2022-04-07
New error type (DM019) exposed on the Player for the content uploaded by inactive users
Date and time when this channel was created.