---
updatedAt: 2026-07-27T12:07:08.000Z
agentTools:
  projectIndex: https://developers.dailymotion.com/v0/llms.txt
---

# Perform an API Call

<Callout icon="🚀" theme="default">
  ### API v2 now available

  Visit the <Anchor target="_blank" href="https://developers.dailymotion.com/v2/reference/introduction">API v2 documentation</Anchor> or follow the <Anchor target="_blank" href="https://developers.dailymotion.com/v2/docs/migrating-from-legacy-api-to-api-v2">migration guide</Anchor> to upgrade.
</Callout>

<br />

<br />

# Introduction

A typical API call to the Dailymotion Platform REST API could look something like this:

```
GET https://api.dailymotion.com/videos?fields=id,title,language&channel=news&limit=100
```

In the above example, we are retrieving the following information from the Platform API: a list detailing the ID, title and language of the 100 most recent videos from the category news published on Dailymotion.com.

If this doesn't look familiar for now, this guide will introduce you to the basic elements you need to know to easily interact with the Platform API.

# Endpoints

The Platform API is served over HTTPS and accessible on the following endpoint:

| Endpoint                               | Public API key                | Private API key              |
| :------------------------------------- | :---------------------------- | :--------------------------- |
| <https://api.dailymotion.com>          | ✔                             | No - Public API key required |
| <https://graphql.api.dailymotion.com>  | ✔                             | No - Public API key required |
| <https://partner.api.dailymotion.com/> | No - Private API key required | ✔                            |

# Encoding

We recommend using **UTF-8** encoding for all interactions with the REST API.

***

# Request types

You can interact with the Dailymotion API using the following HTTP request types:

