Sources › Social media › Facebook › Video Transcript

Facebook Video Transcript API
Transkrip video/reel Facebook publik: segmen bertimestamp (start, duration), teks gabungan, pilih bahasa via `lang`, plus daftar availableLanguages. Video tanpa caption → 404 dengan pesan jelas; bahasa tidak tersedia → 404 berisi daftar bahasa yang ada.
Request
https://api.zapi.ink/v1/social-media:facebook-scraper/transcriptSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| url | string | query | No | Public Facebook video/reel URL (reel, watch?v=, /videos/<id>, fb.watch) or numeric video ID Example: https://www.facebook.com/reel/1532785195556400 |
| id | string | query | No | Numeric video ID — alias for url |
| lang | string | query | No | Transcript language code (e.g. en, id, pt-BR). Default: first available track. Must be one of `availableLanguages` Example: id |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:facebook-scraper/transcript?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F1532785195556400&id=&lang=id" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:facebook-scraper/transcript?url=https%3A%2F%2Fwww.facebook.com%2Freel%2F1532785195556400&id=&lang=id", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:facebook-scraper/transcript", params={"url":"https://www.facebook.com/reel/1532785195556400","id":"","lang":"id"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the Facebook Video Transcript API?
Send a GET request to https://api.zapi.ink/v1/social-media:facebook-scraper/transcript with your Zapi key in the x-api-key header. Parameters — optional: url, id, lang. The response is JSON in the { project, data, timestamp } envelope.
What does the Facebook Video Transcript API return?
Transkrip video/reel Facebook publik: segmen bertimestamp (start, duration), teks gabungan, pilih bahasa via `lang`, plus daftar availableLanguages.
Is the Facebook Video Transcript API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 2 Zap. Paid plans raise the limits.
Can an AI assistant call the Facebook Video Transcript API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "facebook-scraper" and endpoint "transcript".
What other Facebook API endpoints are there?
It has 5 endpoints. Besides Video Transcript: Post Detail, Post Comments, Page Profile, Profile Videos.