Facebook Video Downloader API
Public videos and reels, resolved into a direct link with picture and sound already joined. Share links and full permalinks are both accepted.
https://api.gapi.dev/facebookRequires the X-API-Key header · responds in JSON
Parameters
urlrequiredstringPublic Facebook video or reel: facebook.com/share/r/…, facebook.com/watch?v=… and fb.watch short links all work.
e.g. https://www.facebook.com/share/r/1QzLKegBTAResponses
{
"platform": "facebook",
"type": "video",
"title": "- Facebook Reel",
"author": null,
"thumbnail": "https://…",
"duration": null,
"media": [
{ "type": "video", "url": "https://…", "quality": null, "ext": null }
]
}Try it
https://api.gapi.dev/facebookcurl -G 'https://api.gapi.dev/facebook' \
--data-urlencode 'url=https://www.facebook.com/share/r/1QzLKegBTA' \
-H 'X-API-Key: YOUR_KEY'What each link gives you
| You send | type | media contains |
|---|---|---|
facebook.com/watch?v=… | video | one file, picture and sound together |
facebook.com/share/r/… | video | the same; a reel is a video here |
What it does not do
Anything a signed-out visitor cannot open: private videos, stories, and posts inside closed groups. Facebook shows those to an account rather than to the public, and this API does not pretend otherwise.
Field-by-field detail is on the response shape page.
Code examples
The same request in four languages. Swap in the key from your dashboard and it runs as it is.
curl -G 'https://api.gapi.dev/facebook' \
--data-urlencode 'url=https://www.facebook.com/share/r/1QzLKegBTA' \
-H 'X-API-Key: gapi_live_your_key_here'One call, one request
A carousel with ten slides costs the same as a single photo: one charge against your balance. You pay for calls, not for files.