Skip to main content
GET
/
v1
/
scrape
/
facebook
/
post
/
transcript
Transcript
curl --request GET \
  --url https://api.sociavault.com/v1/scrape/facebook/post/transcript \
  --header 'X-API-Key: <api-key>'
import requests

url = "https://api.sociavault.com/v1/scrape/facebook/post/transcript"

headers = {"X-API-Key": "<api-key>"}

response = requests.get(url, headers=headers)

print(response.text)
const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};

fetch('https://api.sociavault.com/v1/scrape/facebook/post/transcript', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
  CURLOPT_URL => "https://api.sociavault.com/v1/scrape/facebook/post/transcript",
  CURLOPT_RETURNTRANSFER => true,
  CURLOPT_ENCODING => "",
  CURLOPT_MAXREDIRS => 10,
  CURLOPT_TIMEOUT => 30,
  CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  CURLOPT_CUSTOMREQUEST => "GET",
  CURLOPT_HTTPHEADER => [
    "X-API-Key: <api-key>"
  ],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
  echo "cURL Error #:" . $err;
} else {
  echo $response;
}
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.sociavault.com/v1/scrape/facebook/post/transcript"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-API-Key", "<api-key>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://api.sociavault.com/v1/scrape/facebook/post/transcript")
  .header("X-API-Key", "<api-key>")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api.sociavault.com/v1/scrape/facebook/post/transcript")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'

response = http.request(request)
puts response.read_body
{
  "success": true,
  "data": {
    "success": true,
    "transcript": "1\n00:00:00,000 --> 00:00:02,561\nA recipe that **** Throw one\nripe banana into a bowl and\n\n2\n00:00:02,561 --> 00:00:05,121\ngive it a mash. Followed by\nvanilla protein yogurt, cocoa\n\n3\n00:00:05,121 --> 00:00:08,161\npowder, egg whites, oat flour,\nbaking powder, some vanilla\n\n4\n00:00:08,161 --> 00:00:10,881\nextract and give it a good mix\nand pour into a baking tin. Add\n\n5\n00:00:10,881 --> 00:00:12,881\nin a cheeky square of dark\nchocolate if you please and\n\n6\n00:00:12,881 --> 00:00:14,961\nbake in the air fryer for 20\nminutes and now you got\n\n7\n00:00:14,961 --> 00:00:18,241\nyourself a dessert that 100%\n**** packing 27 grams of\n\n8\n00:00:18,241 --> 00:00:20,961\nprotein. Full recipe's in the\ndescription so until next time.\n\n9\n00:00:20,961 --> 00:00:24,881\nBon appetite and we'll see you\nin the next video."
  },
  "credits_used": 1,
  "endpoint": "facebook/post/transcript"
}
{
  "error": "Missing required parameter: handle",
  "endpoint": "<string>",
  "credits_required": 123
}
{
  "error": "Invalid API key",
  "docs": "https://docs.sociavault.com/authentication"
}
{
  "error": "Insufficient credits",
  "required": 1,
  "available": 0
}
{
  "error": "Service configuration error"
}
💳 1 credit per request

Authorizations

X-API-Key
string
header
required

API key for authentication. Format: sk_live_xxxxxxxxxxxxx

Get your API key from the Dashboard.

Query Parameters

url
string
required

Facebook post URL

Response

Successful response

Key Response Fields:

  • data.transcript: Full SRT-formatted transcript with segment timestamps (e.g., "1\n00:00:00,000 --> 00:00:02,561\nText here...") Each numbered segment includes the cue number, start → end timecode, and the spoken text