Reels
Download a Facebook reel.
Endpoint
GET
/s/facebook/postSend your API key in the X-API-Key header. facebook is the usual service slug; use the one shown on your subscription if it differs.
Query parameters
| Name | Description |
|---|---|
urlrequired | Link to the reel. You can pass the numeric ID as id instead.Example: https://www.facebook.com/reel/987654321098765 |
Accepted links
- https://www.facebook.com/reel/<id>
- https://www.facebook.com/share/r/<code>/
Example request
curl '/s/facebook/post?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F987654321098765' \
-H 'X-API-Key: YOUR_API_KEY'Example response
The result is in data. Fields the platform didn't report are left out. Field reference: response shapes.
{
"data": {
"platform": "facebook",
"id": "987654321098765",
"url": "https://www.facebook.com/reel/987654321098765",
"type": "reel",
"text": "Morning routine ☕",
"author": {
"id": "100070000000000",
"username": "",
"name": "Example Creator",
"avatar": "https://cdn.example/avatar.jpg",
"verified": false
},
"media": [
{
"type": "video",
"url": "https://video.fbcdn.example/reel-hd.mp4",
"thumbnail": "https://scontent.fbcdn.example/reel.jpg",
"width": 720,
"height": 1280,
"duration": 21.5
}
],
"stats": {
"likes": 860,
"comments": 34,
"views": 41000
}
}
}Notes
- Media URLs are signed by the platform and expire after a few hours. Download the files promptly instead of storing the links.