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"
}
'
{
  "code": "0000",
  "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
}
This endpoint allows you to retrieve transcript for an Instagram video.

Code Example

import requests

BASE_URL = "https://mavi-backend.memories.ai/serve/api/v2"
API_KEY = "sk-8483027fe3abfe535f6ae01a9979b4f7"
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

FieldTypeRequiredDescription
video_urlstringYesThe Instagram video URL
channelstringYesThe channel name. Supported values: apify, rapid, memories.ai

Response

Returns the video transcript with detailed timing information and metadata.
{
  "code": "0000",
  "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

ParameterTypeDescription
codestringResponse code indicating the result status
msgstringResponse message describing the operation result
dataarray[object]Array containing transcript data objects
data[].transcriptstringComplete transcript text
data[].segmentsarray[object]Array of transcript segments with timing information
data[].segments[].textstringText content of the segment
data[].segments[].startnumberStart time of the segment in seconds
data[].segments[].endnumberEnd time of the segment in seconds
data[].wordsarray[object]Array of individual words with timing information
data[].words[].wordstringThe word text
data[].words[].startnumberStart time of the word in seconds
data[].words[].endnumberEnd time of the word in seconds
data[].displayUrlstringDisplay image URL
data[].instagramUrlstringInstagram video URL
data[].shortCodestringInstagram short code
data[].captionstringVideo caption
data[].ownerUsernamestringInstagram owner username
data[].ownerFullNamestringInstagram owner full name
data[].videoDurationnumberVideo duration in seconds
data[].timestampstringVideo timestamp
data[].videoUrlstringDirect video URL
data[].likesCountnumberNumber of likes
data[].videoViewCountnumberNumber of video views
data[].videoPlayCountnumberNumber of video plays
data[].commentsCountnumberNumber of comments
data[].musicArtiststringMusic artist name
data[].musicSongstringMusic song name
data[].usesOriginalAudiobooleanWhether the video uses original audio
data[].firstCommentstringFirst comment text
data[].idstringVideo ID
data[].typestringContent type
data[].urlstringVideo URL
data[].ownerIdstringOwner ID
data[].productTypestringProduct type
data[].isSponsoredbooleanWhether the video is sponsored
data[].isCommentsDisabledbooleanWhether comments are disabled
data[].dimensionsHeightnumberVideo height in pixels
data[].dimensionsWidthnumberVideo width in pixels
data[].processedAtstringProcessing timestamp
data[].statusstringProcessing status
data[].metadataobjectAdditional metadata information
successbooleanIndicates whether the operation was successful
failedbooleanIndicates whether the operation failed

Authorizations

Authorization
string
header
required

Body

application/json
video_url
string
required

The Instagram video URL

Example:

"https://www.instagram.com/reels/DLlGZiCOBQ0/"

channel
enum<string>
required

The channel name. Supported values: apify, rapid, memories.ai

Available options:
apify,
rapid,
memories.ai
Example:

"apify"

Response

200 - application/json

Video transcript with detailed timing information and metadata

code
string

Response code indicating the result status

Example:

"0000"

msg
string

Response message describing the operation result

Example:

"success"

data
object[]

Array containing transcript data objects

success
boolean

Indicates whether the operation was successful

Example:

true

failed
boolean

Indicates whether the operation failed

Example:

false