Complete reference for the GetVidFB Facebook Video & Story API v1.
All API requests require an API key. Include your key in the request header:
X-API-Key: gvfb_your_api_key_here
You can get your API key by creating a free account and visiting your dashboard.
https://getvidfb.com/api/v1
Extracts video, story, or reel data from a Facebook URL. The API automatically detects the content type.
| Parameter | Type | Required | Description |
|---|---|---|---|
url |
string | Required | The full Facebook URL (video, story, or reel) |
| Header | Required | Description |
|---|---|---|
X-API-Key |
Required | Your API key from the dashboard |
curl -X GET \ "https://getvidfb.com/api/v1/video-info?url=https://www.facebook.com/watch?v=123456789" \ -H "X-API-Key: gvfb_your_api_key_here"
Video Response:
{
"success": true,
"source": "FB-Vid",
"title": "Video title here",
"description": "Video description...",
"thumbnail": "https://thumbnail-url.jpg",
"links": {
"sd": "https://sd-video-url.mp4",
"hd": "https://hd-video-url.mp4",
"audio": "https://audio-url.mp3"
},
"timestamp": "2026-03-29T07:00:00.000Z"
}
Story Response:
{
"success": true,
"source": "FB-Story",
"title": "Story title",
"items": [
{
"title": "Story title _ 00",
"thumbnail": "https://photo-url.jpg",
"sd": "https://sd-url.mp4",
"hd": "https://hd-url.mp4",
"audio": "https://audio-url.mp3"
}
],
"timestamp": "2026-03-29T07:00:00.000Z"
}
{
"success": false,
"error": "Invalid or missing API key."
}
{
"success": false,
"error": "The 'url' query parameter is required."
}
{
"success": false,
"error": "Daily request limit exceeded. Upgrade your plan for more.",
"limit": 50,
"used": 50
}
{
"success": false,
"error": "Failed to extract data. The URL may be invalid or the content is private."
}
| Plan | Daily Limit | Rate |
|---|---|---|
| Free | 50 requests | 5 req/min |
| Starter ($9.99/mo) | 500 requests | 30 req/min |
| Pro ($49.99/mo) | 5,000 requests | 60 req/min |
| Business ($149.99/mo) | 20,000 requests | 120 req/min |
Limits reset at midnight UTC. Check the X-RateLimit-Remaining response header to monitor usage.
https://www.facebook.com/watch?v=123456789https://www.facebook.com/user/videos/123456789https://www.facebook.com/reel/123456789https://www.facebook.com/stories/123456789https://www.facebook.com/share/v/abcdefhttps://m.facebook.com/... (mobile URLs auto-converted)https://web.facebook.com/... (web URLs auto-converted)const response = await fetch( `https://getvidfb.com/api/v1/video-info?url=${encodeURIComponent(fbUrl)}`, { headers: { 'X-API-Key': 'YOUR_KEY' } } ); const data = await response.json();
import requests r = requests.get( "https://getvidfb.com/api/v1/video-info", params={"url": fb_url}, headers={"X-API-Key": "YOUR_KEY"} ) data = r.json()
$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, "https://getvidfb.com/api/v1/video-info?url=" . urlencode($fbUrl)); curl_setopt($ch, CURLOPT_HTTPHEADER, [ "X-API-Key: YOUR_KEY" ]); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $response = curl_exec($ch); $data = json_decode($response, true);
Contact us at [email protected] or check the FAQ.