{
  "openapi": "3.0.1",
  "info": {
    "title": "Dailymotion Scraper – Videos, Trending, Channels & Playlists",
    "description": "Dailymotion scraper using the official public API, no login or key: search videos, trending feeds by country and category, channel uploads and stats, playlists and video details by URL. Views, likes, duration, tags. Monitor new uploads. Metadata only.",
    "version": "1.0",
    "x-build-id": "OfiFs6uGNVhuM7veX"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/openharvest~dailymotion-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-openharvest-dailymotion-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/openharvest~dailymotion-scraper/runs": {
      "post": {
        "operationId": "runs-sync-openharvest-dailymotion-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/openharvest~dailymotion-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-openharvest-dailymotion-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to scrape",
            "enum": [
              "searchVideos",
              "trending",
              "channelVideos",
              "channels",
              "searchChannels",
              "videoDetails",
              "playlistVideos",
              "channelPlaylists"
            ],
            "type": "string",
            "description": "<b>searchVideos</b>: videos matching a keyword (or all videos when the keyword is empty) with filters. <b>trending</b>: the trending / most-viewed feed, optionally per country and category. <b>channelVideos</b>: videos uploaded by channels. <b>channels</b>: channel stats (followers, videos, views). <b>searchChannels</b>: find channels by keyword. <b>videoDetails</b>: full metadata for video URLs or IDs. <b>playlistVideos</b>: videos in playlists. <b>channelPlaylists</b>: playlists of channels.",
            "default": "searchVideos"
          },
          "searchQuery": {
            "title": "Search keyword",
            "type": "string",
            "description": "Keyword for <b>searchVideos</b> and <b>searchChannels</b>. In <b>channelVideos</b> it searches only inside the given channels. Leave empty in searchVideos to list all videos with your filters and sort."
          },
          "channels": {
            "title": "Channels",
            "type": "array",
            "description": "For <b>channelVideos</b>, <b>channels</b> and <b>channelPlaylists</b>. Channel URLs, usernames or IDs, e.g. <code>https://www.dailymotion.com/franceinfo</code>, <code>franceinfo</code> or <code>x5xknw</code>.",
            "items": {
              "type": "string"
            }
          },
          "videoUrls": {
            "title": "Video URLs or IDs",
            "type": "array",
            "description": "For <b>videoDetails</b>. Accepts <code>https://www.dailymotion.com/video/x5auisp</code>, <code>https://dai.ly/x5auisp</code>, embed/player links or the bare ID <code>x5auisp</code>. Up to 100 videos are fetched per API request.",
            "items": {
              "type": "string"
            }
          },
          "playlistUrls": {
            "title": "Playlist URLs or IDs",
            "type": "array",
            "description": "For <b>playlistVideos</b>. Accepts <code>https://www.dailymotion.com/playlist/x6hynp</code> or the bare ID <code>x6hynp</code>.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "Max results per source",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of results for each search, trending feed, channel or playlist. You pay per result, so this also caps your cost. Dailymotion returns at most 1,000 results per query; for newest-first listings (sort = recent) the Actor automatically continues past that limit by date.",
            "default": 50
          },
          "sort": {
            "title": "Sort order",
            "enum": [
              "auto",
              "relevance",
              "recent",
              "trending",
              "visited",
              "visited-hour",
              "visited-today",
              "visited-week",
              "visited-month",
              "old",
              "random",
              "live-audience"
            ],
            "type": "string",
            "description": "<b>auto</b> = relevance for keyword searches, trending for the trending feed, newest first for channels. <b>visited-today</b> / <b>visited-week</b> etc. rank by views in that period.",
            "default": "auto"
          },
          "country": {
            "title": "Country",
            "type": "string",
            "description": "Optional 2-letter country code of the videos, e.g. <code>fr</code>, <code>tr</code>, <code>us</code>, <code>in</code>."
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Optional 2-letter language code of the videos, e.g. <code>fr</code>, <code>en</code>, <code>tr</code>."
          },
          "category": {
            "title": "Category",
            "enum": [
              "",
              "news",
              "sport",
              "fun",
              "music",
              "tv",
              "shortfilms",
              "videogames",
              "tech",
              "auto",
              "lifestyle",
              "travel",
              "animals",
              "people",
              "school",
              "kids",
              "creation",
              "webcam"
            ],
            "type": "string",
            "description": "Optional Dailymotion category.",
            "default": ""
          },
          "createdAfter": {
            "title": "Uploaded after",
            "type": "string",
            "description": "Optional. Only videos uploaded after this date. Absolute (<code>2026-09-01</code>) or relative (<code>24 hours</code>, <code>7 days</code>, <code>1 month</code>)."
          },
          "createdBefore": {
            "title": "Uploaded before",
            "type": "string",
            "description": "Optional. Only videos uploaded before this date. Absolute or relative, like Uploaded after."
          },
          "minDurationMinutes": {
            "title": "Min duration (minutes)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only videos longer than this many minutes."
          },
          "maxDurationMinutes": {
            "title": "Max duration (minutes)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Only videos shorter than this many minutes."
          },
          "tags": {
            "title": "Tags",
            "type": "array",
            "description": "Optional. Only videos with these tags.",
            "items": {
              "type": "string"
            }
          },
          "featuredOnly": {
            "title": "Featured videos only",
            "type": "boolean",
            "description": "Only videos featured by Dailymotion's editors (what the homepage and trending pages pick from).",
            "default": false
          },
          "verifiedOnly": {
            "title": "Verified creators only",
            "type": "boolean",
            "description": "Only videos from verified partner channels (publishers, broadcasters, studios).",
            "default": false
          },
          "liveFilter": {
            "title": "Live streams",
            "enum": [
              "all",
              "excludeLive",
              "liveOnly",
              "onAirNow"
            ],
            "type": "string",
            "description": "Include, exclude or only return live streams.",
            "default": "all"
          },
          "includeChannelInfo": {
            "title": "Include channel stats row",
            "type": "boolean",
            "description": "In <b>channelVideos</b> and <b>channelPlaylists</b>, also add one row per channel with followers, video count and total views (charged as a 'channel' event).",
            "default": false
          },
          "includePlaylistInfo": {
            "title": "Include playlist info row",
            "type": "boolean",
            "description": "In <b>playlistVideos</b>, also add one row per playlist with its title, owner and video count (charged as a 'playlist' event).",
            "default": true
          },
          "onlyNewVideos": {
            "title": "Only new videos since the last run (monitor)",
            "type": "boolean",
            "description": "Remembers which videos earlier runs returned (per search, feed, channel or playlist, in a named key-value store of your account) and returns only videos not seen before. Ideal for a scheduled run: the first run returns the latest videos, later runs return only new uploads, and you pay only for new ones.",
            "default": false
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}