{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reels Transcript & Hook API — No Login ($3.80/1K)",
    "description": "No-login Instagram Reels audio-first extractor & Whisper transcriber ($3.80/1K Gold). Downloads lightweight DASH audio (~100-300 KB) via Groq or pre-baked local faster-whisper, outputting 3.5s opening hooks, hookType, WPS & timestamps with $0 on silent Reels.",
    "version": "0.1",
    "x-build-id": "l31ehtN2m9CTbieFk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/studio001~instagram-reels-ai-transcript-hook-extractor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-studio001-instagram-reels-ai-transcript-hook-extractor",
        "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/studio001~instagram-reels-ai-transcript-hook-extractor/runs": {
      "post": {
        "operationId": "runs-sync-studio001-instagram-reels-ai-transcript-hook-extractor",
        "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/studio001~instagram-reels-ai-transcript-hook-extractor/run-sync": {
      "post": {
        "operationId": "run-sync-studio001-instagram-reels-ai-transcript-hook-extractor",
        "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": [
          "reelUrls"
        ],
        "properties": {
          "reelUrls": {
            "title": "Instagram Reel URLs or Shortcodes",
            "type": "array",
            "description": "List of public Instagram Reel/Post URLs (e.g., https://www.instagram.com/reel/Df8Tj7uNwUe/) or bare shortcodes. Also accepts comma/newline strings and aliases (bulkUrls, urls, url, instagramUrl).",
            "items": {
              "type": "string"
            }
          },
          "language": {
            "title": "Language Hint (ISO 639-1)",
            "type": "string",
            "description": "Optional ISO 639-1 spoken language code (e.g., en, es, ko, ja) or \"auto\" for automatic speech language detection.",
            "default": "auto"
          },
          "hookWindowSeconds": {
            "title": "Opening Hook Window (Seconds)",
            "minimum": 1,
            "maximum": 10,
            "type": "number",
            "description": "Duration window from 0.0s used to capture the opening hook transcript (openingHook3s) and classify hookType (0.5-30.0s supported; default 3.5s).",
            "default": 3.5
          },
          "transcriptionBackend": {
            "title": "Transcription Backend",
            "enum": [
              "auto",
              "groq",
              "local_whisper"
            ],
            "type": "string",
            "description": "auto uses Groq Whisper Large-v3-Turbo when groqApiKey/GROQ_API_KEY is available and falls back seamlessly to local faster-whisper; groq forces cloud Whisper; local_whisper runs offline CPU inference.",
            "default": "auto"
          },
          "localWhisperModel": {
            "title": "Local Whisper Model Size",
            "enum": [
              "tiny",
              "base",
              "small"
            ],
            "type": "string",
            "description": "faster-whisper model size used when running locally (tiny is pre-baked into the Docker image for instant cold starts).",
            "default": "tiny"
          },
          "groqApiKey": {
            "title": "Groq API Key (Optional BYOK)",
            "type": "string",
            "description": "Optional Groq API key for sub-second Whisper Large-v3-Turbo transcription. Leave blank to use the built-in local faster-whisper engine at $0 external API cost."
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional Apify Proxy configuration. On Apify Cloud, non-CAPTCHA HTTP 429 metadata blocks trigger bounded Datacenter retries automatically.",
            "default": {
              "useApifyProxy": false
            }
          },
          "maxTotalChargeUsd": {
            "title": "Max Total Charge (USD)",
            "minimum": 0,
            "type": "number",
            "description": "Optional hard PPE spending cap for this run in USD. Stops charging and pushing additional speech Reels once reached."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}