{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Transcript Scraper — Reels, Posts & IGTV to Text",
    "description": "Instagram reel transcripts from a handle, reel URL, or chained dataset. On-device Whisper returns the full spoken text, hook3s, SRT/VTT subtitles and creator metadata. No login. Silent and music-only reels are not charged. Flat $0.015 per delivered transcript, any length.",
    "version": "0.0",
    "x-build-id": "tNCqMDvuriJiCSfFa"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~instagram-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-instagram-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/memo23~instagram-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-instagram-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/memo23~instagram-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-instagram-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": {
          "startUrls": {
            "title": "Instagram video URLs or creators",
            "type": "array",
            "description": "Paste Instagram <b>Reel</b>, <b>post</b> (/p/) or <b>IGTV</b> (/tv/) URLs, or a creator profile / @handle. A profile is expanded into that account's most recent reels (see Max reels per creator). Image-only posts are skipped.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "handles": {
            "title": "Creator handles",
            "type": "array",
            "description": "Instagram usernames to walk — <code>nasa</code>, <code>@nasa</code>, or a profile URL. The actor lists each creator's most recent reels and transcribes them. No login. Example: <code>nasa</code>.",
            "items": {
              "type": "string"
            }
          },
          "videoUrls": {
            "title": "Direct video URLs",
            "type": "array",
            "description": "Instagram CDN or other direct <code>.mp4</code> / <code>.webm</code> links (the <code>videoUrl</code> field on another IG scraper's row). Transcribed the same as a reel URL. Example: <code>https://scontent.cdninstagram.com/…/clip.mp4</code>. Default: none.",
            "items": {
              "type": "string"
            }
          },
          "maxReelsPerHandle": {
            "title": "Max reels per creator",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many of each creator's most recent reels to transcribe. Newest first. Capped by Max videos below.",
            "default": 12
          },
          "datasetId": {
            "title": "Dataset ID (chain a scraper run)",
            "type": "string",
            "description": "Default dataset ID of a finished Instagram scraper run. The actor deep-scans each row for reel/post/IGTV URLs. Works with memo23/instagram-reel-scraper, instagram-post-scraper, and the official apify/instagram-scraper."
          },
          "datasetItems": {
            "title": "Dataset items (paste rows)",
            "type": "array",
            "description": "Paste rows from an Instagram scraper instead of chaining by ID. Any field that holds an instagram.com/reel, /p/ or /tv/ URL is picked up."
          },
          "watchlistId": {
            "title": "Watchlist ID",
            "type": "string",
            "description": "Named key-value store that remembers which shortcodes this run already transcribed. Use the same id on a schedule (e.g. <code>nasa-daily</code>) so later runs can skip old reels. Letters, numbers, hyphens, underscores. Example: <code>nasa-daily</code>. Default: none."
          },
          "newReelsOnly": {
            "title": "Only new reels",
            "type": "boolean",
            "description": "When enabled, skip reels already stored on the Watchlist ID. Requires <code>watchlistId</code>. Newest-first profile walks stop at the first seen reel. Empty incremental runs do not transcribe the sample reel. Default: false.",
            "default": false
          },
          "whisperModel": {
            "title": "Whisper model",
            "enum": [
              "tiny",
              "base",
              "small"
            ],
            "type": "string",
            "description": "<b>tiny</b> (default) is ~5× faster and reliable on Apify's CPU. <b>base</b>/<b>small</b> are more accurate but slower and can time out on longer videos.",
            "default": "tiny"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Spoken language of the videos as an ISO code (e.g. <code>en</code>, <code>es</code>, <code>ar</code>), or <code>auto</code> to let Whisper detect it per video. Setting the correct language is faster and more accurate than auto-detect.",
            "default": "auto"
          },
          "includeSegments": {
            "title": "Include timestamped segments",
            "type": "boolean",
            "description": "When enabled (default), each row includes a <code>segments</code> array of <code>{start, end, text}</code> chunks (subtitle-style timings) in addition to the full <code>transcript</code> string. Disable for a smaller, text-only output.",
            "default": true
          },
          "maxItems": {
            "title": "Max videos",
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of videos to transcribe this run. Transcription is the slow/costly step, so start small.",
            "default": 25
          },
          "maxDurationSec": {
            "title": "Skip videos longer than (seconds)",
            "type": "integer",
            "description": "Videos longer than this are skipped (a guard so one very long video can't burn minutes of compute). Default 300 (5 min); set 0 to disable.",
            "default": 300
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 4,
            "type": "integer",
            "description": "How many videos to transcribe in parallel. Each Whisper pass is CPU-heavy, so 1–2 is safest on standard Apify runners; higher can time out.",
            "default": 2
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Paid runs use the house residential pool automatically, so this can be left alone. Set it only if you need a specific country or want to use your own proxies.",
            "default": {
              "useApifyProxy": true
            }
          },
          "analyzeReel": {
            "title": "Read on-screen text, hook and structure",
            "type": "boolean",
            "description": "Samples frames from each reel and reads what is written ON the video — caption cards, recipe quantities, prices, step numbers, URLs — plus the hook, the call to action and a beat-by-beat breakdown with timings. This is the half of the script that audio-only transcription cannot see, and on a silent or music-only reel it is the ENTIRE script. Costs one extra AI call per reel, so it is off by default.",
            "default": false
          },
          "analysisMaxFrames": {
            "title": "Frames sampled per reel",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "How many frames are sampled from each reel and sent to the vision model. More frames catch more on-screen text but cost more — vision input is about 970 tokens per frame. 8 is the sweet spot, 12 the ceiling.",
            "default": 8
          },
          "summarize": {
            "title": "Summary, chapters and keywords (AI)",
            "type": "boolean",
            "description": "After transcribing, Claude Haiku 4.5 writes a short summary of the reel, a list of chapters with start times, and the keywords that matter most in it — each in the language the reel is spoken in. Reels with no speech are skipped, and a summary that fails to come back leaves the transcript untouched and says why in <code>summaryError</code>. Charged per summary delivered. Default: off.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}