<Accordion title="GET">
  `GET` requests are used to **retrieve resources**.

  **Example:** Retrieve public information about the video [x3rdtfy](https://www.dailymotion.com/video/x3rdtfy).

  ```
  https://api.dailymotion.com/video/x3rdtfy
  ```
</Accordion>

<Accordion title="POST">
  `POST` requests are used to **create new resources or edit existing ones**.

  **Example:** To edit the title of a video.

  ```
  curl -X POST \
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  -F 'title=My New Title' \
  "https://api.dailymotion.com/video/<VIDEO_ID>"
  ```
</Accordion>

<Accordion title="DELETE">
  `DELETE` requests are used to **delete resources**.

  **Example:** Delete a video.

  ```
  curl -X DELETE \ 
  -H 'Authorization: Bearer <ACCESS_TOKEN>' \
  "https://api.dailymotion.com/video/<VIDEO_ID>"
  ```
</Accordion>

***

# Objects & Connections

## Objects

The Platform API works with **objects** and **IDs**.

Here is a list of the various graph objects available through the Platform API. Some of them will only be available for reading, and some others for creation and edition too. Each object within has a unique identifier automatically assigned at creation.

| Object name                                                                          | Short description                                                                                                                                                                                                                                           |
| ------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **[video](https://developers.dailymotion.com/v0/reference/video-reference)**         | 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 Platform API.                                       |
| **[player](https://developers.dailymotion.com/v0/reference/player-reference)**       | A `player` object holds several configuration properties (Picture-in-Picture settings, aspect ratio...) and is meant to be embedded with a `<script>` tag.                                                                                                  |
| **[playlist](https://developers.dailymotion.com/v0/reference/playlist-reference)**   | A `playlist` object represents an ordered list of [videos](https://dailymotion.readme.io/reference/video#/) created by a [user](https://dailymotion.readme.io/reference/user#/). Videos in a playlist do not necessarily have anything in common.           |
| **[subtitles](https://developers.dailymotion.com/v0/reference/subtitles-reference)** | A `subtitle` object represents a file resource containing closed captioning for a given [video](https://dailymotion.readme.io/reference/video#/).                                                                                                           |
| **[user](https://developers.dailymotion.com/v0/reference/user-reference)**           | 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. |

You can access the information of an object using this URL structure:<br />`https://api.dailymotion.com/<OBJECT_CLASS>/<OBJECT_ID>`

**Example:** Retrieve information about the video that has the unique ID `x3rdtfy`.

```
GET https://api.dailymotion.com/video/x3rdtfy
```

## Connections

All of these objects are connected to each other via relationships: users own playlists, playlists own videos, videos own subtitles, etc. In a Graph API, these relationships are called **connections**.

You can explore the connections between objects using the URL structure <br />`https://api.dailymotion.com/<OBJECT_CLASS>/<OBJECT_ID>/<CONNECTED_OBJECT>`

**Example:** Retrieve the list of videos of the user identified with the ID x1fz4ii.

```
GET https://api.dailymotion.com/user/x1fz4ii/videos
```

The [Platform API reference](https://developers.dailymotion.com/v0/reference/introduction) lists the supported objects and connections.

***

# Fields

API objects are composed of fields that contain different pieces of information.

Some fields are publicly readable, some others are not and require specific [scopes](https://developers.dailymotion.com/v0/reference/api-scopes) granted during [authentication](https://developers.dailymotion.com/v0/docs/authenticate). The privacy and required scopes for each field are specified in the reference:

* [Video fields](https://developers.dailymotion.com/v0/reference/video-fields)
* [Player fields](https://developers.dailymotion.com/v0/reference/player-fields)
* [Playlist fields](https://developers.dailymotion.com/v0/reference/playlist-fields)
* [Subtitles fields](https://developers.dailymotion.com/v0/reference/subtitles-fields)
* [User fields](https://developers.dailymotion.com/v0/reference/user-fields)

By default, only a few fields are returned. To request specific ones, you can use the `fields` parameter and list the ones you need to be returned.

Let's see different examples of fields request:

<Accordion title="Fields by default">
  In the example below, we are calling the *video* object with the ID `x3rdtfy`, but we don't request any specific fields to be returned:

  ```
  GET https://api.dailymotion.com/video/x3rdtfy
  ```

  The JSON response to this call will return the default fields for a video object:

  ```json
  {
  "id": "x3rdtfy",
  "title": "Midnight Sun | Iceland",
  "channel": "travel",
  "owner": "x1aktrv"
  }
  ```

  * `id` of the video
  * `title` of the video
  * `channel`: category of the video
  * `owner`: user ID of the uploader
</Accordion>

<Accordion title="Specific fields">
  In the below example, we are calling the same *video* object than above, but we are specifying the fields we want to be returned (see [exhaustive list of fields available for a video object](https://developers.dailymotion.com/v0/reference/video-fields)). To do so, we are using the `fields` parameter followed by each specific field we want, separated by a comma:

  ```
  GET https://api.dailymotion.com/video/x3rdtfy?fields=id,url,published
  ```

  This call will return the following JSON response:

  ```json
  {
  "id": "x3rdtfy",
  "url": "https://www.dailymotion.com/video/x3rdtfy",
  "published": true
  }
  ```
</Accordion>

<Accordion title="Connected fields">
  Since some objets can be connected together, fields from these connected objects can also be assembled.

  For instance, the `owner` field of a *video* object returns the `id` of a *user* object. Because these two objects can be connected, you can use any field of the *user* object ([see echaustive list of user fields](https://developers.dailymotion.com/v0/reference/user-fields)) and assemble it with the [video field](https://developers.dailymotion.com/v0/reference/video-fields) of your choice, **separated by a dot**.

  For instance, to retrieve the `screenname` and `url` of the owner of the video `x3rdtfy`, you can perform this request: 

  ```
  GET https://partner.api.dailymotion.com/rest/video/x3rdtfy?fields=id,title,owner,owner.screenname,owner.url

  ```

  The response will look like this:

  ```json
  {
  "id": "x3rdtfy",
  "title": "Midnight Sun | Iceland",
  "owner": "x1aktrv",
  "owner.screenname": "Zeno",
  "owner.url": "https://www.dailymotion.com/zeno"
  }
  ```

  * `owner.screenname`: name of the user who uploaded the video
  * `owner.url`: URL of the user who uploaded the video
</Accordion>

***

# Filters

Some fields can also be used as filters to narrow down a list of objects.

All filters are listed in the reference, in the *filters* section of each object:

* [Video filters](https://developers.dailymotion.com/v0/reference/video-filters)
* [Player filters](https://developers.dailymotion.com/v0/reference/player-filters)
* [Playlist filters](https://developers.dailymotion.com/v0/reference/playlist-filters)
* [Subtitles filters](https://developers.dailymotion.com/v0/reference/subtitles-filters)
* [User filters](https://developers.dailymotion.com/v0/reference/user-filters)

To use filters, perform a `GET` request and put your filters as query string parameters.

**Example:** The following request will list all english-speaking videos published in the category 'technology'.

```
GET https://api.dailymotion.com/videos?channel=tech&language=en
```

***

# Caching

The Platform API uses HTTPS Cache Control Mechanisms so you can benefit from security and speed improvements when performing API calls.

We recommend following the below guidelines to benefit from caching:

* If you're using fields and/or filters in your query, sort them in **alphabetic order**. This will ensure the same URLs is used for each specific request.

* Send the **access token in the Authorization HTTP header** in order to keep this sensitive information out of the URL, like so:

```
curl -H "Authorization: Bearer ${ACCESS_TOKEN}" \
"https://api.dailymotion.com/file/upload"
```

* If your application can potentially share the cache between different users, make sure you only share responses marked as "public" in the `Cache-Control` HTTP header. If your HTTP library respects the `Vary` HTTP header, it should automatically manage how to share and handle cached responses.

<br />