{
  "openapi": "3.0.1",
  "info": {
    "title": "Instagram Reel Transcript Scraper (AI Whisper, Word Timestamps)",
    "description": "Return AI transcripts of public Instagram reels and posts as typed JSON: transcript, detected language, word-level timestamps, sentence segments, SRT and VTT subtitles, caption, hashtags, owner, likes, views and comments. No login and no account cookies; a typed schema validates every result.",
    "version": "0.1",
    "x-build-id": "WNTNdcahWIC9PUbks"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadfetch~instagram-reel-transcript-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadfetch-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/steadfetch~instagram-reel-transcript-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadfetch-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/steadfetch~instagram-reel-transcript-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadfetch-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": {
          "instagramUrl": {
            "title": "Instagram URL",
            "type": "string",
            "description": "One public Instagram reel or post URL to transcribe, e.g. https://www.instagram.com/reel/<code>/ or https://www.instagram.com/p/<code>/. Leave empty when you use bulkUrls or channelUsername."
          },
          "bulkUrls": {
            "title": "Bulk URLs",
            "type": "array",
            "description": "List of public Instagram reel/post URLs (strings or objects with a `url` field) to transcribe in this run. Share links (instagram.com/share/…) are followed to their public post.",
            "items": {
              "type": "string"
            }
          },
          "channelUsername": {
            "title": "Channel username",
            "type": "string",
            "description": "Public Instagram profile username (with or without @). When set, the Actor transcribes that profile's public reels, capped by reelCount so a run never silently transcribes a whole profile."
          },
          "reelCount": {
            "title": "Reel count (channel mode)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of the profile's public reels processed in one run (channel mode). Default 12, hard-capped at 100 so costs stay predictable.",
            "default": 12
          },
          "onlyPostsNewerThan": {
            "title": "Only posts newer than",
            "type": "string",
            "description": "Optional ISO date (e.g. 2026-11-01). In channel mode, only reels posted after this date are processed."
          },
          "wordLevelTimestamps": {
            "title": "Word-level timestamps",
            "type": "boolean",
            "description": "Return per-word start/end times in the `words` field (and sentence-level `segments`). Turn off for slightly faster transcription.",
            "default": true
          },
          "asrModel": {
            "title": "Whisper model",
            "enum": [
              "tiny",
              "base"
            ],
            "type": "string",
            "description": "Speech recognition model: 'base' (default, better quality) or 'tiny' (faster, cheaper compute). Both run on CPU inside the Actor.",
            "default": "base"
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Whisper language code (ISO 639-1, e.g. 'en', 'es', 'de'). Omit to auto-detect the spoken language of each reel."
          },
          "maxVideoDurationSeconds": {
            "title": "Max video duration (seconds)",
            "minimum": 10,
            "maximum": 1800,
            "type": "integer",
            "description": "Cost guard: reels longer than this are returned with metadata only (status 'too_long') and are not transcribed. Default 600 s.",
            "default": 600
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum number of results pushed to the dataset in one run (each reel/post is one result).",
            "default": 100
          },
          "includeMetadataOnly": {
            "title": "Include metadata-only results",
            "type": "boolean",
            "description": "Also return a result (metadata + status and reason, no transcript) for reels without speech, image posts, too-long videos or unavailable content. When false those are skipped and not charged.",
            "default": true
          },
          "subtitleFormat": {
            "title": "Subtitle format",
            "enum": [
              "both",
              "srt",
              "vtt",
              "none"
            ],
            "type": "string",
            "description": "Subtitles saved to the run's key-value store and referenced by srtKey/vttKey: 'both' (default), 'srt', 'vtt' or 'none'.",
            "default": "both"
          },
          "strictSchema": {
            "title": "Strict output schema",
            "type": "boolean",
            "description": "Fail the run when an item does not match the OUTPUT schema. Keep enabled: Steadfetch never publishes Actors without output-schema validation.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional Apify proxy settings used to fetch Instagram's public pages and (only as a fallback) the video file. The metadata page is a few hundred kB per reel; the video download goes to Instagram's CDN directly unless that fails."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}