{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reels Transcript – TikTok & Facebook Video to Text",
    "description": "Batch-transcribe public Instagram Reels, TikTok and Facebook videos. Get text, timestamps, SRT and opening hooks from links or an Apify scraper dataset. Fast transcription costs $0.004 per audio minute plus a per-run start fee.",
    "version": "0.1",
    "x-build-id": "h8jaANfipLv6a2jFV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/data_daemon~reels-transcript-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-data_daemon-reels-transcript-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/data_daemon~reels-transcript-api/runs": {
      "post": {
        "operationId": "runs-sync-data_daemon-reels-transcript-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/data_daemon~reels-transcript-api/run-sync": {
      "post": {
        "operationId": "run-sync-data_daemon-reels-transcript-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "urls": {
            "title": "Video links",
            "type": "array",
            "description": "One link per line: Instagram Reels and posts (instagram.com/reel/..., /p/...), Facebook videos and Reels (facebook.com/reel/..., /<page>/videos/..., /watch?v=..., fb.watch/...) and TikTok videos (tiktok.com/@user/video/..., vm.tiktok.com/...). Public posts only, no login. Profile pages and YouTube links are not read (they are returned with an error, not charged).",
            "items": {
              "type": "string"
            }
          },
          "datasetId": {
            "title": "Dataset ID from a scraper run",
            "type": "string",
            "description": "Enter the default dataset ID of a scraper run your Apify account can read. Clear the sample entry in Video links for a dataset-only run. For Apify’s Instagram scrapers, use top-level post rows and leave the link field blank or set it to url. In an Actor integration, use {{resource.defaultDatasetId}}."
          },
          "urlField": {
            "title": "Field with the post link",
            "maxLength": 200,
            "type": "string",
            "description": "The dataset field that holds each post's link. Leave empty to try the usual ones in order: url (Apify's Instagram scrapers), webVideoUrl (TikTok scrapers), topLevelReelUrl (Facebook Reels scraper), shareable_url, postUrl, link. A dotted path such as videoMeta.url works too."
          },
          "model": {
            "title": "Accuracy",
            "enum": [
              "fast",
              "accurate"
            ],
            "type": "string",
            "description": "Fast: Whisper tiny, $0.004 per audio minute, good for clear speech, search, hooks and summaries. Accurate: Whisper base, $0.008 per audio minute, fewer mistakes on names, accents and noisy audio; takes about twice as long.",
            "default": "fast"
          },
          "language": {
            "title": "Language",
            "maxLength": 5,
            "type": "string",
            "description": "auto detects the spoken language. Or give a language code (en, es, de, fr, pt, hi, ja, ...; en-US is read as en) when you know it: safer for videos that start with music.",
            "default": "auto"
          },
          "maxItems": {
            "title": "Max videos",
            "minimum": 1,
            "maximum": 5000,
            "type": "integer",
            "description": "At most this many videos per run (links and dataset rows together, after duplicates are removed). With onlyNew, videos delivered before do not count, and links that are not videos (profiles, YouTube) never count. Default 100.",
            "default": 100
          },
          "maxVideoMinutes": {
            "title": "Max minutes per video",
            "minimum": 1,
            "maximum": 180,
            "type": "integer",
            "description": "Transcribe at most the first N minutes of each video (Reels and TikToks are shorter; this matters for long Facebook videos). You pay for the minutes transcribed.",
            "default": 30
          },
          "transcribeMusicPosts": {
            "title": "Transcribe TikToks whose sound is a song",
            "type": "boolean",
            "description": "A TikTok post that uses a song or library track as its sound usually has no speech of its own. Such posts are returned with status music, not transcribed and not charged. Turn on to transcribe their audio anyway (charged when speech is found).",
            "default": false
          },
          "includeSegments": {
            "title": "Timestamps (segments)",
            "type": "boolean",
            "description": "Add the list of segments with start and end seconds to each row.",
            "default": true
          },
          "includeSrt": {
            "title": "SRT subtitles",
            "type": "boolean",
            "description": "Add the transcript as SRT subtitle text to each row.",
            "default": true
          },
          "onlyNew": {
            "title": "Only videos not delivered before",
            "type": "boolean",
            "description": "Remember the videos delivered and skip them on later runs: schedule the Actor after a scraper and each new Reel is transcribed once. Videos delivered before are not charged.",
            "default": false
          },
          "stateName": {
            "title": "Memory name",
            "maxLength": 60,
            "type": "string",
            "description": "Optional name for the memory of delivered videos. Schedules with different names keep separate memories; without a name all runs of your account share one."
          },
          "maxProxyPercent": {
            "title": "Residential retries (% of links)",
            "minimum": 0,
            "maximum": 10,
            "type": "integer",
            "description": "A link that meets a login or rate wall is tried once more through a residential proxy, for at most this share of the links the run reads (rounded down, so a run of fewer than 20 links makes no proxied retry at the default; included in the price). 0 turns retries off.",
            "default": 5
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}