On this page5 sections
If your app works with Dailymotion videos (a news clipping tool, a video library, an AI summarizer, a social repurposing product), you need the video file or its transcript behind a link someone pastes. Dailymotion makes that harder than it looks:
- The Data API gives you metadata, not files.
GET /video/<id>returns the title, duration, owner, thumbnails and view counts for any public video. Ask it for a stream URL and it refuses: those fields need roles likecan-read-video-streamsorcan-download-my-videos, which go to the video's owner and Dailymotion partners. - Playback is a stream of segments. The player loads an HLS manifest and plays short segments at whatever quality fits the connection. You have to fetch and join them before you have one file to store, edit or transcribe.
- Some videos are limited by country. Publishers can geo-block videos, so a link that plays for your user may not play for your server.
- It breaks on the server. Code that works from your laptop can get rate-limited or blocked once it runs from AWS, GCP, Fly or a serverless function, and the internals unofficial tools rely on change without notice.
The official route, if the videos are yours
If you run the Dailymotion channel, or you're a partner, the Data API is the right choice. Authenticate as the owner and request the stream and download fields for your own videos, or download originals from Dailymotion Studio. It's also the best way to read metadata at scale for any public video: titles, durations, thumbnails and channel info come back without special roles.
That works when the videos are yours. It doesn't help when your users paste links to videos from channels they don't run, which is most clipping, research and repurposing tools.
For a handful of videos on your own machine, an open-source command-line downloader works and costs nothing. What it costs you is upkeep: updating it when Dailymotion changes something, joining segments, and retries and error handling around it all.
One call with Importly
Importly takes the Dailymotion link your user pasted and returns the video as a single MP4.
curl https://api.importly.io/import \
-H "Authorization: Bearer $IMPORTLY_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.dailymotion.com/video/<id>",
"videoQuality": "720p",
"webhookUrl": "https://your.app/webhooks/import"
}'Short dai.ly/<id> links and mobile m.dailymotion.com links work the same way. When the job finishes, the webhook (or GET /import/status?id=<jobId>) gives you a signed link to the file plus the title, duration and thumbnail. The link lasts 7 days; set "store": true to have the file copied into your own S3, R2 or B2 bucket instead.
A few things worth knowing:
- Pick the resolution.
videoQualityis a ceiling (720pby default). Use1080pfor videos you'll re-edit, and480por lower for videos you only analyse or transcribe. - Audio only: set
"includeVideo": falseto get just the soundtrack, for podcasts, music or anything you'll transcribe. - Private, password-protected and geo-blocked videos fail fast with a clear
code(VIDEO_PRIVATE,AUTH_REQUIRED,GEO_BLOCKED), so you can tell the user instead of retrying. Failed imports aren't charged. - Live streams wait. A stream that's still live fails with
LIVE_NOT_SUPPORTED. Submit the link again after it ends. - Transcripts: call
POST /transcribeon the link. Without aprovider, Importly returns the video's own captions for $0.003 when it can, and when it can't you getTRANSCRIPTION_PROVIDER_REQUIREDwith a quote and nothing is charged. Retry with"provider": "importly"for AI speech-to-text at $0.01 a minute. - Check before you pay:
POST /metadata/basicreturns the title and duration for $0.003, so you can turn away a two-hour video before downloading it. Or setmaxCostDollarsand Importly checks the price for you.
What it costs
Downloads are $0.002 per MB, with a $0.01 minimum per import. A 10-minute video at 720p is roughly 75 MB, about $0.15, and much less at 480p or as audio only. Importly is free to try, no card required. See pricing for the full list.
Have your AI agent build it in
Click Copy agent prompt on importly.io and paste it into Claude Code, Cursor or another coding agent, then ask it to add Dailymotion imports to your app. Or connect https://mcp.importly.io/mcp directly. The agent gets working code for your stack, writes the integration and tests real calls with your API key, and your backend uses the same key. The steps are in Have your agent build Importly into your app.
FAQ
Can I download a Dailymotion video with the official API?
Only videos you own, or as a Dailymotion partner. Stream and download fields need roles that go to the owner and partners. For other public videos, the Data API gives you metadata and thumbnails, not the file.
Do dai.ly short links work?
Yes. https://dai.ly/<id> and https://m.dailymotion.com/video/<id> resolve to the same video as the full dailymotion.com/video/<id> link.
Why does a Dailymotion video play in my browser but fail on my server?
Usually one of two things: the publisher geo-blocked it to some countries, or the platform is limiting requests from datacenter IPs. Importly works from servers and returns GEO_BLOCKED when a video isn't available in any region it can fetch from.
Can I get a transcript of a Dailymotion video?
Yes. Call POST /transcribe on the link. You get the video's captions for $0.003 when Importly can read them, or AI speech-to-text at $0.01 a minute with "provider": "importly".
Related: Video downloader API, Twitch clip download API, Downloads, Supported sites.