Skip to main content
POST
/
api
/
dailymotion
/
videos
/
search
/dailymotion/videos/search
curl --request POST \
  --url https://api.anysite.io/api/dailymotion/videos/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevance"
}
'
[
  {
    "id": "<string>",
    "@type": "DailymotionVideoBrief",
    "video_title": "<string>",
    "url": "<string>",
    "duration_seconds": 123,
    "view_count": 123,
    "created_at": 123,
    "image": "<string>",
    "creator": {
      "id": "<string>",
      "@type": "DailymotionChannelBrief",
      "alias": "<string>",
      "name": "<string>",
      "url": "<string>",
      "image": "<string>",
      "follower_count": 123,
      "is_artist": true
    }
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
count
integer
required

Max number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
upload_date
enum<string> | null

Filter by upload date

Available options:
today,
past_week,
past_month,
past_year
duration
enum<string> | null

Filter by video duration

Available options:
under_1_min,
1_to_5_min,
5_to_30_min,
30_to_60_min,
over_60_min
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
most_recent,
most_viewed

Response

Successful Response

id
string
required
@type
string
default:DailymotionVideoBrief
video_title
string | null
url
string | null
duration_seconds
integer | null
view_count
integer | null
created_at
integer | null
image
string | null
creator
object | null