Instagram Video Transcript
curl --request POST \
--url https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"video_url": "https://www.instagram.com/reels/DLlGZiCOBQ0/",
"channel": "apify"
}
'import requests
url = "https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript"
payload = {
"video_url": "https://www.instagram.com/reels/DLlGZiCOBQ0/",
"channel": "apify"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({video_url: 'https://www.instagram.com/reels/DLlGZiCOBQ0/', channel: 'apify'})
};
fetch('https://mavi-backend.memories.ai/serve/api/v2/instagram/video/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://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'video_url' => 'https://www.instagram.com/reels/DLlGZiCOBQ0/',
'channel' => 'apify'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript"
payload := strings.NewReader("{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "success",
"data": [
{
"transcript": "I'm gonna get a little personal. I had gastric bypass 10 years ago...",
"segments": [
{
"text": "I'm gonna get a little personal.",
"start": 0,
"end": 2
},
{
"text": "I had gastric bypass 10 years ago.",
"start": 2.54,
"end": 5.5
},
{
"text": "Thank you.",
"start": 34.32,
"end": 36.46
}
],
"words": [
{
"word": "I'm",
"start": 0,
"end": 0.02
},
{
"word": "gonna",
"start": 0.02,
"end": 0.24
}
],
"displayUrl": "https://scontent-ord5-3.cdninstagram.com/v/t51.2885-15/...",
"instagramUrl": "https://www.instagram.com/reel/DLlGZiCOBQ0/",
"shortCode": "DLlGZiCOBQ0",
"caption": "I have the moves that they're looking for.",
"hashtags": "",
"ownerUsername": "humansofny",
"ownerFullName": "Humans of New York",
"videoDuration": 41.125,
"timestamp": "2025-07-01T21:09:04.000Z",
"videoUrl": "https://scontent-ord5-2.cdninstagram.com/o1/v/t16/f2/m86/...",
"likesCount": 27791,
"videoViewCount": 27040,
"videoPlayCount": 1799817,
"commentsCount": 487,
"musicArtist": "humansofny",
"musicSong": "Original audio",
"usesOriginalAudio": true,
"locationName": "",
"mentions": "",
"firstComment": "Go for it sweetie!!!",
"id": "3667365614373573684",
"type": "Video",
"url": "https://www.instagram.com/p/DLlGZiCOBQ0/",
"ownerId": "242598499",
"locationId": "",
"productType": "clips",
"isSponsored": false,
"audioId": "24313369781619226",
"isCommentsDisabled": false,
"dimensionsHeight": 1136,
"dimensionsWidth": 640,
"processedAt": "2025-12-30T06:12:24.581Z",
"status": "success",
"metadata": {
"runId": "R5tnfCOZ6KueHW6uI",
"actorId": "3C7L8IMQOkq3isV2Y",
"processingType": "single-processing",
"urlIndex": 1,
"totalUrls": 1,
"userTier": "PAID",
"processingSpeed": "standard"
}
}
],
"failed": false,
"success": true
}
Instagram
Instagram Video Transcript
Get Instagram video transcript.
POST
/
instagram
/
video
/
transcript
Instagram Video Transcript
curl --request POST \
--url https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"video_url": "https://www.instagram.com/reels/DLlGZiCOBQ0/",
"channel": "apify"
}
'import requests
url = "https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript"
payload = {
"video_url": "https://www.instagram.com/reels/DLlGZiCOBQ0/",
"channel": "apify"
}
headers = {
"Authorization": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({video_url: 'https://www.instagram.com/reels/DLlGZiCOBQ0/', channel: 'apify'})
};
fetch('https://mavi-backend.memories.ai/serve/api/v2/instagram/video/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://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'video_url' => 'https://www.instagram.com/reels/DLlGZiCOBQ0/',
'channel' => 'apify'
]),
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript"
payload := strings.NewReader("{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript")
.header("Authorization", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://mavi-backend.memories.ai/serve/api/v2/instagram/video/transcript")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"video_url\": \"https://www.instagram.com/reels/DLlGZiCOBQ0/\",\n \"channel\": \"apify\"\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"msg": "success",
"data": [
{
"transcript": "I'm gonna get a little personal. I had gastric bypass 10 years ago...",
"segments": [
{
"text": "I'm gonna get a little personal.",
"start": 0,
"end": 2
},
{
"text": "I had gastric bypass 10 years ago.",
"start": 2.54,
"end": 5.5
},
{
"text": "Thank you.",
"start": 34.32,
"end": 36.46
}
],
"words": [
{
"word": "I'm",
"start": 0,
"end": 0.02
},
{
"word": "gonna",
"start": 0.02,
"end": 0.24
}
],
"displayUrl": "https://scontent-ord5-3.cdninstagram.com/v/t51.2885-15/...",
"instagramUrl": "https://www.instagram.com/reel/DLlGZiCOBQ0/",
"shortCode": "DLlGZiCOBQ0",
"caption": "I have the moves that they're looking for.",
"hashtags": "",
"ownerUsername": "humansofny",
"ownerFullName": "Humans of New York",
"videoDuration": 41.125,
"timestamp": "2025-07-01T21:09:04.000Z",
"videoUrl": "https://scontent-ord5-2.cdninstagram.com/o1/v/t16/f2/m86/...",
"likesCount": 27791,
"videoViewCount": 27040,
"videoPlayCount": 1799817,
"commentsCount": 487,
"musicArtist": "humansofny",
"musicSong": "Original audio",
"usesOriginalAudio": true,
"locationName": "",
"mentions": "",
"firstComment": "Go for it sweetie!!!",
"id": "3667365614373573684",
"type": "Video",
"url": "https://www.instagram.com/p/DLlGZiCOBQ0/",
"ownerId": "242598499",
"locationId": "",
"productType": "clips",
"isSponsored": false,
"audioId": "24313369781619226",
"isCommentsDisabled": false,
"dimensionsHeight": 1136,
"dimensionsWidth": 640,
"processedAt": "2025-12-30T06:12:24.581Z",
"status": "success",
"metadata": {
"runId": "R5tnfCOZ6KueHW6uI",
"actorId": "3C7L8IMQOkq3isV2Y",
"processingType": "single-processing",
"urlIndex": 1,
"totalUrls": 1,
"userTier": "PAID",
"processingSpeed": "standard"
}
}
],
"failed": false,
"success": true
}
Product: Visual Intelligence — Social Media Scraping
Use case: Fetch video metadata, transcripts, captions, and comments from YouTube, Instagram, TikTok, and Twitter/X
Host:
https://mavi-backend.memories.ai/serve/api/v2
Auth: Authorization: sk-mavi-... (no Bearer prefix)Channel routing guide: see Social Media Scraping Overview. Endpoints with a
channel request field let you choose apify, rapid, or memories.ai; endpoints without this field use managed routing.Pricing:
- rapid channel: $0.01 per video
- memories.ai channel: $0.01 per video
- apify channel: Charged at Apify’s actual cost (higher and variable pricing)
Code Example
import requests
BASE_URL = "https://mavi-backend.memories.ai/serve/api/v2"
API_KEY = "sk-mavi-..."
HEADERS = {
"Authorization": f"{API_KEY}"
}
def instagram_video_transcript(video_url: str, channel: str):
url = f"{BASE_URL}/instagram/video/transcript"
data = {"video_url": video_url, "channel": channel}
resp = requests.post(url, headers=HEADERS, json=data)
return resp.json()
# Usage example
result = instagram_video_transcript("https://www.instagram.com/reels/DLlGZiCOBQ0/", "apify")
print(result)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
| video_url | string | Yes | The Instagram video URL |
| channel | string | Yes | The channel name. Supported values: apify, rapid, memories.ai |
Response
Response shape depends on the
channel parameter — same channel-dependent split as the other scraping endpoints. Verified live:channel: "apify"—datais an array with one object:{transcript, segments, words, detected_language, url, instagramUrl}. The example below is this shape.channel: "memories.ai"—datais an object:{success, credits_remaining, transcripts}.channel: "rapid"— same alternative shape asmemories.ai.
/instagram/video/metadata — /p/<shortcode>/ URLs return HTTP 400 "instagram url error".
{
"code": 200,
"msg": "success",
"data": [
{
"transcript": "I'm gonna get a little personal. I had gastric bypass 10 years ago...",
"segments": [
{
"text": "I'm gonna get a little personal.",
"start": 0,
"end": 2
},
{
"text": "I had gastric bypass 10 years ago.",
"start": 2.54,
"end": 5.5
},
{
"text": "Thank you.",
"start": 34.32,
"end": 36.46
}
],
"words": [
{
"word": "I'm",
"start": 0,
"end": 0.02
},
{
"word": "gonna",
"start": 0.02,
"end": 0.24
}
],
"displayUrl": "https://scontent-ord5-3.cdninstagram.com/v/t51.2885-15/...",
"instagramUrl": "https://www.instagram.com/reel/DLlGZiCOBQ0/",
"shortCode": "DLlGZiCOBQ0",
"caption": "I have the moves that they're looking for.",
"hashtags": "",
"ownerUsername": "humansofny",
"ownerFullName": "Humans of New York",
"videoDuration": 41.125,
"timestamp": "2025-07-01T21:09:04.000Z",
"videoUrl": "https://scontent-ord5-2.cdninstagram.com/o1/v/t16/f2/m86/...",
"likesCount": 27791,
"videoViewCount": 27040,
"videoPlayCount": 1799817,
"commentsCount": 487,
"musicArtist": "humansofny",
"musicSong": "Original audio",
"usesOriginalAudio": true,
"locationName": "",
"mentions": "",
"firstComment": "Go for it sweetie!!!",
"id": "3667365614373573684",
"type": "Video",
"url": "https://www.instagram.com/p/DLlGZiCOBQ0/",
"ownerId": "242598499",
"locationId": "",
"productType": "clips",
"isSponsored": false,
"audioId": "24313369781619226",
"isCommentsDisabled": false,
"dimensionsHeight": 1136,
"dimensionsWidth": 640,
"processedAt": "2025-12-30T06:12:24.581Z",
"status": "success",
"metadata": {
"runId": "R5tnfCOZ6KueHW6uI",
"actorId": "3C7L8IMQOkq3isV2Y",
"processingType": "single-processing",
"urlIndex": 1,
"totalUrls": 1,
"userTier": "PAID",
"processingSpeed": "standard"
}
}
],
"failed": false,
"success": true
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code indicating the result status |
| msg | string | Response message describing the operation result |
| data | array[object] | Array containing transcript data objects |
| data[].transcript | string | Complete transcript text |
| data[].segments | array[object] | Array of transcript segments with timing information |
| data[].segments[].text | string | Text content of the segment |
| data[].segments[].start | number | Start time of the segment in seconds |
| data[].segments[].end | number | End time of the segment in seconds |
| data[].words | array[object] | Array of individual words with timing information |
| data[].words[].word | string | The word text |
| data[].words[].start | number | Start time of the word in seconds |
| data[].words[].end | number | End time of the word in seconds |
| data[].displayUrl | string | Display image URL |
| data[].instagramUrl | string | Instagram video URL |
| data[].shortCode | string | Instagram short code |
| data[].caption | string | Video caption |
| data[].ownerUsername | string | Instagram owner username |
| data[].ownerFullName | string | Instagram owner full name |
| data[].videoDuration | number | Video duration in seconds |
| data[].timestamp | string | Video timestamp |
| data[].videoUrl | string | Direct video URL |
| data[].likesCount | number | Number of likes |
| data[].videoViewCount | number | Number of video views |
| data[].videoPlayCount | number | Number of video plays |
| data[].commentsCount | number | Number of comments |
| data[].musicArtist | string | Music artist name |
| data[].musicSong | string | Music song name |
| data[].usesOriginalAudio | boolean | Whether the video uses original audio |
| data[].firstComment | string | First comment text |
| data[].id | string | Video ID |
| data[].type | string | Content type |
| data[].url | string | Video URL |
| data[].ownerId | string | Owner ID |
| data[].productType | string | Product type |
| data[].isSponsored | boolean | Whether the video is sponsored |
| data[].isCommentsDisabled | boolean | Whether comments are disabled |
| data[].dimensionsHeight | number | Video height in pixels |
| data[].dimensionsWidth | number | Video width in pixels |
| data[].processedAt | string | Processing timestamp |
| data[].status | string | Processing status |
| data[].metadata | object | Additional metadata information |
| success | boolean | Indicates whether the operation was successful |
| failed | boolean | Indicates whether the operation failed |
Authorizations
Body
application/json
Response
200 - application/json
Video transcript with detailed timing information and metadata
Response code indicating the result status
Example:
200
Response message describing the operation result
Example:
"success"
Array containing transcript data objects
Show child attributes
Show child attributes
Indicates whether the operation was successful
Example:
true
Indicates whether the operation failed
Example:
false
⌘I
