{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reel Transcript Scraper",
    "description": "Transcribe public Instagram Reels and video posts with accurate timestamps, WebVTT and SRT subtitles, word-level confidence, optional speaker diarization, content analysis, and post metadata.",
    "version": "0.1",
    "x-build-id": "qJB6InZDJldw6PRUs"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fetchfinch~instagram-reel-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fetchfinch-instagram-reel-transcript-scraper",
        "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/fetchfinch~instagram-reel-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fetchfinch-instagram-reel-transcript-scraper",
        "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/fetchfinch~instagram-reel-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fetchfinch-instagram-reel-transcript-scraper",
        "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": {
          "reelUrls": {
            "title": "Instagram Reel URLs",
            "maxItems": 1000,
            "type": "array",
            "description": "One or more public Instagram Reel URLs or bare shortcodes. /p/, /reel/, /reels/, and /tv/ URLs are accepted.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "postUrls": {
            "title": "Post URLs (backward-compatible alias)",
            "maxItems": 1000,
            "type": "array",
            "description": "Optional alias for reelUrls, useful when chaining the downloader Actor.",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "usernames": {
            "title": "Public Instagram usernames",
            "maxItems": 20,
            "type": "array",
            "description": "Optional public profiles. Recent video posts are discovered and transcribed using the profile options below.",
            "items": {
              "type": "string",
              "pattern": "^@?[A-Za-z0-9._]{1,30}$"
            }
          },
          "resultsLimitPerProfile": {
            "title": "Results per profile",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum recent video posts to transcribe from each public profile.",
            "default": 12
          },
          "onlyPostsNewerThan": {
            "title": "Only posts newer than",
            "type": "string",
            "description": "Optional filter such as 7 days, 2 weeks, or 2026-08-01."
          },
          "skipPinnedPosts": {
            "title": "Skip pinned posts",
            "type": "boolean",
            "description": "Avoid older pinned videos when discovering profile content.",
            "default": true
          },
          "model": {
            "title": "Transcription model",
            "enum": [
              "nova-3",
              "nova-2",
              "whisper-large"
            ],
            "type": "string",
            "description": "Speech-to-text model used for the downloaded video.",
            "default": "nova-3"
          },
          "language": {
            "title": "Spoken language",
            "type": "string",
            "description": "Use auto for detection or a BCP-47 language tag such as en, es, or pt.",
            "default": "auto"
          },
          "smartFormat": {
            "title": "Smart formatting",
            "type": "boolean",
            "description": "Add punctuation, capitalization, and readable formatting.",
            "default": true
          },
          "diarize": {
            "title": "Detect speakers",
            "type": "boolean",
            "description": "Include speaker numbers on words and utterance segments.",
            "default": false
          },
          "includeWords": {
            "title": "Include word timestamps",
            "type": "boolean",
            "description": "Return word-level timing and confidence data in addition to segments.",
            "default": true
          },
          "includeQuality": {
            "title": "Include transcript quality",
            "type": "boolean",
            "description": "Return confidence score, low-confidence spans, speech detection, and speech duration.",
            "default": true
          },
          "lowConfidenceThreshold": {
            "title": "Low-confidence threshold",
            "minimum": 0,
            "maximum": 1,
            "type": "number",
            "description": "Words below this confidence value are grouped into low-confidence spans.",
            "default": 0.8
          },
          "includeSrt": {
            "title": "Include SRT subtitles",
            "type": "boolean",
            "description": "Return an SRT subtitle document in addition to WebVTT.",
            "default": true
          },
          "deepgramFeatures": {
            "title": "Content analysis features",
            "maxItems": 5,
            "type": "array",
            "description": "Optional topics, sentiment, summary, and intent analysis. Some analysis features are English-focused.",
            "items": {
              "type": "string"
            }
          },
          "customTopics": {
            "title": "Custom topics",
            "maxItems": 100,
            "type": "array",
            "description": "Optional topics to look for when topic analysis is enabled.",
            "items": {
              "type": "string"
            }
          },
          "customIntents": {
            "title": "Custom intents",
            "maxItems": 100,
            "type": "array",
            "description": "Optional intents to look for when intent analysis is enabled.",
            "items": {
              "type": "string"
            }
          },
          "fillerWords": {
            "title": "Include filler words",
            "type": "boolean",
            "description": "Preserve filler words such as uh and um when recognized.",
            "default": false
          },
          "numerals": {
            "title": "Format numerals",
            "type": "boolean",
            "description": "Convert spoken numbers to numerical form where supported.",
            "default": false
          },
          "measurements": {
            "title": "Format measurements",
            "type": "boolean",
            "description": "Convert spoken measurements to abbreviated form where supported.",
            "default": false
          },
          "profanityFilter": {
            "title": "Filter profanity",
            "type": "boolean",
            "description": "Filter recognized profanity.",
            "default": false
          },
          "redact": {
            "title": "Redact sensitive entities",
            "maxItems": 50,
            "type": "array",
            "description": "Optional entity types to redact, such as pii, phone_number, or email_address.",
            "items": {
              "type": "string"
            }
          },
          "keyterms": {
            "title": "Key terms",
            "maxItems": 100,
            "type": "array",
            "description": "Optional brand or product terms to improve recognition with Nova-3.",
            "items": {
              "type": "string"
            }
          },
          "maxVideoDurationSeconds": {
            "title": "Maximum video duration (seconds)",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "Reject videos longer than this before or after transcription.",
            "default": 900
          },
          "maxDownloadBytes": {
            "title": "Maximum video size (bytes)",
            "minimum": 1000000,
            "maximum": 500000000,
            "type": "integer",
            "description": "Safety limit for the temporary video download sent for transcription.",
            "default": 200000000
          },
          "maxRetries": {
            "title": "Retries per URL",
            "minimum": 0,
            "maximum": 5,
            "type": "integer",
            "description": "Number of retries for transient Instagram, media, or transcription errors.",
            "default": 2
          },
          "saveVideoToStorage": {
            "title": "Save source video to storage",
            "type": "boolean",
            "description": "Also save the downloaded MP4 in the run Key-Value Store.",
            "default": false
          },
          "mipOptOut": {
            "title": "Opt out of model improvement",
            "type": "boolean",
            "description": "Opt out of model improvement where supported.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify Proxy configuration for Instagram access."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}