{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Transcript Scraper & Reels Monitor",
    "description": "Transcribe public Instagram Reels from URLs or profiles. Get timestamps, SRT/VTT subtitles, hooks, spoken keywords, CTAs, offers, and promo codes. Research profiles or monitor only new Reels. No login required. Unofficial and not affiliated with Instagram.",
    "version": "0.4",
    "x-build-id": "bWbqWLJpDI7Jdrl2y"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/trakk~instagram-transcript-scraper-reels-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-trakk-instagram-transcript-scraper-reels-monitor",
        "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/trakk~instagram-transcript-scraper-reels-monitor/runs": {
      "post": {
        "operationId": "runs-sync-trakk-instagram-transcript-scraper-reels-monitor",
        "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/trakk~instagram-transcript-scraper-reels-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-trakk-instagram-transcript-scraper-reels-monitor",
        "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",
        "required": [
          "mode"
        ],
        "properties": {
          "mode": {
            "title": "Workflow",
            "enum": [
              "urls",
              "profiles",
              "monitor"
            ],
            "type": "string",
            "description": "Choose direct Reel URLs, multi-profile research, or stateful monitoring.",
            "default": "profiles"
          },
          "urls": {
            "title": "Instagram Reel or video URLs",
            "type": "array",
            "description": "Used only in Reel URLs mode. Supports public /reel/, /p/, and /tv/ links or bare shortcodes.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "profiles": {
            "title": "Public Instagram profiles",
            "type": "array",
            "description": "Used in Profile research and Monitor modes. Accepts usernames, @usernames, or full profile URLs.",
            "items": {
              "type": "string"
            }
          },
          "maxReelsPerProfile": {
            "title": "Recent Reels per profile",
            "minimum": 1,
            "maximum": 12,
            "type": "integer",
            "description": "Inspect between 1 and 12 recent public Reels per profile. Keep 1 for the fastest large-list runs.",
            "default": 1
          },
          "monitorId": {
            "title": "Monitor ID",
            "type": "string",
            "description": "Stable name such as competitor-beauty-us. Reuse it on every scheduled run. When empty, the profile list becomes the ID."
          },
          "firstRunMode": {
            "title": "First monitor run",
            "enum": [
              "processCurrent",
              "baselineOnly"
            ],
            "type": "string",
            "description": "Process current Reels immediately, or save them only as a baseline so later runs return newer posts.",
            "default": "processCurrent"
          },
          "spokenKeywords": {
            "title": "Spoken brands or keywords",
            "type": "array",
            "description": "Optional case-insensitive words or brand names. Matches include timestamps and surrounding speech.",
            "items": {
              "type": "string"
            }
          },
          "hookSeconds": {
            "title": "Opening hook length",
            "minimum": 1,
            "maximum": 15,
            "type": "number",
            "description": "Return the spoken opening from this many seconds of the Reel.",
            "default": 5
          },
          "language": {
            "title": "Spoken language",
            "enum": [
              "auto",
              "en",
              "es",
              "fr",
              "de",
              "it",
              "pt",
              "ru",
              "uk",
              "pl",
              "tr",
              "ar",
              "hi",
              "ja",
              "ko",
              "zh"
            ],
            "type": "string",
            "description": "Automatic detection is recommended. Force a language only when you know it in advance.",
            "default": "auto"
          },
          "transcriptionModel": {
            "title": "Accuracy / speed",
            "enum": [
              "tiny",
              "base",
              "small"
            ],
            "type": "string",
            "description": "Tiny is fastest and recommended for profile lists. Base and Small can improve difficult speech but take longer.",
            "default": "tiny"
          },
          "preferNativeCaptions": {
            "title": "Use Instagram captions first",
            "type": "boolean",
            "description": "Use a genuine timed subtitle track when Instagram exposes one; otherwise automatically fall back to speech-to-text.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Connection settings",
            "type": "object",
            "description": "Residential US proxy access is preconfigured for reliable public Instagram requests.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "US"
            }
          },
          "maxConcurrency": {
            "title": "Parallel media jobs",
            "minimum": 1,
            "maximum": 2,
            "type": "integer",
            "description": "Two parallel discovery and media jobs provide stable throughput on the fixed 4 GB configuration.",
            "default": 2
          },
          "transcriptionConcurrency": {
            "title": "Parallel transcriptions",
            "minimum": 1,
            "maximum": 1,
            "type": "integer",
            "description": "Speech recognition is serialized for predictable memory usage and consistent long-list runs.",
            "default": 1
          },
          "maxRetries": {
            "title": "Request retries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Retry temporarily blocked, rate-limited, or interrupted Instagram requests.",
            "default": 5
          },
          "requestTimeoutSecs": {
            "title": "Request timeout",
            "minimum": 10,
            "maximum": 120,
            "type": "integer",
            "description": "Maximum time allowed for one Instagram or media request.",
            "default": 35
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}